|
From: SourceForge.net <no...@so...> - 2009-11-20 20:52:02
|
Bugs item #2901404, was opened at 2009-11-20 15:52 Message generated for change (Tracker Item Submitted) made by magichal12 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2901404&group_id=44253 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: 4: Serious Status: Open Resolution: None Priority: 5 Private: No Submitted By: Magichal12 (magichal12) Assigned to: Nobody/Anonymous (nobody) Summary: "Could not create the Java virtual machine." Initial Comment: I ran a program that caused Java to run out of available memory. DrJava gave me an error message which prompted me to change the available heapspace. I changed it to the highest value on the list. Then I restarted DrJava, and immediately got a message: the title of the window was "Java Virtual Machine Launcher" and the only contents were an error image (white 'X' on red), the text "Could not create the Java virtual machine.", and an "OK" button. When I press "OK" the same error message pops up again, until I've pressed it two or three times. When I try to compile a simple program, I get the DrJava error at the bottom of this page (the really long block of text), and then the Interactions Pane reads "Compilation completed." I compile it a second time, and I get the same "Could not create the Java virtual machine" message. When I try to run the program, I get that message yet again, and after clicking "OK" on each successive window that pops up, the following is displayed in red text on the interactions pane: "JVM failed to start. Make sure a firewall is not blocking inter-process communication. See the console tab for details." and on the console: java.io.IOException: Unable to run process; class path may need to be adjusted at edu.rice.cs.plt.concurrent.ProcessTaskController$1.run(ProcessTaskController.java:157) at java.lang.Thread.run(Unknown Source) My OS is Windows Vista JDK 6.0_7 DrJava version: drjava-stable-20090821-r5004 Note: I had never seen any of these error messages (other than running out of memory) before I made the change described above. DrJava error message: edu.rice.cs.util.UnexpectedException: java.util.concurrent.TimeoutException at edu.rice.cs.drjava.model.repl.newjvm.MainJVM$StartingState.restart(MainJVM.java:693) at edu.rice.cs.drjava.model.repl.newjvm.MainJVM.restartInterpreterJVM(MainJVM.java:157) at edu.rice.cs.drjava.model.repl.RMIInteractionsModel._resetInterpreter(RMIInteractionsModel.java:126) at edu.rice.cs.drjava.model.repl.InteractionsModel.resetInterpreter(InteractionsModel.java:316) at edu.rice.cs.drjava.model.DefaultGlobalModel.resetInteractions(DefaultGlobalModel.java:340) at edu.rice.cs.drjava.model.DefaultGlobalModel.resetInteractions(DefaultGlobalModel.java:321) at edu.rice.cs.drjava.model.DefaultGlobalModel$2.compileEnded(DefaultGlobalModel.java:152) at edu.rice.cs.drjava.model.compiler.CompilerEventNotifier.compileEnded(CompilerEventNotifier.java:91) at edu.rice.cs.drjava.model.compiler.DefaultCompilerModel$2.run(DefaultCompilerModel.java:261) at edu.rice.cs.util.swing.Utilities.invokeLater(Utilities.java:62) at edu.rice.cs.drjava.model.compiler.DefaultCompilerModel._doCompile(DefaultCompilerModel.java:260) at edu.rice.cs.drjava.model.compiler.DefaultCompilerModel.compileAll(DefaultCompilerModel.java:150) at edu.rice.cs.drjava.ui.MainFrame._compileAll(MainFrame.java:5396) at edu.rice.cs.drjava.ui.MainFrame.access$4800(MainFrame.java:117) at edu.rice.cs.drjava.ui.MainFrame$51.actionPerformed(MainFrame.java:829) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.util.concurrent.TimeoutException at edu.rice.cs.plt.concurrent.ConcurrentUtil.waitUntilNanos(ConcurrentUtil.java:155) at edu.rice.cs.plt.concurrent.StateMonitor.ensureNotState(StateMonitor.java:199) at edu.rice.cs.plt.concurrent.StateMonitor.ensureNotState(StateMonitor.java:185) at edu.rice.cs.drjava.model.repl.newjvm.MainJVM$StartingState.restart(MainJVM.java:692) ... 40 more Caused by: java.util.concurrent.TimeoutException at edu.rice.cs.plt.concurrent.ConcurrentUtil.waitUntilNanos(ConcurrentUtil.java:155) at edu.rice.cs.plt.concurrent.StateMonitor.ensureNotState(StateMonitor.java:199) at edu.rice.cs.plt.concurrent.StateMonitor.ensureNotState(StateMonitor.java:185) at edu.rice.cs.drjava.model.repl.newjvm.MainJVM$StartingState.restart(MainJVM.java:692) at edu.rice.cs.drjava.model.repl.newjvm.MainJVM.restartInterpreterJVM(MainJVM.java:157) at edu.rice.cs.drjava.model.repl.RMIInteractionsModel._resetInterpreter(RMIInteractionsModel.java:126) at edu.rice.cs.drjava.model.repl.InteractionsModel.resetInterpreter(InteractionsModel.java:316) at edu.rice.cs.drjava.model.DefaultGlobalModel.resetInteractions(DefaultGlobalModel.java:340) at edu.rice.cs.drjava.model.DefaultGlobalModel.resetInteractions(DefaultGlobalModel.java:321) at edu.rice.cs.drjava.model.DefaultGlobalModel$2.compileEnded(DefaultGlobalModel.java:152) at edu.rice.cs.drjava.model.compiler.CompilerEventNotifier.compileEnded(CompilerEventNotifier.java:91) at edu.rice.cs.drjava.model.compiler.DefaultCompilerModel$2.run(DefaultCompilerModel.java:261) at edu.rice.cs.util.swing.Utilities.invokeLater(Utilities.java:62) at edu.rice.cs.drjava.model.compiler.DefaultCompilerModel._doCompile(DefaultCompilerModel.java:260) at edu.rice.cs.drjava.model.compiler.DefaultCompilerModel.compileAll(DefaultCompilerModel.java:150) at edu.rice.cs.drjava.ui.MainFrame._compileAll(MainFrame.java:5396) at edu.rice.cs.drjava.ui.MainFrame.access$4800(MainFrame.java:117) at edu.rice.cs.drjava.ui.MainFrame$51.actionPerformed(MainFrame.java:829) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) System Properties: DrJava Version drjava-20090821-r5004 DrJava Build Time 20090821-1520 drjava.debug.port = 54445 java.runtime.name = Java(TM) SE Runtime Environment sun.boot.library.path = C:\Program Files\Java\jre6\bin java.vm.version = 14.2-b01 java.vm.vendor = Sun Microsystems Inc. java.vendor.url = http://java.sun.com/ path.separator = ; java.vm.name = Java HotSpot(TM) Client VM file.encoding.pkg = sun.io sun.java.launcher = SUN_STANDARD user.country = US sun.os.patch.level = Service Pack 2 java.vm.specification.name = Java Virtual Machine Specification user.dir = <anonymized user.home>\Desktop java.runtime.version = 1.6.0_16-b01 java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment java.endorsed.dirs = C:\Program Files\Java\jre6\lib\endorsed os.arch = x86 java.io.tmpdir = <anonymized user.home>\AppData\Local\Temp\ line.separator = "\u000d\u000a" java.vm.specification.vendor = Sun Microsystems Inc. user.variant = os.name = Windows Vista sun.jnu.encoding = Cp1252 java.library.path = C:\Program Files\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Java\jre6\bin java.specification.name = Java Platform API Specification java.class.version = 50.0 sun.management.compiler = HotSpot Client Compiler os.version = 6.0 user.home = <anonymized user.home> user.timezone = America/New_York java.awt.printerjob = sun.awt.windows.WPrinterJob file.encoding = Cp1252 java.specification.version = 1.6 java.class.path = <anonymized user.home>\Desktop\drjava-stable-20090821-r5004.exe user.name = <anonymized user.name> java.vm.specification.version = 1.0 java.home = C:\Program Files\Java\jre6 sun.arch.data.model = 32 user.language = en java.specification.vendor = Sun Microsystems Inc. awt.toolkit = sun.awt.windows.WToolkit java.vm.info = mixed mode, sharing java.version = 1.6.0_16 java.ext.dirs = C:\Program Files\Java\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext sun.boot.class.path = C:\Program Files\Java\jre6\lib\resources.jar;C:\Program Files\Java\jre6\lib\rt.jar;C:\Program Files\Java\jre6\lib\sunrsasign.jar;C:\Program Files\Java\jre6\lib\jsse.jar;C:\Program Files\Java\jre6\lib\jce.jar;C:\Program Files\Java\jre6\lib\charsets.jar;C:\Program Files\Java\jre6\classes java.vendor = Sun Microsystems Inc. file.separator = \ java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi sun.io.unicode.encoding = UnicodeLittle sun.cpu.endian = little java.rmi.server.hostname = 127.0.0.1 sun.desktop = windows sun.cpu.isalist = pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86 #DrJava configuration file #Fri Nov 20 15:38:17 EST 2009 key.delete.next = [shift DELETE] key.delete.previous = [shift BACK_SPACE] find.replace.whole.word = true interactions.exit.prompt = false quit.prompt = false interactions.reset.prompt = false save.before.compile = true recent.files = [C:\\Users\\<anonymized user.name>\\CSworkspace\\09-10\\Test.java,C:\\Users\\<anonymized user.name>\\CSworkspace\\09-10\\arithmetic1\\src\\Expr.java,C:\\Users\\<anonymized user.name>\\CSworkspace\\09-10\\Breakout HW3A Start\\src\\BOut\\BreakOutGame.java,C:\\Users\\<anonymized user.name>\\CSworkspace\\09-10\\Breakout HW3A Start\\src\\BOut\\PowerUpStrategyPlain.java,C:\\Users\\<anonymized user.name>\\CSworkspace\\09-10\\Breakout HW3A Start\\src\\BOut\\PowerUpStrategyDecoratorIncr.java] window.height = 786 window.width = 1296 window.x = -8 window.y = -8 window.state = 6 doc.list.width = 168 last.dir = C:\\Users\\<anonymized user.name>\\CSworkspace\\09-10\\Test.java last.interactions.dir = C:\\Users\\<anonymized user.name>\\CSworkspace\\09-10 slave.jvm.xmx = 4096 tabbedpanes.state = 640 400 700 400 dialog.drjava.survey.enabled = false new.version.notification.last = 1258686298060 drjava.survey.notification.last = 1228426241828 drjava.survey.result.last = http://www.drjava.org/submit-usage.php?rev=4664&os.name=Windows%20Vista&os.version=6.0&java.version=1.6.0_07&java.vendor=Sun%20Microsystems%20Inc. file.ext.registration = always Used memory: about 18.59 megabytes Free memory: about 11.36 megabytes Total memory: about 29.95 megabytes Total memory can expand to: about 63.56 megabytes Number of processors/cores: 2 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2901404&group_id=44253 |