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 258932

Summary: OutOfMemoryError: Java heap space
Product: javafx Reporter: Eof273
Component: Visual Tool IntegrationAssignee: Roman Svitanic <rsvitanic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 201026
Attachments: stacktrace

Description Eof273 2016-04-21 03:00:17 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Windows 7

User Comments:
GUEST: running my program whihc had an activemq broker

GUEST: Was debugging a javascript ajax callback testing using internal webkit browser and internal server. Put breakpoint in the javascript callback function, and netbeans locked up and took all the processor. Had to kill netbeans.

GUEST: Configured a remote git repository

GUEST: init netbeans

GUEST: Starting NetBeance with project.

Eof273: Debugging in IDE browser;




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOfRange(Arrays.java:3664)
   at java.lang.String.<init>(String.java:201)
   at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:909)
   at java.lang.StringBuilder.substring(StringBuilder.java:76)
   at org.netbeans.core.startup.logging.PrintStreamLogger.run(PrintStreamLogger.java:190)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
Comment 1 Eof273 2016-04-21 03:00:20 UTC
Created attachment 159354 [details]
stacktrace
Comment 2 Tomas Hurka 2016-04-21 11:12:39 UTC
OutOfMemoryError is caused by the following exception on log file.

java.lang.IllegalStateException: Nested event loops are allowed only while handling system events
	at com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(QuantumToolkit.java:580)
	at com.sun.javafx.webkit.EventLoopImpl.cycle(EventLoopImpl.java:59)
	at com.sun.webkit.EventLoop.fwkCycle(EventLoop.java:45)
	at com.sun.webkit.Timer.twkFireTimerEvent(Native Method)
	at com.sun.webkit.Timer.fireTimerEvent(Timer.java:83)
	at com.sun.webkit.Timer.notifyTick(Timer.java:64)
	at javafx.scene.web.WebEngine$PulseTimer.lambda$static$45(WebEngine.java:1167)
	at javafx.scene.web.WebEngine$PulseTimer$$Lambda$93/647851557.pulse(Unknown Source)
	at com.sun.javafx.tk.Toolkit.lambda$runPulse$30(Toolkit.java:314)
	at com.sun.javafx.tk.Toolkit$$Lambda$158/997243896.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:313)
	at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:340)
	at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:525)
	at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:505)
	at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$400(QuantumToolkit.java:334)
	at com.sun.javafx.tk.quantum.QuantumToolkit$$Lambda$64/275683845.run(Unknown Source)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at com.sun.glass.ui.win.WinApplication.lambda$null$145(WinApplication.java:101)
	at com.sun.glass.ui.win.WinApplication$$Lambda$60/1570039615.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:745)


Reassigning to javafx.