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 164536 - NullPointerException: Passed null to FileOwnerQuery.getOwner(FileObject)
Summary: NullPointerException: Passed null to FileOwnerQuery.getOwner(FileObject)
Status: RESOLVED INCOMPLETE
Alias: None
Product: xml
Classification: Unclassified
Component: Retriever (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Samaresh Panda
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-05 22:39 UTC by mols
Modified: 2009-07-21 08:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 34204


Attachments
stacktrace (1.28 KB, text/plain)
2009-05-05 22:39 UTC, mols
Details
stacktrace (13.09 KB, text/plain)
2009-07-21 07:12 UTC, mm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mols 2009-05-05 22:39:27 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13
OS: Windows XP, 5.1, x86

User Comments:
GUEST: adding a JAXB binding via wizard

mols: I was importing an XSD with its dependencies ...



Stacktrace: 
java.lang.NullPointerException: Passed null to FileOwnerQuery.getOwner(FileObject)
        at org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:94)
        at org.netbeans.modules.xml.retriever.catalog.impl.CatalogModelFactoryImpl.getCatalogModel(CatalogModelFactoryImpl.java:107)
        at org.netbeans.modules.xml.retriever.catalog.Utilities.createCatalogModel(Utilities.java:718)
        at org.netbeans.modules.xml.retriever.catalog.Utilities.createModelSource(Utilities.java:629)
        at org.netbeans.modules.xml.retriever.catalog.impl.XAMCatalogWriteModelImpl.createModelSource(XAMCatalogWriteModelImpl.java:119)
        at org.netbeans.modules.xml.retriever.catalog.impl.XAMCatalogWriteModelImpl.<init>(XAMCatalogWriteModelImpl.java:85)
Comment 1 mols 2009-05-05 22:39:36 UTC
Created attachment 81594 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-05-05 22:46:29 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=34204
Comment 3 mm 2009-07-21 07:12:00 UTC
Build: NetBeans IDE 6.5.1 (Build 200905151554)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: SunOS, 5.11, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException: Passed null to FileOwnerQuery.getOwner(FileObject)<br/>
        at org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:94)<br/>
        at org.netbeans.modules.xml.retriever.catalog.impl.CatalogModelFactoryImpl.getCatalogModel(CatalogModelFactoryImpl.java:107)<br/>
        at org.netbeans.modules.xml.retriever.catalog.Utilities.createCatalogModel(Utilities.java:718)<br/>
        at org.netbeans.modules.xml.retriever.catalog.Utilities.createModelSource(Utilities.java:629)<br/>
        at org.netbeans.modules.xml.retriever.catalog.Utilities.getModelSource(Utilities.java:615)<br/>
        at org.netbeans.modules.xml.wsdl.ui.api.property.ElementOrTypeChooserHelper$CatalogChildren.createNodes(ElementOrTypeChooserHelper.java:254)<br/>
Comment 4 mm 2009-07-21 07:12:11 UTC
Created attachment 84964 [details]
stacktrace
Comment 5 Exceptions Reporter 2009-07-21 07:12:28 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=34204
Comment 6 Sergey Lunegov 2009-07-21 08:57:16 UTC
Please provide exact steps to reproduce