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 186318 - [69cat] IllegalStateException: WARNING: Going from readAccess to writeAccess, see #10778: http://www.netbeans.org/issues/show_bug.cgi?id=10778
Summary: [69cat] IllegalStateException: WARNING: Going from readAccess to writeAccess,...
Status: RESOLVED FIXED
Alias: None
Product: javacard
Classification: Unclassified
Component: Java Card (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal (vote)
Assignee: _ tboudreau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-18 17:43 UTC by abajja
Modified: 2010-05-31 14:20 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 170188


Attachments
stacktrace (6.26 KB, text/plain)
2010-05-18 17:43 UTC, abajja
Details
stacktrace (4.24 KB, text/plain)
2010-05-24 19:44 UTC, jirka_x1
Details
stacktrace (4.25 KB, text/plain)
2010-05-26 08:02 UTC, Peter Nabbefeld
Details
threaddump (20.65 KB, application/octet-stream)
2010-05-27 16:20 UTC, abajja
Details
stacktrace (4.24 KB, text/plain)
2010-05-28 08:56 UTC, abajja
Details
Fix for 186318 (3.86 KB, text/plain)
2010-05-30 18:06 UTC, Petr Suchomel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description abajja 2010-05-18 17:43:40 UTC
This bug was originally marked as duplicate of bug 128224, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201005170932)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

User Comments:
GUEST: I deleted some JAR files from de libraries path

abajja: New install. openning a java project.

malakim: Removing a SVGMenu from the "Flow" mode in the midlet editor




Stacktrace: 
java.lang.IllegalStateException: WARNING: Going from readAccess to writeAccess, see #10778: http://www.netbeans.org/issues/show_bug.cgi?id=10778 
   at org.openide.util.Mutex.enterImpl(Mutex.java:681)
   at org.openide.util.Mutex.enter(Mutex.java:631)
   at org.openide.util.Mutex.writeEnter(Mutex.java:609)
   at org.openide.util.Mutex.writeAccess(Mutex.java:430)
   at org.netbeans.modules.javacard.ri.platform.RIPlatform.getDefault(RIPlatform.java:221)
   at org.netbeans.modules.javacard.ri.platform.RIPlatform.<clinit>(RIPlatform.java:113)
Comment 1 abajja 2010-05-18 17:43:44 UTC
Created attachment 99154 [details]
stacktrace
Comment 2 jirka_x1 2010-05-24 19:44:26 UTC
Created attachment 99406 [details]
stacktrace

Clicked on a project (suite) in open project dlg
Comment 3 Karol Harezlak 2010-05-25 07:43:19 UTC
Tim, I think it's yours.
Comment 4 Peter Nabbefeld 2010-05-26 08:02:32 UTC
Created attachment 99477 [details]
stacktrace

I already uninstalled the two (?) Javacard plugins, but probably this is also related (probably a problem with uninstalling?):

java.io.IOException: Could not delete: C:\Dokumente und Einstellungen\pna\.netbeans\dev\var\cache\all-layers.dat
	at org.netbeans.Stamps.deleteCache(Stamps.java:513)
	at org.netbeans.Stamps.access$300(Stamps.java:79)
	at org.netbeans.Stamps$Store.store(Stamps.java:570)
[catch] at org.netbeans.Stamps$Worker.run(Stamps.java:744)
Comment 5 Exceptions Reporter 2010-05-26 08:02:47 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=4902
Comment 6 Peter Nabbefeld 2010-05-26 08:05:22 UTC
In current build (201005250001) this bug is blocking opening projects. I had to even deactivate the RI platform module (which is only possible using Module Manager) to finally get my installation back to work.
Comment 7 Peter Nabbefeld 2010-05-27 05:44:53 UTC
Hm, probably this blocks only if J2ME is installed, would explain why currently only few users are reporting this bug.

However, You should at least have a look at it before releasing 6.9, because it may lead to blocking NetBeans, so setting priority to P1 for the moment.
Comment 8 Marian Mirilovic 2010-05-27 08:08:53 UTC
23 duplicates so far ...
Comment 9 abajja 2010-05-27 16:20:40 UTC
Created attachment 99556 [details]
threaddump
Comment 10 abajja 2010-05-28 08:56:38 UTC
Created attachment 99589 [details]
stacktrace
Comment 11 Petr Suchomel 2010-05-28 11:49:02 UTC
Changes merged and integrated
Comment 12 Petr Suchomel 2010-05-30 18:05:18 UTC
Need to reopen, the fix needs more when using ergonomics
Comment 13 Petr Suchomel 2010-05-30 18:06:23 UTC
Created attachment 99657 [details]
Fix for 186318
Comment 14 Tomas Zezula 2010-05-31 12:42:44 UTC
Seems fine to me.
Comment 15 Petr Suchomel 2010-05-31 14:20:00 UTC
Integrated in release69 http://hg.netbeans.org/release69/rev/02f8cfcbc927