]
Jeff MAURY closed JBIDE-23316.
------------------------------
Resolution: Won't Fix
browsersim is deprecated
BrowserSim save screenshot fails with ArrayIndexOutOfBoundsException
--------------------------------------------------------------------
Key: JBIDE-23316
URL:
https://issues.redhat.com/browse/JBIDE-23316
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: browsersim
Affects Versions: 4.4.2.AM2
Reporter: Pavol Srna
Assignee: Ilya Buziuk
Priority: Major
Fix For: 4.16.x
{code}
2016-10-11 17:13:48.461:INFO::JavaFX Application Thread: Logging initialized @1366ms
2016-10-11 17:13:48.566:INFO:oejs.Server:JavaFX Application Thread:
jetty-9.3.9.v20160517
2016-10-11 17:13:48.616:INFO:oejsh.ContextHandler:JavaFX Application Thread: Started
o.e.j.s.ServletContextHandler@433defed{/,null,AVAILABLE}
2016-10-11 17:13:48.630:INFO:oejs.AbstractConnector:JavaFX Application Thread: Started
ServerConnector@6f53b8a{HTTP/1.1,[http/1.1]}{0.0.0.0:64959}
2016-10-11 17:13:48.630:INFO:oejs.Server:JavaFX Application Thread: Started @1535ms
Failed to execute runnable (java.lang.ArrayIndexOutOfBoundsException: 383097)
Stack trace:
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.ArrayIndexOutOfBoundsException: 383097)
at org.eclipse.swt.SWT.error(SWT.java:4533)
at org.eclipse.swt.SWT.error(SWT.java:4448)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4024)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3700)
at
org.jboss.tools.browsersim.ui.launch.BrowserSimRunner.main(BrowserSimRunner.java:127)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 383097
at org.eclipse.swt.graphics.Image.createRepresentaion(Image.java:1204)
at org.eclipse.swt.graphics.Image.init(Image.java:1108)
at org.eclipse.swt.graphics.Image.<init>(Image.java:429)
at
org.jboss.tools.browsersim.ui.menu.ScreenshotMenuCreator.takeScreenshot(ScreenshotMenuCreator.java:173)
at
org.jboss.tools.browsersim.ui.menu.ScreenshotMenuCreator.access$0(ScreenshotMenuCreator.java:138)
at
org.jboss.tools.browsersim.ui.menu.ScreenshotMenuCreator$1$1.run(ScreenshotMenuCreator.java:69)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
... 3 more
{code}