java.lang.ArrayIndexOutOfBoundsException-Exception

Once it's running
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
AnonymesEinhorn
Posts:1
Joined:10 Apr 2017 13:03
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
java.lang.ArrayIndexOutOfBoundsException-Exception

Post by AnonymesEinhorn » 10 Apr 2017 13:22

Hey,
I have trouble opening a certain gephi project. The program opens, but not the specific data from the project.
The symbol in the lower right corner says "java.lang.ArrayIndexOutOfBoundsException-Exception" occurred. I have posted the full report below.
Opening other gephi projects works fine, the error must be related to this specific project. I have no clue what it is.

Many thanks in advance!
Best


java.lang.ArrayIndexOutOfBoundsException: 1
at org.gephi.filters.FilterModelPersistenceProvider.readQuery(FilterModelPersistenceProvider.java:293)
at org.gephi.filters.FilterModelPersistenceProvider.readXML(FilterModelPersistenceProvider.java:202)
at org.gephi.filters.FilterModelPersistenceProvider.readXML(FilterModelPersistenceProvider.java:90)
at org.gephi.project.io.LoadTask.readWorkspaceChildrenXML(LoadTask.java:297)
at org.gephi.project.io.LoadTask.run(LoadTask.java:127)
at org.gephi.desktop.project.ProjectControllerUIImpl$6.run(ProjectControllerUIImpl.java:297)
[catch] at org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:274)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

User avatar
eduramiba
Gephi Code Manager
Posts:1064
Joined:22 Mar 2010 15:30
Location:Madrid, Spain
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: java.lang.ArrayIndexOutOfBoundsException-Exception

Post by eduramiba » 10 Apr 2017 22:06

Hi,
This must be a bug in the reader. Can you attach your file for reproducing it?

kindahl
Posts:10
Joined:29 Mar 2017 13:22
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: java.lang.ArrayIndexOutOfBoundsException-Exception

Post by kindahl » 12 Apr 2017 21:53

Having the same issue...

I think it's a problem with Sierra on Mac... I seem to have this issue too at the same time: https://bugs.launchpad.net/gephi/+bug/628900
My Java is up to date... I have the same parameters as I did in El Capitan which worked fine... any thoughts?

Code: Select all

java.lang.ArrayIndexOutOfBoundsException: 1
	at org.gephi.filters.FilterModelPersistenceProvider.readQuery(FilterModelPersistenceProvider.java:293)
	at org.gephi.filters.FilterModelPersistenceProvider.readXML(FilterModelPersistenceProvider.java:202)
	at org.gephi.filters.FilterModelPersistenceProvider.readXML(FilterModelPersistenceProvider.java:90)
	at org.gephi.project.io.LoadTask.readWorkspaceChildrenXML(LoadTask.java:297)
	at org.gephi.project.io.LoadTask.run(LoadTask.java:127)
	at org.gephi.desktop.project.ProjectControllerUIImpl$6.run(ProjectControllerUIImpl.java:297)
[catch] at org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:274)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Btw to work around this I keep creating new files, but clearly that's not a practical solution... as soon as I stop a process or cancel something, save, close, and reopen this issue occurs...

kindahl
Posts:10
Joined:29 Mar 2017 13:22
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: java.lang.ArrayIndexOutOfBoundsException-Exception

Post by kindahl » 12 Apr 2017 21:55

What I meant is that the issue co-occurs with the hang ups...
I do get the error when reopening a certain graph file after having saved and closed it

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable