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 72212 - UI display errors - possible CVS dump
Summary: UI display errors - possible CVS dump
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 5.x
Hardware: All Linux
: P1 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords: RANDOM
: 88914 103923 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-03 13:17 UTC by takisd
Modified: 2007-07-26 15:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description takisd 2006-02-03 13:17:58 UTC
Hi

i just installed nb5 and tried it for the first time. i received a
NullPointerException on the first startup. after that i moved around a little to
get comfy in the new one. beginning to do work i opened my first project and the
tree refused to expand, then it did, then another didn't etc... in a matter of
seconds the projects view was effectively useless. i took a screen dump and you
can see the end result at http://www.executequery.org/temp/nb5-dump.png.

i have tried restarting nb5 a number of times - same result.

thats one of the worst ones, it sort of moved between the screen you see and all
the tree nodes i tried opening not actually opening but appearing expanded (hope
that makes sense).

the dump itself in the error dialog suggests an issue with the cvs module and i
have it pasted at the bottom.
wasn't sure if you wanted the log file so i put that at:
http://www.executequery.org/temp/messages.log

back to 4.1 now...

Takis


java.lang.NullPointerException
	at
org.netbeans.modules.versioning.system.cvss.ui.syncview.SynchronizePanel.affectsView(SynchronizePanel.java:429)
	at
org.netbeans.modules.versioning.system.cvss.ui.syncview.SynchronizePanel.versioningEvent(SynchronizePanel.java:404)
	at
org.netbeans.modules.versioning.util.ListenersSupport.fireVersioningEvent(ListenersSupport.java:59)
	at
org.netbeans.modules.versioning.util.ListenersSupport.fireVersioningEvent(ListenersSupport.java:53)
	at
org.netbeans.modules.versioning.system.cvss.FileStatusCache.fireFileStatusChanged(FileStatusCache.java:647)
	at
org.netbeans.modules.versioning.system.cvss.FileStatusCache.getScannedFiles(FileStatusCache.java:396)
	at
org.netbeans.modules.versioning.system.cvss.FileStatusCache.getStatus(FileStatusCache.java:189)
	at
org.netbeans.modules.versioning.system.cvss.Annotator.annotateNameHtml(Annotator.java:311)
	at
org.netbeans.modules.versioning.system.cvss.FileStatusProvider.annotateNameHtml(FileStatusProvider.java:58)
	at
org.netbeans.modules.masterfs.MasterFileSystem$StatusImpl.annotateNameHtml(MasterFileSystem.java:462)
	at org.openide.loaders.DataNode.getHtmlDisplayName(DataNode.java:228)
	at org.openide.nodes.FilterNode.getHtmlDisplayName(FilterNode.java:720)
	at
org.openide.explorer.view.VisualizerNode.getHtmlDisplayName(VisualizerNode.java:512)
	at
org.openide.explorer.view.NodeRenderer.getTreeCellRendererComponent(NodeRenderer.java:100)
	at
javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2693)
	at
javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
	at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342)
	at
javax.swing.tree.VariableHeightLayoutCache.createNodeAt(VariableHeightLayoutCache.java:764)
	at
javax.swing.tree.VariableHeightLayoutCache.treeNodesInserted(VariableHeightLayoutCache.java:473)
	at
javax.swing.plaf.basic.BasicTreeUI$Handler.treeNodesInserted(BasicTreeUI.java:3678)
	at
javax.swing.tree.DefaultTreeModel.fireTreeNodesInserted(DefaultTreeModel.java:497)
	at javax.swing.tree.DefaultTreeModel.nodesWereInserted(DefaultTreeModel.java:294)
	at org.openide.explorer.view.NodeTreeModel$Listener.added(NodeTreeModel.java:146)
	at org.openide.explorer.view.VisualizerChildren.added(VisualizerChildren.java:74)
	at org.openide.explorer.view.VisualizerEvent$Added.run(VisualizerEvent.java:81)
	at org.openide.util.Mutex.readAccess(Mutex.java:287)
[catch] at org.openide.explorer.view.VisualizerNode$QP.run(VisualizerNode.java:639)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 takisd 2006-02-08 07:36:39 UTC
Hi

i decided to NOT migrate my settings from 4.1 and try again.

i recreated the project and cvs source etc and it seems to work now.
That of course suggests the problem was in the migration from 4.1 and not so
much the new cvs components in 5.0.

one of the issues that came up with the migration was the toolbar. i used to
have the cvs toolbar in 4.1 and it doesn't seem to exist anymore in 5.0 (why?? i
found it very useful). anyway, an empty toolbar was displayed (just the metal
bumps - no buttons) in 5.0 and was one of the initial issues.

i'm not sure what the expectation was of users migrating ALL their settings from
4.1 including cvs, but it unfortunately failed. i hope this issue isn't ignored
anyway since its a migration issue from previous versions - typical thing thats
not acted on.

anyway, all good now... mind you not a huge fan of rebuilding all my settings etc...

thanks

Takis
 
Comment 2 Martin Entlicher 2006-02-09 14:29:28 UTC
This is about the new CVS support => javacvs.
Comment 3 Peter Pis 2006-02-23 17:08:31 UTC
Takis, toolbar issue is already reported: #58523. 
Comment 4 _ pkuzel 2006-03-01 11:41:34 UTC
RANDOM NPE fixed.

Checking in SynchronizePanel.java;
/cvs/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/syncview/SynchronizePanel.java,v
 <--  SynchronizePanel.java
new revision: 1.31; previous revision: 1.30
done
Comment 5 Maros Sandor 2006-11-21 16:58:20 UTC
*** Issue 88914 has been marked as a duplicate of this issue. ***
Comment 6 Maros Sandor 2007-07-26 15:45:31 UTC
*** Issue 103923 has been marked as a duplicate of this issue. ***