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.
Summary: | NPE from SourceElementImpl.getClass during commit validation | ||
---|---|---|---|
Product: | java | Reporter: | Jesse Glick <jglick> |
Component: | Unsupported | Assignee: | Martin Matula <mmatula> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | REGRESSION, TEST |
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Stack trace
New stack trace The details |
Description
Jesse Glick
2004-10-29 17:58:34 UTC
Created attachment 18607 [details]
Stack trace
Note that test passes despite the exception. I guess that was from SourceElementImpl.java 1.34. Now I am getting a real commit validation failure from 1.35. Created attachment 18609 [details]
New stack trace
Created attachment 18611 [details]
The details
I will change ValidateLayerConsistencyTest to skip the VCS *.class files, since they are not really intended for browsing anyway, but this bug still remains valid for anyone looking at *.class files in funny places. committed Up-To-Date 1.11 core/test/unit/src/org/netbeans/core/projects/ValidateLayerConsistencyTest.java Fixed. Checking in src/org/netbeans/modules/clazz/SourceElementImpl.java; /cvs/clazz/src/org/netbeans/modules/clazz/SourceElementImpl.java,v <-- SourceElementImpl.java new revision: 1.36; previous revision: 1.35 done You may want to revert rev. 1.11 of ValidateLayerConsistencyTest just to be sure. I ran the commit validation with rev. 1.10 of ValidateLayerConsistencyTest.java and all tests passed. So, I reverted the test: committed Up-To-Date 1.12 core/test/unit/src/org/netbeans/core/projects/ValidateLayerConsistencyTest.java |