This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
After I changed Term.textWithin, to call visitLines() with newlines=true and then call: term.textWithin( Coord.make(0,0), term.getCursorCoord() ) I always got following exception: java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at java.lang.StringBuffer.append(StringBuffer.java:498) at org.netbeans.lib.terminalemulator.Term$1.visit(Term.java:635) at org.netbeans.lib.terminalemulator.Buffer.visitLines(Buffer.java:177) at org.netbeans.lib.terminalemulator.Term.visitLines(Term.java:690) at org.netbeans.lib.terminalemulator.Term.textWithin(Term.java:633) So I rollbacked my change in textWithin for now.
Target milestone was changed from '3.4' to TBD.
Exceptions to be treated as P2
Is it still valid??? It is pretty old one. I bet it is outdated.
The AIOOB occurs when an API is used in a novel way. Ales backed out his change so no existing code that causes this exception. Ales are you still with us? Do you remember what you were trying to accomplish with visitLines? Save to file perhaps?