Plugin broken at version 1.206
I have just updated the plugin and Netbeans reports Exceptions repeatedly.
The issue is #183582
When disabling the plugin, Netbeans stops reporting Exceptions.
Version: 1.206
Source: NBAndroid
java.lang.NullPointerException
at org.netbeans.modules.android.project.queries.ClassPathProviderImpl.fillLibraryProjects(ClassPathProviderImpl.java:151)
at org.netbeans.modules.android.project.queries.ClassPathProviderImpl.getAllLibraryProjects(ClassPathProviderImpl.java:140)
at org.netbeans.modules.android.project.queries.ClassPathProviderImpl.access$000(ClassPathProviderImpl.java:59)
at org.netbeans.modules.android.project.queries.ClassPathProviderImpl$CompilePathResources.getRoots(ClassPathProviderImpl.java:174)
at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:358)
at org.netbeans.modules.parsing.impl.indexing.PathRegistry.createResources(PathRegistry.java:657)
at org.netbeans.modules.parsing.impl.indexing.PathRegistry.getSources(PathRegistry.java:265)
at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:4530)
[catch] at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3236)
at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:5689)
at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4900(RepositoryUpdater.java:5355)
at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$3$1.run(RepositoryUpdater.java:5614)
at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:96)
at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$3.call(RepositoryUpdater.java:5610)
at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$3.call(RepositoryUpdater.java:5606)
at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:74)
at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:5606)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
Comments (4)
-
-
reporter Thanks.
nbandroid-13-11-29-215928 is OK -
- changed status to resolved
should be fixed in 1.208 though I do not understand why the previous version worked while 1.206 was broken.
The problem is related to unloadable project referenced as a library project. You can look into log file to see which library project is broken. Is it possible that your library project has build.gradle in its project directory?
-
reporter Yes, one project had some gradle files, but before posting this issue here, i removed all of them, updated the main project with "--subprojects" option, and restarted Netbeans to get rid of any "netbeans project cache"... but exceptions persisted...
Now (in another pc) i have updated from 1.204 to 1.208 and i can confirm that everythig is working as expected.
Thanks Radim!
- Log in to comment
I'll fix this soon. Meanwhile it should be possible to uninstall the plugin, grab an older version from http://nbandroid.org/downloads/ and install from downloaded archive.