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 211705 - java.lang.IllegalStateException: Too many org.openide.util.RequestProcessorParallelTest$Para (3) in shared RequestProcessor; create your own
Summary: java.lang.IllegalStateException: Too many org.openide.util.RequestProcessorPa...
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 7.2
Hardware: PC All
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2012-04-25 11:36 UTC by Martin Entlicher
Modified: 2012-05-02 10:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2012-04-25 11:36:05 UTC
See http://deadlock.netbeans.org/hudson/job/trunk/11329/testReport/junit/org.openide.util/RequestProcessorParallelTest/testParallelExecutionOnDefaultRequestProcessorReported/

Error Message

There shall be a warning about parallel execution

Stacktrace

junit.framework.AssertionFailedError: There shall be a warning about parallel execution
	at org.openide.util.RequestProcessorParallelTest.testParallelExecutionOnDefaultRequestProcessorReported(RequestProcessorParallelTest.java:65)
	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:95)
	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:400)
	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:326)
	at java.lang.Thread.run(Thread.java:662)

Standard Error

Apr 25, 2012 2:29:53 AM org.openide.util.RequestProcessor$Processor registerParallel
WARNING: Too many org.openide.util.RequestProcessorParallelTest$Para (3) in shared RequestProcessor; create your own
java.lang.IllegalStateException: Too many org.openide.util.RequestProcessorParallelTest$Para (3) in shared RequestProcessor; create your own
	at org.openide.util.RequestProcessor$SlowItem.fillInStackTrace(RequestProcessor.java:1852)
	at java.lang.Throwable.<init>(Throwable.java:181)
	at java.lang.Exception.<init>(Exception.java:29)
	at org.openide.util.RequestProcessor$Item.<init>(RequestProcessor.java:1766)
	at org.openide.util.RequestProcessor$SlowItem.<init>(RequestProcessor.java:1847)
	at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java:1515)
	at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java:1493)
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:453)
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:424)
	at org.openide.util.RequestProcessorParallelTest$Para.run(RequestProcessorParallelTest.java:92)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)
Comment 1 Jaroslav Tulach 2012-04-25 16:09:01 UTC
Mark it @RandomlyFailing if you believe this is a random failing test.
Comment 2 Jaroslav Tulach 2012-04-27 13:35:37 UTC
More logging in ergonomics#ad0b18789163. The problem is likely in Log.enable method, otherwise I cannot explain to myself why the error output contains the warning...
Comment 3 Quality Engineering 2012-05-02 10:05:23 UTC
Integrated into 'main-golden', will be available in build *201205020400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ad0b18789163
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #211705: Print the log length and content