[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •java.lang.ArrayIndexOutOfBoundsException-Exception
Page 1 of 1

java.lang.ArrayIndexOutOfBoundsException-Exception

Posted: 10 Apr 2017 13:22
by AnonymesEinhorn
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)

Re: java.lang.ArrayIndexOutOfBoundsException-Exception

Posted: 10 Apr 2017 22:06
by eduramiba
Hi,
This must be a bug in the reader. Can you attach your file for reproducing it?

Re: java.lang.ArrayIndexOutOfBoundsException-Exception

Posted: 12 Apr 2017 21:53
by kindahl
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...

Re: java.lang.ArrayIndexOutOfBoundsException-Exception

Posted: 12 Apr 2017 21:55
by kindahl
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