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 106726 - NullPointerExceptions constantly thrown from subversion module
Summary: NullPointerExceptions constantly thrown from subversion module
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 5.x
Hardware: All Linux
: P1 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-14 23:15 UTC by takisd
Modified: 2007-06-15 14:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file (186.12 KB, application/octet-stream)
2007-06-14 23:15 UTC, takisd
Details
log file (271.30 KB, application/octet-stream)
2007-06-14 23:16 UTC, takisd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description takisd 2007-06-14 23:15:22 UTC
Issues actually started apperaing when i upgraded from v5.5 to 5.5.1 with my existing subversion projects. i had a
similar issue pop up from the last version transition (5->5.5). This one is not quite as severe but a barrier
nonetheless. If i save a modification to a file (though not all the time) a NullPointerException is thrown (stack
below). Also, the file colouring on the project nav window does not seem to be working. the tabs themselves colour
correctly, but the nav does not. overall, another upgrade from one version to another where the subversion module has
dumped.

java.lang.NullPointerException
	at org.netbeans.modules.subversion.ui.status.VersioningPanel.affectsView(VersioningPanel.java:421)
	at org.netbeans.modules.subversion.ui.status.VersioningPanel.versioningEvent(VersioningPanel.java:407)
	at org.netbeans.modules.versioning.util.ListenersSupport.fireVersioningEvent(ListenersSupport.java:65)
	at org.netbeans.modules.versioning.util.ListenersSupport.fireVersioningEvent(ListenersSupport.java:59)
	at org.netbeans.modules.subversion.FileStatusCache.fireFileStatusChanged(FileStatusCache.java:741)
	at org.netbeans.modules.subversion.FileStatusCache.refresh(FileStatusCache.java:321)
	at org.netbeans.modules.subversion.FileStatusCache.refreshCached(FileStatusCache.java:381)
	at org.netbeans.modules.subversion.FilesystemHandler$FileChangedTask.run(FilesystemHandler.java:570)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 takisd 2007-06-14 23:15:56 UTC
Created attachment 43742 [details]
log file
Comment 2 takisd 2007-06-14 23:16:23 UTC
Created attachment 43743 [details]
log file
Comment 3 Tomas Stupka 2007-06-15 14:40:27 UTC
the versioning window seems to have a null context for some reason. There was (almost) no code changed between 5.5 to
5.5.1 in the subversion module, so it's quite hard to say where this comes from. could be a deserialization problem,
maybe...

however, for a workaround try to invoke show changes on some node in the project view

fixed in 6.0

Checking in VersioningPanel.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/ui/status/VersioningPanel.java,v  <--  VersioningPanel.java
new revision: 1.37; previous revision: 1.36
done




Comment 4 Tomas Stupka 2007-06-15 14:41:57 UTC
fixed