This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 255780 - NullPointerException at org.netbeans.modules.versioning.core.DelegatingVCS.getTopmostManagedAncestor
Summary: NullPointerException at org.netbeans.modules.versioning.core.DelegatingVCS.ge...
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: Netigso (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-07 16:07 UTC by emiddio
Modified: 2015-10-30 14:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 220419


Attachments
stacktrace (1.29 KB, text/plain)
2015-10-07 16:07 UTC, emiddio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emiddio 2015-10-07 16:07:16 UTC
This bug was originally marked as duplicate of bug 250888, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 RC (Build 201510012201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 7

User Comments:
emiddio: first startup




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.versioning.core.DelegatingVCS.getTopmostManagedAncestor(DelegatingVCS.java:187)
   at org.netbeans.modules.versioning.core.VersioningManager.getOwner(VersioningManager.java:452)
   at org.netbeans.modules.versioning.core.VersioningAnnotationProvider.getOwner(VersioningAnnotationProvider.java:96)
   at org.netbeans.modules.versioning.core.VersioningAnnotationProvider.access$1200(VersioningAnnotationProvider.java:78)
   at org.netbeans.modules.versioning.core.VersioningAnnotationProvider$Cache.getCommonOwner(VersioningAnnotationProvider.java:773)
   at org.netbeans.modules.versioning.core.VersioningAnnotationProvider$Cache.annotate(VersioningAnnotationProvider.java:677)
Comment 1 emiddio 2015-10-07 16:07:18 UTC
Created attachment 156596 [details]
stacktrace
Comment 2 Ondrej Vrabec 2015-10-08 06:34:56 UTC
Something wrong with OSGi, there are plenty of errors coming from netigso and it looks as if practically no OSGi module can be loaded:
SEVERE [org.openide.util.Exceptions]
java.lang.IllegalArgumentException: Would also need to enable StandardModule:org.apache.tools.ant.module jarFile: C:\Program Files\NetBeans 8.1 RC\extide\modules\org-apache-tools-ant-module.jar
	at org.netbeans.ModuleManager.enable(ModuleManager.java:1185)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:1132)
[catch] at org.netbeans.NetigsoLoader.getDelegate(NetigsoLoader.java:116)
	at org.netbeans.NetigsoLoader.getDelegate(NetigsoLoader.java:102)
	at org.netbeans.NetigsoLoader.loadClass(NetigsoLoader.java:78)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)

emidio, please can you try start NB once more with completely cleaning the userdir/cachedir? Also try not to import anything during the first startup.
Comment 3 Tomas Hurka 2015-10-30 14:33:32 UTC
The messages.log contains a lot of strange exceptions. It is not clear, what happened. Can you please provide steps how to reproduce it? Thanks.