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 on creating 1.4 project with 'Do not Append Library' option selected On Tomcat 6 | ||
---|---|---|---|
Product: | obsolete | Reporter: | Yousuf Haider <yousufh> |
Component: | visualweb | Assignee: | _ deva <deva> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | potingwu |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | NPE |
Description
Yousuf Haider
2007-06-19 17:10:24 UTC
Created attachment 43983 [details]
NPE
*** Issue 107138 has been marked as a duplicate of this issue. *** Deva, this is happening because in the given scenario the project does not have the required libraries. Therefore there is a import error in the newly created .java file of the first page itself. As a result addXRefAccessors() thows an NPE. I know we removed the ensureXrefAccessor() stuff and replaced it with addXRefAccessors(), however in such scenarios we have two choices. We do addXRefAccessors() only for the first creation. Howevere we may have to delay it till we are able to do addXRefAccessors() once on a error free .java file. What do you think? Also I partly consider this a user error and also an unlikely scenario. In recent builds, we see a different exception(seems to be same as #110005/#109684) when we try to reproduce this problem. Will look into it once the blocking issue is resolved Trying to insert code when the model is busted was resulting in NPE /cvs/visualweb/insync/src/org/netbeans/modules/visualweb/insync/models/FacesModelSet.java,v <-- FacesModelSet.java new revision: 1.17; previous revision: 1.16 Updating the bug status Verified fix on build : 200708011200 |