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 46999 - NPE when creating new project
Summary: NPE when creating new project
Status: CLOSED DUPLICATE of bug 50198
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-09 03:38 UTC by _ gtzabari
Modified: 2006-03-24 10:32 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 _ gtzabari 2004-08-09 03:38:12 UTC
dev build 200407270649

java.lang.NullPointerException
	at
org.apache.xerces.dom.ParentNode.nodeListItem(Unknown
Source)
	at org.apache.xerces.dom.ParentNode.item(Unknown
Source)
	at
org.netbeans.modules.project.ant.Util.findElement(Util.java:49)
	at
org.netbeans.spi.project.support.ant.AntProjectHelper.getConfigurationDataRoot(AntProjectHelper.java:278)
	at
org.netbeans.spi.project.support.ant.AntProjectHelper.getConfigurationFragment(AntProjectHelper.java:578)
	at
org.netbeans.spi.project.support.ant.AntProjectHelper.getPrimaryConfigurationData(AntProjectHelper.java:502)
	at
org.netbeans.modules.java.j2seproject.J2SEProject$2.run(J2SEProject.java:238)
	at org.openide.util.Mutex.readAccess(Mutex.java:169)
	at
org.netbeans.modules.java.j2seproject.J2SEProject.getName(J2SEProject.java:236)
	at
org.netbeans.modules.java.j2seproject.J2SEProject$Info.getDisplayName(J2SEProject.java:295)
	at
org.netbeans.modules.java.j2seproject.ui.J2SEPhysicalViewProvider$J2SELogicalViewRootNode.<init>(J2SEPhysicalViewProvider.java:171)
	at
org.netbeans.modules.java.j2seproject.ui.J2SEPhysicalViewProvider.createLogicalView(J2SEPhysicalViewProvider.java:102)
	at
org.netbeans.modules.project.ui.ProjectsRootNode$ProjectChildren.createNodes(ProjectsRootNode.java:218)
	at
org.openide.nodes.Children$Keys$KE.nodes(Children.java:1986)
	at
org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:112)
	at
org.openide.nodes.Children$Info.nodes(Children.java:1082)
	at
org.openide.nodes.Children.justComputeNodes(Children.java:588)
	at
org.openide.nodes.ChildrenArray.nodes(ChildrenArray.java:54)
	at
org.openide.nodes.Children.getNodes(Children.java:324)
	at
org.openide.nodes.Children.findChild(Children.java:264)
	at
org.openide.nodes.Children.getNodes(Children.java:380)
	at
org.openide.explorer.view.TreeView$2.run(TreeView.java:733)
	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:686)
Comment 1 Jesse Glick 2004-08-09 16:12:15 UTC
Looks like some bug in Xerces - NB code is just call
NodeList.get(int). Never seen it, no info on how to reproduce, not
even JDK version or log file etc.
Comment 2 bwl 2005-02-03 06:12:59 UTC
FYI, we've had this same error (in non-NetBeans code) and searching
the web I turned up this: http://www.xml-xerces.com/msg/2734.html
which indicates that it very likely is a Xerces bug.  Another
possibility is concurrent access to the same DOM from multiple threads.
Comment 3 Jesse Glick 2005-03-09 19:22:25 UTC
x
Comment 4 Jesse Glick 2005-03-09 19:22:47 UTC
x

*** This issue has been marked as a duplicate of 50198 ***
Comment 5 Marian Mirilovic 2005-07-12 10:17:09 UTC
closed