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 87932

Summary: Exception during attempt to open form modul
Product: platform Reporter: Jana Maleckova <janie>
Component: -- Other --Assignee: Petr Nejedly <pnejedly>
Status: VERIFIED FIXED    
Severity: blocker CC: msauer
Priority: P3 Keywords: RANDOM, THREAD
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Of Course, excuse my delay ;)
log_message
Parched util module
message2 with patch

Description Jana Maleckova 2006-10-25 09:25:39 UTC
NetBeans IDE Dev (Build 20061025-0632)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b99
Windows XP version 5.1 running on x86
cs_CZ (nb); Cp1250
continuous build

Description:
=============
cvs checked today in the morning (25.10.) And when I try to open form modul in
continous build, an exception occured. It's just sufficient to select the
project form.

StactTrace:
===========
java.lang.IllegalStateException
	at org.openide.util.Mutex.enterImpl(Mutex.java:558)
	at org.openide.util.Mutex.enter(Mutex.java:538)
	at org.openide.util.Mutex.readEnter(Mutex.java:521)
	at org.openide.util.Mutex.readAccess(Mutex.java:227)
	at
org.netbeans.spi.project.support.ant.PropertyUtils$SequentialPropertyEvaluator.getProperty(PropertyUtils.java:786)
Comment 1 Marian Mirilovic 2006-10-25 09:47:36 UTC
;) Janie, 
could you please provide the whole stack trace ? Thanks in advance.
Comment 2 Jana Maleckova 2006-10-25 10:00:21 UTC
Created attachment 35518 [details]
Of Course, excuse my delay ;)
Comment 3 David Simonek 2006-10-25 10:44:02 UTC
Any reproductible steps? I guess this will be random error...
Comment 4 Jana Maleckova 2006-10-25 11:09:43 UTC
on my computer it is reproducible. It sufficient to start nb with clean userdir
and try to open form modul
Comment 5 Jesse Glick 2006-10-25 18:35:35 UTC
ISE with no detail message?

                    if (grantedMode == NONE) {
                        // defensive
                        throw new IllegalStateException();
                    }

I cannot reproduce of course.
Comment 6 Jana Maleckova 2006-10-26 10:52:01 UTC
Created attachment 35562 [details]
log_message
Comment 7 Petr Nejedly 2006-10-26 11:03:39 UTC
*** Issue 80457 has been marked as a duplicate of this issue. ***
Comment 8 Max Sauer 2006-10-26 11:31:16 UTC
It seems to be reproducible only on SMP/dual core mashines.

---
Linux version 2.6.12-1.1390_FC4smp running on i386
Comment 9 Petr Nejedly 2006-10-26 15:12:03 UTC
I have probably discovered the problem in the Mutex. I'll post a fixed
org-openide-util.jar to test.
Comment 10 Petr Nejedly 2006-10-26 15:14:55 UTC
Created attachment 35567 [details]
Parched util module
Comment 11 Jana Maleckova 2006-10-26 15:25:35 UTC
Created attachment 35568 [details]
message2 with patch
Comment 12 Jiri Rechtacek 2006-10-30 12:50:34 UTC
*** Issue 88225 has been marked as a duplicate of this issue. ***
Comment 13 Petr Nejedly 2006-10-31 10:24:08 UTC
Fixed:
openide/util/src/org/openide/util/Mutex.java,v1.17
openide/util/test/unit/src/org/openide/util/MutexTest.java,v1.9
Comment 14 Jana Maleckova 2006-11-06 13:21:24 UTC
tested on 
NetBeans IDE Dev (Build 061105)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b99
Windows XP version 5.1 running on x86
cs_CZ (nb); Cp1250
dual core

it's OK
Comment 15 Petr Nejedly 2006-11-23 08:15:40 UTC
*** Issue 87425 has been marked as a duplicate of this issue. ***