Save a query make the whole project bug

Extensions and customization
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
GuillaumeVGeo
Posts:6
Joined:03 Nov 2017 14:17
[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
Save a query make the whole project bug

Post by GuillaumeVGeo » 04 Dec 2017 10:19

Hi there,

I save a query in the Filter window, and then I can't open the gephi file anymore ("NullPointerException").

Gephi 0.9.2
Windows 8

Here the report :

java.lang.NullPointerException
at org.gephi.filters.FilterModelPersistenceProvider.readQuery(FilterModelPersistenceProvider.java:291)
at org.gephi.filters.FilterModelPersistenceProvider.readXML(FilterModelPersistenceProvider.java:196)
at org.gephi.filters.FilterModelPersistenceProvider.readXML(FilterModelPersistenceProvider.java:88)
at org.gephi.project.io.LoadTask.readWorkspaceChildrenXML(LoadTask.java:298)
at org.gephi.project.io.LoadTask.run(LoadTask.java:128)
Caused: org.gephi.project.io.GephiFormatException: Gephi failed importing the project.

Exception: NullPointerException : null
File: org.gephi.filters.FilterModelPersistenceProvider
Line : 291
at org.gephi.project.io.LoadTask.run(LoadTask.java:173)
at org.gephi.desktop.project.ProjectControllerUIImpl$7.run(ProjectControllerUIImpl.java:341)
[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: Save a query make the whole project bug

Post by eduramiba » 04 Dec 2017 10:39

Did you install latest updates? (Help - Check for udpates). I think this was fixed in https://github.com/gephi/gephi/issues/1788

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