Skip to main content
Inspiring
May 24, 2011
Question

Unhandled event loop exception

  • May 24, 2011
  • 1 reply
  • 2018 views

I keep randomly getting this error and it locks up eclipse completely for about 3-4 minutes. Once this happens several times I eventually am forced to restart eclipse. Here is what's in the error log. Does anyone know how this can be fixed? It's making it extremely difficult to get much done.

Thanks,

Ben

Error: Unhandled event loop exception

Stack Trace:

java.lang.OutOfMemoryError: Java heap space

at com.adobe.ide.cfml.parser.generated.SimpleNode.jjtAddChild(SimpleNode.java:166)

at com.adobe.ide.cfml.parser.generated.JJTCFMLParserState.closeNodeScope(JJTCFMLParserState.java:139)

at com.adobe.ide.cfml.parser.generated.CFMLParser.start(CFMLParser.java:5528)

at com.adobe.ide.editor.model.CFMLDOMManager.buildCFMLDOM(CFMLDOMManager.java:153)

at com.adobe.ide.editor.cfml.util.orm.ORMUtils.getComponentNode(ORMUtils.java:209)

at com.adobe.ide.editor.cfml.util.orm.ORMUtils.getORMEntityName(ORMUtils.java:254)

at com.adobe.ide.editor.cfml.util.orm.ORMEntityInfo.getEntityName(ORMEntityInfo.java:37)

at com.adobe.ide.editor.cfml.util.orm.ORMUtils.getCFCPathFromEntityName(ORMUtils.java:171)

at com.adobe.ide.editor.cfml.util.orm.ORMUtils.getEntityNameHelper(ORMUtils.java:478)

at com.adobe.ide.editor.cfml.util.orm.ORMUtils.getEntityName(ORMUtils.java:422)

at com.adobe.ide.editor.model.CFMLDOMUtils.getComponentNameFromFunctionCall(CFMLDOMUtils.java:2487)

at com.adobe.ide.editor.model.CFMLDOMUtils.getComponentNameFromFunctionCall(CFMLDOMUtils.java:2438)

at com.adobe.ide.editor.model.CFMLDOMUtils1.getComponentNameFromFunctionCall(CFMLDOMUtils1.java:159)

at com.adobe.ide.editor.model.CFMLDOMUtils1.getComponentName(CFMLDOMUtils1.java:85)

at com.adobe.ide.editor.model.CFMLDOMUtils1.getFunctionDefinition(CFMLDOMUtils1.java:601)

at com.adobe.ide.editor.model.CFMLDOMUtils.createFunctionInfo(CFMLDOMUtils.java:497)

at com.adobe.ide.editor.cfml.CFMLTextHoverManager.processRuntimeCall(CFMLTextHoverManager.java:207)

at com.adobe.ide.editor.cfml.CFMLTextHoverManager.processVariableReference(CFMLTextHoverManager.java:224)

at com.adobe.ide.editor.cfml.CFMLTextHoverManager.processASTNode(CFMLTextHoverManager.java:107)

at com.adobe.ide.editor.cfml.CFMLTextHoverManager.getHoverRegion(CFMLTextHoverManager.java:78)

at org.eclipse.jface.text.TextViewerHoverManager.computeInformation(TextViewerHoverManager.java:140)

at org.eclipse.jface.text.AbstractInformationControlManager.doShowInformation(AbstractInformationControlManager.java:1120)

at org.eclipse.jface.text.AbstractHoverInformationControlManager$MouseTracker.mouseHover(AbstractHoverInformationControlManager.java:519)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:201)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383)

at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284)

Session Data:

eclipse.buildId=M20110210-1200

java.version=1.6.0_24

java.vendor=Apple Inc.

BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US

Framework arguments:  -product org.eclipse.epp.package.jee.product -keyring /Users/ben/.eclipse_keyring -showlocation

Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.jee.product -keyring /Users/ben/.eclipse_keyring -showlocation

This topic has been closed for replies.

1 reply

Inspiring
May 25, 2011

Is this the plugin or standalone install?  It appears you are running out of memory.  You could try increasing the amount of heap space in the eclipse.ini file.  You would adjust the -Xms and -Xmx settings.  See http://wiki.eclipse.org/Eclipse.ini

Inspiring
May 25, 2011

I don't see how it can be a memory issue. I modified the eclipse.ini previous to this issue to the following:

-vmargs

-Xms256m

-Xmx512m

-XX:PermSize=128m

-XX:MaxPermSize=512m

The issue seems to pop up as soon as Builder tries to do some sort of look up. I was just in the middle of typing entityLoad() and as soon as it tried to bring up the list of my ORM entities it hung.

Inspiring
May 25, 2011

The stack trace indicates that it is running out of heap memory.  Specifically:

java.lang.OutOfMemoryError: Java heap space

however, you have it set at 512mb which should be plenty of memory, so it may be another issue