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: | NullPointerException at org.netbeans.modules.xml.schema.model.impl.SchemaComponentImpl.populateChildren | ||
---|---|---|---|
Product: | xml | Reporter: | boucherb <boucherb> |
Component: | Schema Model | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | hmichel |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=147165 | ||
Issue Type: | DEFECT | Exception Reporter: | 147165 |
Attachments: |
stacktrace
stacktrace |
Description
boucherb
2009-04-05 14:11:34 UTC
Created attachment 79467 [details]
stacktrace
Please provide exact steps to reproduce the issue. here's the structure that resulted in the NPE for me: <xs:element name="userOrderBy"> <xs:complexType> <xs:sequence> <xs:element name="field" minOccurs="1" maxOccurs="1"> <xs:complexType> <xs:restriction base="xs:string"> <xs:enumeration value="userId"/> <xs:enumeration value="name"/> <xs:enumeration value="email"/> <xs:enumeration value="employeeNumber"/> <xs:enumeration value="departureDate"/> <xs:enumeration value="lastLoginDateTime"/> <xs:enumeration value="supervisorUserId"/> <xs:enumeration value="supervisorName"/> <xs:enumeration value="supervisorEmail"/> <xs:enumeration value="supervisorEmployeeNumber"/> </xs:restriction> <xs:attribute ref="rram:sortDirection" /> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> Its obviously incorrect, and validation errors should have happened. Would you please attach the whole schema. Created attachment 102034 [details]
stacktrace
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1. |