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 150939 - [65cat] AssertionError: No element with id: _82
Summary: [65cat] AssertionError: No element with id: _82
Status: RESOLVED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: Visual Designer (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrew Korostelev
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
: 150323 150399 152349 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-21 21:14 UTC by sunbiz
Modified: 2009-02-19 22:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 30975


Attachments
stacktrace (579 bytes, text/plain)
2008-10-21 21:16 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2008-10-21 21:14:54 UTC
Build: NetBeans IDE Dev (Build 200810210201)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32
OS: Windows Vista, 6.0, x86

Stacktrace: 
java.lang.AssertionError: No element with id: _82
        at org.netbeans.modules.mobility.svgcore.model.SVGFileModel.checkIntegrity(SVGFileModel.java:1639)
        at org.netbeans.modules.mobility.svgcore.model.SVGFileModel.access$1400(SVGFileModel.java:91)
        at org.netbeans.modules.mobility.svgcore.model.SVGFileModel$9.transaction(SVGFileModel.java:999)
        at org.netbeans.modules.mobility.svgcore.model.SVGFileModel$FileModelTransaction.run(SVGFileModel.java:134)
        at org.netbeans.modules.mobility.svgcore.model.SVGFileModel$14.run(SVGFileModel.java:1177)
Comment 1 sunbiz 2008-10-21 21:16:17 UTC
Created attachment 72424 [details]
stacktrace
Comment 2 Andrew Korostelev 2008-10-22 14:59:18 UTC
it seems that this issue, issue 150399 and issue 150323 have the same cause.
But I can't reproduce any of them.

Can you always reproduce them or they appear randomly?

tested environments:

Product Version: NetBeans IDE 6.5 RC1 (Build 200810171318)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b15
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)

Product Version: NetBeans IDE Dev (Build 200810210201)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b12
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)
Comment 3 sunbiz 2008-10-22 18:41:01 UTC
Im having a hard-time reproducing it... but every time I try the exception appears, but kind find a definite way!
Comment 4 Andrei Chistiakov 2008-10-30 15:31:19 UTC
NetBeans IDE Dev (Build 200810300201)

I can get similar stack trace by following the steps below:
- create MIDP project;
- add SVG Image file;
- unlock the image;
- drop SVG Button on the image;
- in Navigator, select 'g transform=...' element;
- press 'Move To Top (Home)' button on the editor's toolbar;
- press Undo toolbar button;
- press 'Move To Top (Home)' button on the editor's toolbar one more time.

java.lang.AssertionError: No element with id: button_0
	at org.netbeans.modules.mobility.svgcore.model.SVGFileModel.checkIntegrity(SVGFileModel.java:1639)
	at org.netbeans.modules.mobility.svgcore.model.SVGFileModel.access$1400(SVGFileModel.java:91)
	at org.netbeans.modules.mobility.svgcore.model.SVGFileModel$11.transaction(SVGFileModel.java:1086)
	at org.netbeans.modules.mobility.svgcore.model.SVGFileModel$FileModelTransaction.run(SVGFileModel.java:134)
[catch] at org.netbeans.modules.mobility.svgcore.model.SVGFileModel$14.run(SVGFileModel.java:1177)
Comment 5 Andrew Korostelev 2008-10-31 14:19:58 UTC
*** Issue 150399 has been marked as a duplicate of this issue. ***
Comment 6 Andrew Korostelev 2008-10-31 14:20:18 UTC
*** Issue 150323 has been marked as a duplicate of this issue. ***
Comment 7 Andrew Korostelev 2008-10-31 14:36:44 UTC
fixed.
http://hg.netbeans.org/main/rev/c96e116d15f6
see related issue 145987
Comment 8 Quality Engineering 2008-11-01 05:13:40 UTC
Integrated into 'main-golden', will be available in build *200811010201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/c96e116d15f6
User: akorostelev@netbeans.org
Log: #150939 - fixed selection update if element with id cached as selected doesn't exist any more
Comment 9 Andrew Korostelev 2008-11-07 14:28:58 UTC
*** Issue 152349 has been marked as a duplicate of this issue. ***