Q7

Java heap space error during manual ECL script editing.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.2.22
  • Fix Version/s: 1.3.8
  • Component/s: ECL, UI
  • Labels:
    None
  • Test Mode:
    Manual

Description

Q7 hung for a few seconds and threw an Exception when I manually changed ECL script (MU - 207 - Combine Elements in Table Views). The changed script (I 'packed' 3 assertions into 'with' block):

with [get-editor "Var_Component" | get-nebula-grid] {
    select "Air duct Type C" "Air duct Type K" "Audio connector_config_148_config_250_config_93_config_15_config_261_config_135_config_189_config_190_config_165_config_202_config_10_config_94_config_52_config_268_config_171_config_9_config_154_config_22_config_213_config_123_config_51_config_166_config_177_config_46_config_141_config_262_config_63_config_75_config_111_config_279_config_220_config_160_config_16_config_244_config_64_config_237_config_106_config_100_config_159_config_136_config_69_config_196_config_226_config_118_config_208_config_87_config_219_config_21_config_99_config_256_config_105_config_57_config_40_config_129_config_34_config_285_config_124_config_286_config_172_config_267_config_130_config_81_config_201_config_112_config_184_config_273_config_232_config_58_config_214_config_183_config_178_config_27_config_76_config_70_config_117_config_195_config_3_config_28_config_142_config_82_config_243_config_280_config_88_config_225_Low-End Config_config_45_config_4_config_153_config_255_config_39_config_249_config_147_config_33_config_238_config_231_config_274_config_207"
    get-item "Air duct Type K" | get-item-cell -column Name | get-menu Combine | click
    select "Air duct Type C"
}

When I typed '[' after 'with' Q7 hung for a while and threw an exception into Error Log:

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError: Java heap space)
at org.eclipse.swt.SWT.error(SWT.java:4282)
at org.eclipse.swt.SWT.error(SWT.java:4197)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.util.Arrays.copyOf(Unknown Source)
at java.util.ArrayList.ensureCapacity(Unknown Source)
at java.util.ArrayList.add(Unknown Source)
at com.xored.q7.ecl.parser.EclWhitespaceParser.parse(EclWhitespaceParser.java:71)
at com.xored.q7.ecl.parser.EclViewerParser.isInsideComment(EclViewerParser.java:332)
at com.xored.q7.ecl.parser.EclViewerParser.reportCompletionProposals(EclViewerParser.java:176)
at com.xored.q7.ecl.parser.EclViewerParser.reportCompletionProposals(EclViewerParser.java:106)
at com.xored.q7.ui.editors.ecl.EclContentAssistProcessor.computeCompletionProposals(EclContentAssistProcessor.java:29)
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1830)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:556)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:553)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:488)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:482)
at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:377)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    29/Aug/13 11:33 AM
    Updated:
    07/Oct/13 1:11 PM
    Resolved:
    07/Oct/13 1:11 PM