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 188693 - AssertionError: Root element position should be greater than 0
Summary: AssertionError: Root element position should be greater than 0
Status: RESOLVED INCOMPLETE
Alias: None
Product: xml
Classification: Unclassified
Component: XAM (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-15 10:30 UTC by mpiffret
Modified: 2010-07-16 07:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 171387


Attachments
stacktrace (2.25 KB, text/plain)
2010-07-15 10:30 UTC, mpiffret
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mpiffret 2010-07-15 10:30:39 UTC
Build: NetBeans IDE Dev (Build 201007090001)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01-279, Java(TM) SE Runtime Environment, 1.6.0_20-b02-279-10M3065
OS: Mac OS X

Stacktrace: 
java.lang.AssertionError: Root element position should be greater than 0
   at org.netbeans.modules.xml.xam.dom.ReadOnlyAccess.getRootElementPosition(ReadOnlyAccess.java:204)
   at org.netbeans.modules.xml.xam.dom.ReadOnlyAccess.getContainingElement(ReadOnlyAccess.java:291)
   at org.netbeans.modules.xml.xam.dom.AbstractDocumentModel.findComponent(AbstractDocumentModel.java:540)
   at org.netbeans.modules.maven.hints.pom.MoveToDependencyManagementHint.getErrorsForDocument(MoveToDependencyManagementHint.java:97)
   at org.netbeans.modules.maven.hints.pom.StatusProvider$StatusProviderImpl.findHints(StatusProvider.java:217)
   at org.netbeans.modules.maven.hints.pom.StatusProvider$StatusProviderImpl.getUpToDate(StatusProvider.java:246)
Comment 1 mpiffret 2010-07-15 10:30:43 UTC
Created attachment 100851 [details]
stacktrace
Comment 2 Sergey Lunegov 2010-07-16 07:41:51 UTC
Please provide exact steps how to reproduce the issue.