| Summary: | [platform] SIOOBE in IOConsolePartition.insert | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | EPP Error Reports <error-reports-inbox> |
| Component: | Debug | Assignee: | Sarika Sinha <sarika.sinha> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | clashsoft, marcel.bruch, markus.kell.r, Michael_Rennie, osgi, sarika.sinha |
| Version: | 4.5 | ||
| Target Milestone: | 4.10 M1 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://bugs.eclipse.org/bugs/show_bug.cgi?id=76677 https://git.eclipse.org/r/129078 https://git.eclipse.org/c/platform/eclipse.platform.debug.git/commit/?id=c3c5ee9f803eeffbba3226b91d7e481cef8a7712 |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 552030 | ||
I've looked up the (to date) top-3 most similar bug groups and listed the
closest bug of each group below. This report may or may not be duplicate of
those (low or similar scores for all entries may indicate that this hasn't
been reported yet):
> 1. Bug 445268: Unhandled event loop exception (err_grp: 1f9071f8) – 0.8
> 2. Bug 448988: [egit] Problems occurred when invoking code from plug-in: "org.eclipse.text". – 0.5
> 3. Bug 448589: [wtp] IStructuredDocumentRegion management failed. – 0.5
If this report actually is a duplicate of those, please mark it as such. This
information helps me to improve the recommendations further for the next issue.
Thank you for your assistance.
Your friendly error-reports-inbox.
*** Bug 445266 has been marked as a duplicate of this bug. *** Moving to platform team for review. This was due to a bad fix that has been reverted. See bug 76936 comment 50. Oops, spoke too fast. Bug 76936 comment 48 only went into I20141118-0800 and later, so it can't be in 4.5.0.I20141029-2000. There must be another way to produce similar exceptions. I keep getting this all the time. There is a very easy way to reproduce: type in some Japanese characters into the console. Everytime I forget to switch me IME back to English mode and accidentally type in Japanese, my console crashes and I have to restart my application. New Gerrit change created: https://git.eclipse.org/r/129078 (In reply to David Leangen from comment #6) > I keep getting this all the time. There is a very easy way to reproduce: > type in some Japanese characters into the console. > > Everytime I forget to switch me IME back to English mode and accidentally > type in Japanese, my console crashes and I have to restart my application. Hi, I tried pasting these characters on console with following program but could not reproduce - public class ConsoleTest { public static void main(String[] args) { try { byte[] b = new byte[100]; for(;;) { int read = System.in.read(b); System.out.write(b, 0, read); } } catch (Exception e) { e.printStackTrace(); } } } コンサート 昨夜, 最高 昨夜のコンサートは最高でした。 Can you elaborate on the steps? Hi, I am on Mac, using the default Japanese support on my Mac (any OS will do, I think). I don't think copy-pasting works to reproduce this: you need to actually input the characters yourself. I use the romaji input, so in Japanese mode, to type "コンサート", you would need to type k-o-n-n-s-a-DASH-t-o (oops, should have used a different delimiter). If that still does not work, maybe we could take this the other way around: if you can tell me what kind of "standard" environment I should test in, I will test to ensure the same error occurs in an environment that you can more easily reproduce. Thanks, I am able to reproduce it. Gerrit change https://git.eclipse.org/r/129078 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.debug.git/commit/?id=c3c5ee9f803eeffbba3226b91d7e481cef8a7712 Verified using Eclipse SDK Version: 2018-12 (4.10) Build id: I20181009-1800 *** Bug 474737 has been marked as a duplicate of this bug. *** |
The following error was reported via the automated error reporting: code: 0 plugin: org.eclipse.ui_3.107.0.v20141010-0853 message: Unhandled event loop exception fingerprint: 11c4ed00 exception class: java.lang.StringIndexOutOfBoundsException exception message: String index out of range: 22 number of children: 0 java.lang.StringIndexOutOfBoundsException: String index out of range: 22 at java.lang.AbstractStringBuilder.insert(null:-1) at java.lang.StringBuffer.insert(null:-1) at org.eclipse.ui.internal.console.IOConsolePartition.insert(IOConsolePartition.java:75) at org.eclipse.ui.internal.console.IOConsolePartitioner.documentChanged2(IOConsolePartitioner.java:394) at org.eclipse.jface.text.AbstractDocument.updateDocumentStructures(AbstractDocument.java:696) at org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:793) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1191) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210) at org.eclipse.ui.internal.console.ConsoleDocument.replace(ConsoleDocument.java:92) at org.eclipse.ui.internal.console.ConsoleDocumentAdapter.replaceTextRange(ConsoleDocumentAdapter.java:266) at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7286) at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:8137) at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2501) at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5973) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:6004) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5681) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1070) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1112) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1108) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1529) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4746) at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:343) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4627) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5037) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(OS.java:-2) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:638) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:582) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(null:-2) at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1) at java.lang.reflect.Method.invoke(null:-1) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) General Information: reported-by: anonymous-id: 0fc19c81-9a6c-4900-bcb1-f3ea44e7c721 eclipse-build-id: 4.5.0.I20141029-2000 eclipse-product: org.eclipse.epp.package.committers.product operating system: WindowsXP 5.1.0 (x86) - win32 jre-version: 1.8.0_25-b18 The following plug-ins were present on the execution stack (*): 1. org.eclipse.core.databinding.observable_1.4.1.v20140910-2107 2. org.eclipse.core.databinding_1.4.100.v20141002-1314 3. org.eclipse.core.runtime_3.10.0.v20140724-1132 4. org.eclipse.e4.ui.workbench_1.3.0.v20141024-2249 5. org.eclipse.e4.ui.workbench.swt_0.12.100.v20141020-2115 6. org.eclipse.equinox.app_1.3.200.v20130910-1609 7. org.eclipse.equinox.launcher_1.3.0.v20140415-2008 8. org.eclipse.jface.text_3.10.0.v20141027-1716 9. org.eclipse.jface_3.11.0.v20141013-0842 10. org.eclipse.swt_3.104.0.v20141029-1116 11. org.eclipse.ui_3.107.0.v20141010-0853 12. org.eclipse.ui.console_3.6.0.v20140812-1255 13. org.eclipse.ui.ide.application_1.0.600.v20141003-0522 14. org.eclipse.ui.ide_3.10.100.v20141024-1629 Please note that: * Messages, stacktraces, and nested status objects may be shortened. * Bug fields like status, resolution, and whiteboard are sent back to reporters. * The list of present bundles and their respective versions was calculated by package naming heuristics. This may or may not reflect reality. Please visit http://goo.gl/MWFSff for further details. Thank you for your assistance. Your friendly error-reports-inbox.