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 209404 - Stack overflow in unit test log
Summary: Stack overflow in unit test log
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: igor_nikiforov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-10 08:56 UTC by Alexander Simon
Modified: 2012-03-15 13:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Fix proposal (1.32 KB, patch)
2012-03-15 13:01 UTC, igor_nikiforov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2012-03-10 08:56:49 UTC
For examle see
hudson/job/cnd-test-solaris10.x86/4999/consoleFull

 [junit] Mar 10, 2012 10:05:05 AM org.openide.util.RequestProcessor$Processor doNotify
    [junit] SEVERE: Error in RequestProcessor org.netbeans.modules.remote.impl.fs.RefreshManager$RefreshWorker
    [junit] org.openide.util.RequestProcessor$SlowItem: task failed due to: java.lang.StackOverflowError
    [junit] 	at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java:1452)
    [junit] 	at org.netbeans.modules.remote.impl.fs.RefreshManager.scheduleRefreshImpl(RefreshManager.java:234)
    [junit] 	at org.netbeans.modules.remote.impl.fs.RefreshManager.scheduleRefreshOnConnect(RefreshManager.java:162)
    [junit] 	at org.netbeans.modules.remote.impl.fs.RemoteFileSystem.connected(RemoteFileSystem.java:171)
    [junit] 	at org.netbeans.modules.nativeexecution.api.util.ConnectionManager.fireConnected(ConnectionManager.java:201)
    [junit] 	at org.netbeans.modules.nativeexecution.api.util.ConnectionManager.initiateConnection(ConnectionManager.java:328)
    [junit] 	at org.netbeans.modules.nativeexecution.api.util.ConnectionManager.connectTo(ConnectionManager.java:265)
    [junit] 	at org.netbeans.modules.remote.impl.fs.RemoteFileSystemOffilneTestCase.testOfflineStdlibH(RemoteFileSystemOffilneTestCase.java:88)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:597)
    [junit] 	at junit.framework.TestCase.runTest(TestCase.java:168)
    [junit] 	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:99)
    [junit] 	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:405)
    [junit] 	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:331)
    [junit] 	at java.lang.Thread.run(Thread.java:619)
    [junit] Caused by: java.lang.StackOverflowError
    [junit] 	at org.openide.filesystems.FileEvent.setAtomicActionLink(FileEvent.java:216)
    [junit] 	at org.openide.filesystems.FileObject$ED.setAtomicActionLink(FileObject.java:1295)
    [junit] 	at org.openide.filesystems.EventControl.postponeFiring(EventControl.java:229)
    [junit] 	at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:80)
    [junit] 	at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:642)
    [junit] 	at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:564)
    [junit] 	at org.openide.filesystems.FileObject.fireFileDeletedEvent(FileObject.java:540)
    [junit] 	at org.netbeans.modules.remote.impl.fs.RemoteFileObject.fireFileDeletedEvent(RemoteFileObject.java:181)
    [junit] 	at org.netbeans.modules.remote.impl.fs.RemoteFileObjectBase.fireFileDeletedEvent(RemoteFileObjectBase.java:145)
    [junit] 	at org.netbeans.modules.remote.impl.fs.RemoteLinkBase.fileDeleted(RemoteLinkBase.java:279)
    [junit] 	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:148)
    [junit] 	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:128)
    [junit] 	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:105)
    [junit] 	at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1242)
    [junit] 	at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.java:997)
    [junit] 	at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:84)
    [junit] 	at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:642)
    [junit] 	at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:564)
    [junit] 	at org.openide.filesystems.FileObject.fireFileDeletedEvent(FileObject.java:540)
    [junit] 	at org.netbeans.modules.remote.impl.fs.RemoteFileObject.fireFileDeletedEvent(RemoteFileObject.java:181)
    [junit] 	at org.netbeans.modules.remote.impl.fs.RemoteFileObjectBase.fireFileDeletedEvent(RemoteFileObjectBase.java:145)
    [junit] 	at org.netbeans.modules.remote.impl.fs.RemoteLinkBase.fileDeleted(RemoteLinkBase.java:279)
    [junit] 	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:148)
    [junit] 	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:128)
    [junit] 	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:105)
    [junit] 	at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1242)
    [junit] 	at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.java:997)
    [junit] 	at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:84)
    [junit] 	at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:642)
    [junit] 	at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:564)
    [junit] 	at org.openide.filesystems.FileObject.fireFileDeletedEvent(FileObject.java:540)
    [junit] 	at org.netbeans.modules.remote.impl.fs.RemoteFileObject.fireFileDeletedEvent(RemoteFileObject.java:181)
    [junit] 	at org.netbeans.modules.remote.impl.fs.RemoteFileObjectBase.fireFileDeletedEvent(RemoteFileObjectBase.java:145)
    [junit] 	at org.netbeans.modules.remote.impl.fs.RemoteLinkBase.fileDeleted(RemoteLinkBase.java:279)
    [junit] 	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:148)
    [junit] 	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:128)
    [junit] 	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:105)
    [junit] 	at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1242)
    [junit] 	at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.java:997)
    [junit] 	at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:84)
    [junit] 	at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:642)
    [junit] 	at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:564)
    [junit] 	at org.openide.filesystems.FileObject.fireFileDeletedEvent(FileObject.java:540)
Comment 1 igor_nikiforov 2012-03-15 13:01:54 UTC
Created attachment 116760 [details]
Fix proposal
Comment 2 igor_nikiforov 2012-03-15 13:16:43 UTC
The fix is here:
  http://hg.netbeans.org/cnd-main/rev/381fc06fb952