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 10084 - [Dev140] No action or NoSuchElementException in File-Mount Filesystem menu
Summary: [Dev140] No action or NoSuchElementException in File-Mount Filesystem menu
Status: CLOSED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-08 13:25 UTC by navneet
Modified: 2007-01-04 17:14 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 navneet 2001-03-08 13:25:08 UTC
Hello,

Here is the scenario:
1. Create a new Project using the Project Manager
2. Go to the FileSystem tab
3. Select the File-Mount FileSystem menu
4. Select the Other Radio button and select JavaCVS in that
5. Click OK

I have observed two different kinds of behaviour here.

1. It throws a NoSuchElementException
Thu Mar 08 18:41:42 GMT+05:30 2001java.util.NoSuchElementException: null
java.util.NoSuchElementException
        at java.util.LinkedList$ListItr.next(LinkedList.java:478)
        at org.openide.explorer.view.VisualizerChildren.added
(VisualizerChildren.java:63)
        at org.openide.explorer.view.VisualizerEvent$Added.run
(VisualizerEvent.java:83)
        at org.openide.explorer.view.VisualizerNode$QP.run
(VisualizerNode.java:442)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:317)
        at java.awt.EventDispatchThread.pumpOneEvent
(EventDispatchThread.java:103)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)

2. It does nothing. Not even mounts the filesystem or launch a wizard

I had got the first behaviour couple of times followed by the second one.But 
after a restart I have only been getting the second one.

I tried deleting all the directories in the directory where netbeans stores my 
user profile to simulate the new startup behaviour. In this case, I got a null 
pointer exception.

Thu Mar 08 18:58:15 GMT+05:30 2001java.lang.NullPointerException: null
java.lang.NullPointerException
        at 
org.netbeans.modules.cvsclient.JavaCvsFileSystem$MyStatus.annotateName
(JavaCvsFileSystem.java:549)
        at org.openide.loaders.DataNode.getDisplayName(DataNode.java:146)
        at org.openide.explorer.view.VisualizerNode.<init>
(VisualizerNode.java:126)
        at org.openide.explorer.view.VisualizerNode.getVisualizer
(VisualizerNode.java:69)
        at org.openide.explorer.view.VisualizerChildren.added
(VisualizerChildren.java:65)
        at org.openide.explorer.view.VisualizerEvent$Added.run
(VisualizerEvent.java:83)
        at org.openide.explorer.view.VisualizerNode$QP.run
(VisualizerNode.java:442)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:317)
        at java.awt.EventDispatchThread.pumpOneEvent
(EventDispatchThread.java:103)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Comment 1 Milos Kleint 2001-03-08 19:07:46 UTC
I'll fix that ASAP.
Comment 2 Jan Chalupa 2001-03-12 10:48:54 UTC
Version: 'Dev' -> 3.2
Comment 3 Milos Kleint 2001-03-12 12:45:55 UTC
fixed in both release32 and dev build (dev 142).

The workingDir property has now initial value of "user.home".
Before the fix the value was null, until the user changed that. Since Navneet 
didn't set it, it caused problems.. Should not happen again. 
Comment 4 dmladek 2001-06-18 13:17:02 UTC
on [NBdev-211]
Comment 5 navneet 2001-07-11 12:08:20 UTC
Works great now. Always shows the right wizard.