-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting null pointer error when trying to calculate modularity #1419
Comments
This occurrs when there are parallel (duplicated) edges in the network, which is now possible in Gephi since 0.9.0 |
@eduramiba Version 0.9.1 still doesn't work. |
Hi @naco-siren this fix is not available in 0.9.1 yet. You can try it in latest 0.9.2 nightly build https://github.com/gephi/gephi#nightly-builds |
@eduramiba Love you >_< |
I get the same error in 0.9.1 when using the tookit (from a Java program, not the UI). |
The modularity doesn't work in tookit 0.9.2-SNAPSHOT either. It is getting stuck in an infinite while loop. |
Hi, the lastest toolkit nightly build is prior to this fix. I just started a new build to refresh it. https://travis-ci.org/gephi/gephi-toolkit/builds/109715048 |
…dularity Fix gephi#713 Modularity Calculation Throws Exception On Empty Graph
…dularity Fix gephi#713 Modularity Calculation Throws Exception On Empty Graph
getting the following error
java.lang.NullPointerException
at org.gephi.statistics.plugin.Modularity$CommunityStructure.removeNodeFrom(Modularity.java:289)
at org.gephi.statistics.plugin.Modularity$CommunityStructure.moveNodeTo(Modularity.java:342)
at org.gephi.statistics.plugin.Modularity$CommunityStructure.access$300(Modularity.java:127)
at org.gephi.statistics.plugin.Modularity.computeModularity(Modularity.java:507)
at org.gephi.statistics.plugin.Modularity.execute(Modularity.java:467)
at org.gephi.statistics.plugin.Modularity.execute(Modularity.java:456)
at org.gephi.statistics.StatisticsControllerImpl.execute(StatisticsControllerImpl.java:162)
at org.gephi.statistics.StatisticsControllerImpl$3.run(StatisticsControllerImpl.java:149)
[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)
The text was updated successfully, but these errors were encountered: