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 - Exception during attempt to open form modul
Summary: Exception during attempt to open form modul
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: RANDOM, THREAD
: 80457 87425 88225 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-25 09:25 UTC by Jana Maleckova
Modified: 2008-12-22 19:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Of Course, excuse my delay ;) (1.23 KB, text/plain)
2006-10-25 10:00 UTC, Jana Maleckova
Details
log_message (95.53 KB, application/octet-stream)
2006-10-26 10:52 UTC, Jana Maleckova
Details
Parched util module (668.05 KB, application/octet-stream)
2006-10-26 15:14 UTC, Petr Nejedly
Details
message2 with patch (71.14 KB, application/octet-stream)
2006-10-26 15:25 UTC, Jana Maleckova
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***