Bug 484282 - OOB exception while using console
Summary: OOB exception while using console
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: terminal (show other bugs)
Version: Next   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-13 06:11 EST by Vlad Gheorghe CLA
Modified: 2020-09-04 15:11 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vlad Gheorghe CLA 2015-12-13 06:11:18 EST
Setup: Console connected to Ardiuno over serial/usb.
 

What steps will reproduce the problem?
1. console receives data (overload mode)



-- Error Details --
Date: Sun Dec 13 13:03:44 EET 2015
Message: 189
Severity: Error
Product: Eclipse 4.5.1.20150917-1200 (org.eclipse.epp.package.cpp.product)
Plugin: org.eclipse.tm.terminal.control
Session Data:
eclipse.buildId=4.5.1.M20150904-0015
java.version=1.8.0_66
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.cpp.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.cpp.product

Exception Stack Trace:
java.lang.ArrayIndexOutOfBoundsException: 189
	at org.eclipse.tm.internal.terminal.model.SnapshotChanges.setChangedLine(SnapshotChanges.java:386)
	at org.eclipse.tm.internal.terminal.model.SnapshotChanges.scrollChangesLinesWithNegativeShift(SnapshotChanges.java:262)
	at org.eclipse.tm.internal.terminal.model.SnapshotChanges.scroll(SnapshotChanges.java:218)
	at org.eclipse.tm.internal.terminal.model.TerminalTextDataSnapshot.scroll(TerminalTextDataSnapshot.java:221)
	at org.eclipse.tm.internal.terminal.model.TerminalTextData.sendScrolledToSnapshots(TerminalTextData.java:176)
	at org.eclipse.tm.internal.terminal.model.TerminalTextData.addLine(TerminalTextData.java:219)
	at org.eclipse.tm.internal.terminal.model.SynchronizedTerminalTextData.addLine(SynchronizedTerminalTextData.java:30)
	at org.eclipse.tm.internal.terminal.emulator.VT100EmulatorBackend.doNewline(VT100EmulatorBackend.java:364)
	at org.eclipse.tm.internal.terminal.emulator.VT100EmulatorBackend.processNewline(VT100EmulatorBackend.java:376)
	at org.eclipse.tm.internal.terminal.emulator.VT100Emulator.processNewline(VT100Emulator.java:1215)
	at org.eclipse.tm.internal.terminal.emulator.VT100Emulator.processNewText(VT100Emulator.java:309)
	at org.eclipse.tm.internal.terminal.emulator.VT100Emulator.processText(VT100Emulator.java:267)
	at org.eclipse.tm.internal.terminal.emulator.VT100TerminalControl$3.run(VT100TerminalControl.java:498)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Comment 1 Jonah Graham CLA 2020-05-01 10:08:58 EDT
The Terminal component of the Eclipse Ecosystem has a new home. The Terminal is now part of the Eclipse CDT project[1].

This change means a new Git repo[2], P2 site[3] and Bugzilla component. The terminal will continue to be delivered as part of the quarterly Simultaneous Release of Eclipse as well.

The marketplace entry[4] had not been updated in a few years. It will once again install the latest release of the terminal on the latest release of the whole IDE (currently 2020-03).

If this bug is no longer relevant, please feel free to comment or close the bug. If you can confirm if this issues still occurs in the latest release please do let me know in a comment.

[1] https://wiki.eclipse.org/CDT/User/NewIn911
[2] https://git.eclipse.org/c/cdt/org.eclipse.cdt.git (in the terminal directory)
[3] current release is 9.11 - P2 site https://download.eclipse.org/tools/cdt/releases/9.11/
[4] https://marketplace.eclipse.org/content/tm-terminal

(This comment was added to all open terminal bugs along with changing the Product/component pair to CDT/terminal.)