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 227815 - AssertionError at org.netbeans.modules.xml.xam.AbstractModelFactory.getModel
Summary: AssertionError at org.netbeans.modules.xml.xam.AbstractModelFactory.getModel
Status: RESOLVED INCOMPLETE
Alias: None
Product: xml
Classification: Unclassified
Component: XAM (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
: 188362 212931 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-22 11:12 UTC by Exceptions Reporter
Modified: 2013-04-05 09:31 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 193562


Attachments
stacktrace (2.12 KB, text/plain)
2013-03-22 11:12 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-03-22 11:12:55 UTC
Build: NetBeans IDE 7.3 Beta (Build 201211062253)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b22
OS: Windows 7

User Comments:
GUEST: Everytime i run testssxd

ptomasek: git rebase

GUEST: release prepare




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.xml.xam.AbstractModelFactory.getModel(AbstractModelFactory.java:133)
   at org.netbeans.modules.maven.model.pom.POMModelFactory.getModel(POMModelFactory.java:82)
   at org.netbeans.modules.maven.repository.ui.ArtifactMultiViewFactory$2.run(ArtifactMultiViewFactory.java:270)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2036)
Comment 1 Exceptions Reporter 2013-03-22 11:12:58 UTC
Created attachment 132944 [details]
stacktrace
Comment 2 Svata Dedic 2013-04-05 09:08:38 UTC
*** Bug 212931 has been marked as a duplicate of this bug. ***
Comment 3 Svata Dedic 2013-04-05 09:09:17 UTC
*** Bug 188362 has been marked as a duplicate of this bug. ***
Comment 4 Svata Dedic 2013-04-05 09:31:29 UTC
It's not obvious why the getKey() fails; I've added some logging that could show how the ModelSource was created, and what is contained in its Lookup.

Logging added in http://hg.netbeans.org/jet-main/rev/b68bc42882f9