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 36544 - NPE on F9
Summary: NPE on F9
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-11 08:03 UTC by andrew
Modified: 2003-12-11 14:27 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 andrew 2003-10-11 08:03:49 UTC
After last commit to vcs this NPE takes place after
each F9, files stauses don't update after saving
files before compiling:

Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
        at org.netbeans.modules.vcscore.caching.
VcsFSCache.setFileStatus(VcsFSCache.java:216)
        at org.netbeans.modules.vcscore.caching.
VcsFSCache.setFileModified(VcsFSCache.java:175)
        at org.netbeans.modules.vcscore.
VcsFileSystem$15.run(VcsFileSystem.java:3922)
        at org.openide.util.Task.run(Task.java:136)
        at org.openide.util.RequestProcessor$Task.
run(RequestProcessor.java:330)
[catch] at org.openide.util.
RequestProcessor$Processor.run(RequestProcessor.java:
677)
Comment 1 Martin Entlicher 2003-10-13 09:51:49 UTC
This looks serious, starting to work on it...
Comment 2 Martin Entlicher 2003-10-13 10:02:10 UTC
This is a regression caused by the fix of issue #29465.
I didn't encounter this problem, because I've test it with the new CVS
profiles where additional variables were defined.
However it needs to work with the old profiles as well.

I'll fix it ASAP...
Comment 3 Martin Entlicher 2003-10-13 10:29:45 UTC
Fixed in the main trunk and prj40_prototype branch.

Thanks for your fast report Andrew!

Checking in VcsFSCache.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/caching/VcsFSCache.java,v 
<--  VcsFSCache.java
new revision: 1.41; previous revision: 1.40

Checking in VcsFSCache.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/caching/VcsFSCache.java,v 
<--  VcsFSCache.java
new revision: 1.33.4.3; previous revision: 1.33.4.2
Comment 4 andrew 2003-10-13 14:30:32 UTC
Verified.
Martin, thanks!