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 69740 - Random failure in request processor interrupt
Summary: Random failure in request processor interrupt
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL: http://beetle.czech:8080/unittest/Tes...
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2005-12-02 10:37 UTC by Jaroslav Tulach
Modified: 2008-12-22 18:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The failure (13.89 KB, text/html)
2005-12-02 10:38 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2005-12-02 10:37:45 UTC
testInterruptedStatusWorksInInversedTasksWhenInterruptedSoon: 
      junit.framework.AssertionFailedError: bigger interrupted at end 
[org.openide.util.RequestProcessor]notifyRunning: RequestProcessor.Task 
[testInterruptedStatusWorksInInversedTasksWhenInterruptedSoon, 1] for task 
org.openide.util.RequestProcessorTest$3Fail@c931fc 
[org.openide.util.RequestProcessor]Begining work 
testInterruptedStatusWorksInInversedTasksWhenInterruptedSoon 
[org.openide.util.RequestProcessor]  Executing RequestProcessor.Task 
[testInterruptedStatusWorksInInversedTasksWhenInterruptedSoon, 1] for task 
org.openide.util.RequestProcessorTest$3Fail@c931fc 
[org.openide.util.RequestProcessor]notifyRunning: RequestProcessor.Task 
[testInterruptedStatusWorksInInversedTasksWhenInterruptedSoon, 1] for task 
org.openide.util.RequestProcessorTest$3Fail@c931fc 
[org.openide.util.RequestProcessor]Task.waitFinished on RequestProcessor.Task 
[testInterruptedStatusWorksInInversedTasksWhenInterruptedSoon, 1] for task 
org.openide.util.RequestProcessorTest$3Fail@f0c0d3 from other task in RP: 
testInterruptedStatusWorksInInversedTasksWhenInterruptedSoon 
[org.openide.util.RequestProcessor]    ## finished: false 
[org.openide.util.RequestProcessor]    ## item: null 
[org.openide.util.RequestProcessor]    ## running it synchronously 
[org.openide.util.RequestProcessor]notifyRunning: RequestProcessor.Task 
[testInterruptedStatusWorksInInversedTasksWhenInterruptedSoon, 1] for task 
org.openide.util.RequestProcessorTest$3Fail@f0c0d3 
[org.openide.util.RequestProcessor]notifyFinished: RequestProcessor.Task 
[testInterruptedStatusWorksInInversedTasksWhenInterruptedSoon, 1] for task 
org.openide.util.RequestProcessorTest$3Fail@f0c0d3 
[org.openide.util.RequestProcessor]    ## exiting waitFinished 
[org.openide.util.RequestProcessor]notifyFinished: RequestProcessor.Task 
[testInterruptedStatusWorksInInversedTasksWhenInterruptedSoon, 1] for task 
org.openide.util.RequestProcessorTest$3Fail@c931fc 
[org.openide.util.RequestProcessor]  Execution finished 
intestInterruptedStatusWorksInInversedTasksWhenInterruptedSoon 
[org.openide.util.RequestProcessor]Work finished Inactive RequestProcessor 
thread 
[Was:testInterruptedStatusWorksInInversedTasksWhenInterruptedSoon/org.openide.util.RequestProcessorTest$3Fail] 
 
        at 
org.openide.util.RequestProcessorTest.runTest(RequestProcessorTest.java:47) 
        at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:136) 
        at junit.framework.TestResult$1.protect(TestResult.java:106) 
        at junit.framework.TestResult.runProtected(TestResult.java:124) 
        at junit.framework.TestResult.run(TestResult.java:109) 
        at junit.framework.TestCase.run(TestCase.java:118) 
        at org.netbeans.junit.NbTestCase.run(NbTestCase.java:122) 
        at junit.framework.TestSuite.runTest(TestSuite.java:208) 
        at junit.framework.TestSuite.run(TestSuite.java:203) 
        at 
org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:167) 
        at 
org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:118) 
        at 
org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41) 
Caused by: junit.framework.AssertionFailedError: bigger interrupted at end 
        at junit.framework.Assert.fail(Assert.java:47) 
        at junit.framework.Assert.assertTrue(Assert.java:20) 
        at 
org.openide.util.RequestProcessorTest.testInterruptedStatusWorksInInversedTasksWhenInterruptedSoon(RequestProcessorTest.java:1140) 
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
        at java.lang.reflect.Method.invoke(Method.java:324) 
        at junit.framework.TestCase.runTest(TestCase.java:154) 
        at 
org.openide.util.RequestProcessorTest.runTest(RequestProcessorTest.java:45) 
        ... 11 more
Comment 1 Jaroslav Tulach 2005-12-02 10:38:09 UTC
Created attachment 27493 [details]
The failure
Comment 2 Jaroslav Tulach 2005-12-06 17:12:09 UTC
openide/util/test/unit/src/org/openide/util/RequestProcessorTest.java,v  <--  
RequestProcessorTest.java 
new revision: 1.13 
Comment 3 Jaromir Uhrik 2006-01-16 15:46:04 UTC
Marking this issue as VERIFIED since the issue reporter == issue owner.