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 146549 - Debugging session fails to start - exception only prints to output
Summary: Debugging session fails to start - exception only prints to output
Status: CLOSED DUPLICATE of bug 148490
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P4 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-08 17:28 UTC by Petr Cyhelsky
Modified: 2010-04-29 09:43 UTC (History)
0 users

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 Petr Cyhelsky 2008-09-08 17:28:38 UTC
Product Version: NetBeans IDE Dev (Build 200809071401)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1250; cs_CZ (nb)

Observed: Usually when there are two or more attempts to start debugging session one short time after another the second
one doesn't start but only prints exception into the output(see below). This also occur rarely and seemingly randomly in
other cases(without two quickly following invocations).

debug:
Listening failed with arguments: {timeout=timeout=, name=name=}
java.io.IOException: shmemBase_listen failed: Cannot create a file when that file already exists

       at org.netbeans.modules.debugger.jpda.ant.JPDAStart.execute(JPDAStart.java:239)
       at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
       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:597)
       at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
       at org.apache.tools.ant.Task.perform(Task.java:348)
       at org.apache.tools.ant.Target.execute(Target.java:357)
       at org.apache.tools.ant.Target.performTasks(Target.java:385)
       at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
       at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
       at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
       at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
       at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:273)
       at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:486)
       at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: java.io.IOException: shmemBase_listen failed: Cannot create a file when that file already exists

       at com.sun.tools.jdi.SharedMemoryTransportService.startListening0(Native Method)
       at com.sun.tools.jdi.SharedMemoryTransportService.startListening(SharedMemoryTransportService.java:100)
       at com.sun.tools.jdi.GenericListeningConnector.startListening(GenericListeningConnector.java:96)
       at com.sun.tools.jdi.SharedMemoryListeningConnector.startListening(SharedMemoryListeningConnector.java:56)
       at org.netbeans.modules.debugger.jpda.ant.JPDAStart.run(JPDAStart.java:279)
       at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
       at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
--- Nested Exception ---
java.io.IOException: shmemBase_listen failed: Cannot create a file when that file already exists

       at com.sun.tools.jdi.SharedMemoryTransportService.startListening0(Native Method)
       at com.sun.tools.jdi.SharedMemoryTransportService.startListening(SharedMemoryTransportService.java:100)
       at com.sun.tools.jdi.GenericListeningConnector.startListening(GenericListeningConnector.java:96)
       at com.sun.tools.jdi.SharedMemoryListeningConnector.startListening(SharedMemoryListeningConnector.java:56)
       at org.netbeans.modules.debugger.jpda.ant.JPDAStart.run(JPDAStart.java:279)
       at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
       at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
java.io.IOException: shmemBase_listen failed: Cannot create a file when that file already exists
       at com.sun.tools.jdi.SharedMemoryTransportService.startListening0(Native Method)
       at com.sun.tools.jdi.SharedMemoryTransportService.startListening(SharedMemoryTransportService.java:100)
       at com.sun.tools.jdi.GenericListeningConnector.startListening(GenericListeningConnector.java:96)
       at com.sun.tools.jdi.SharedMemoryListeningConnector.startListening(SharedMemoryListeningConnector.java:56)
       at org.netbeans.modules.debugger.jpda.ant.JPDAStart.run(JPDAStart.java:279)
       at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
       at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
BUILD FAILED (total time: 0 seconds)
Comment 1 baffyofdaffy 2009-02-11 21:12:34 UTC

*** This issue has been marked as a duplicate of 148490 ***
Comment 2 Quality Engineering 2010-04-29 09:43:52 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.