Open a file, switch to overwrite mode, select a line, scroll down so that the cursor isn't visible and is out of sight, type anything, editor crashes.
The application has crashed. Please report this stack trace to the developers:
java.lang.IllegalArgumentException: Index out of bounds
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.custom.StyledText.replaceTextRange(Unknown Source)
at net.sourceforge.javahexeditor.HexTexts.doModifyKeyPressed(HexTexts.java:1053)
at net.sourceforge.javahexeditor.HexTexts$MyVerifyKeyAdapter.verifyKey(HexTexts.java:522)
at org.eclipse.swt.custom.StyledTextListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
at org.eclipse.swt.custom.StyledText.handleKeyDown(Unknown Source)
at org.eclipse.swt.custom.StyledText$7.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.wmChar(Unknown Source)
at org.eclipse.swt.widgets.Control.WM_CHAR(Unknown Source)
at org.eclipse.swt.widgets.Canvas.WM_CHAR(Unknown Source)
at org.eclipse.swt.widgets.Control.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Canvas.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(Unknown Source)
at org.eclipse.swt.internal.BidiUtil.windowProc(Unknown Source)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at net.sourceforge.javahexeditor.standalone.HexEditor.run(HexEditor.java:131)
at net.sourceforge.javahexeditor.standalone.HexEditor.main(HexEditor.java:88)
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.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Please report here too:
https://github.com/iloveeclipse/javahexeditor
Thanks!
Hello Jack,
This is fixed in the 0.5.1 (2019-01-12) build which I have just uploaded to the "current" folder.
Best regards, Peter.