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 18152 - Neverending NPE
Summary: Neverending NPE
Status: CLOSED DUPLICATE of bug 18067
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-28 15:02 UTC by Jaroslav Tulach
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 Jaroslav Tulach 2001-11-28 15:02:34 UTC
I switched projects few times (all contained some JavaCVS fs) and after a  while
I got to a state when I receive following exception again, again and again.
Build 2001 1127 2300

Wed Nov 28 15:58:14 CET 2001: java.lang.NullPointerException: Posted StackTrace
Annotation: Exception occurred in Request Processor
org.openide.util.RequestProcessor$Holder: Posted StackTrace(task
org.openide.filesystems.RefreshRequest@100be1 [149993, 1, 35735])
        at
org.openide.util.RequestProcessor$Holder.fillInStackTrace(RequestProcessor.java:300)
        at java.lang.Throwable.<init>(Throwable.java:90)
        at java.lang.Exception.<init>(Exception.java:38)
        at
org.openide.util.RequestProcessor$Holder.<init>(RequestProcessor.java:280)
        at
org.openide.util.RequestProcessor$Task.createHolder(RequestProcessor.java:333)
        at
org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java:357)
        at org.openide.filesystems.RefreshRequest.run(RefreshRequest.java:116)
        at org.openide.util.Task.run(Task.java:152)
[catch] at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:622)
 
Wed Nov 28 15:58:14 CET 2001: java.lang.NullPointerException: <no message>
java.lang.NullPointerException
        at
org.netbeans.modules.cvsclient.versioning.JavaCvsVersioningSystem$JCvsVersAttributes.readAttribute(JavaCvsVersioningSystem.java:829)
        at
org.openide.filesystems.AbstractFileObject.getAttribute(AbstractFileObject.java:251)
        at
org.openide.filesystems.AbstractFileObject.getAttribute(AbstractFileObject.java:246)
        at
org.openide.loaders.DataLoaderPool.getPreferredLoader(DataLoaderPool.java:424)
        at
org.openide.loaders.DataLoaderPool.setPreferredLoader(DataLoaderPool.java:385)
        at
org.netbeans.modules.vcscore.versioning.VersioningFileSystem.createReference(VersioningFileSystem.java:206)
        at
org.openide.filesystems.AbstractFileObject.createReference(AbstractFileObject.java:292)
        at
org.openide.filesystems.AbstractFolder.getChild(AbstractFolder.java:330)
        at
org.openide.filesystems.AbstractFolder.refreshFolder(AbstractFolder.java:730)
        at
org.openide.filesystems.AbstractFolder.refresh(AbstractFolder.java:810)
        at
org.openide.filesystems.AbstractFileObject.refresh(AbstractFileObject.java:683)
        at
org.openide.filesystems.AbstractFileObject.refresh(AbstractFileObject.java:664)
        at
org.openide.filesystems.AbstractFolder.refresh(AbstractFolder.java:430)
        at org.openide.filesystems.FileObject.refresh(FileObject.java:558)
        at
org.netbeans.modules.cvsclient.NbJavaCvsFileSystem$NbListImpl.children(NbJavaCvsFileSystem.java:480)
        at
org.openide.filesystems.DefaultAttributes.children(DefaultAttributes.java:146)
        at
org.openide.filesystems.AbstractFileObject.list(AbstractFileObject.java:77)
        at
org.openide.filesystems.AbstractFolder.refreshFolder(AbstractFolder.java:649)
        at
org.openide.filesystems.AbstractFolder.refresh(AbstractFolder.java:810)
        at
org.openide.filesystems.AbstractFileObject.refresh(AbstractFileObject.java:683)
        at
org.openide.filesystems.AbstractFileObject.refresh(AbstractFileObject.java:664)
        at
org.openide.filesystems.AbstractFolder.refresh(AbstractFolder.java:430)
        at org.openide.filesystems.FileObject.refresh(FileObject.java:558)
        at
org.openide.filesystems.RefreshRequest.doLoop(RefreshRequest.java:136)
        at org.openide.filesystems.RefreshRequest.run(RefreshRequest.java:105)
        at org.openide.util.Task.run(Task.java:152)
[catch] at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:622)
Comment 1 Jiri Kovalsky 2001-11-28 15:37:57 UTC
I think this is duplicate of issue #18067. Am I right Milos ? Please 
verify if true :-)

*** This issue has been marked as a duplicate of 18067 ***
Comment 2 Milos Kleint 2001-11-28 16:15:42 UTC
It smells like it. Please try to use today's (or later) dev build.

Jirka I wonder if the problem shouldn't be added to the list of 330
bugs. Can you please try a 330 build and let me know if that happens?
I think thins situation might be quite common once a filesystem is
unmounted (happens frequently when switching projects).
Comment 3 Jiri Kovalsky 2001-11-28 16:33:24 UTC
Okay, I will take a look tomorrow. I agree with you that this deserves
bug fix in release330 branch if I see it often. It is pretty annoying.
Comment 4 Quality Engineering 2003-07-01 12:50:09 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.