Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 20626 - AIOOBE from Term.textWithin
AIOOBE from Term.textWithin
Product: cnd
Classification: Unclassified
Component: Terminalemulator
PC Windows ME/2000
: P4 (vote)
Assigned To: ivan
Depends on:
  Show dependency treegraph
Reported: 2002-02-18 08:34 UTC by akemr
Modified: 2010-12-19 06:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description akemr 2002-02-18 08:34:39 UTC
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:

        at java.lang.System.arraycopy(Native Method)
        at java.lang.StringBuffer.append(
        at org.netbeans.lib.terminalemulator.Term$1.visit(
        at org.netbeans.lib.terminalemulator.Buffer.visitLines(
        at org.netbeans.lib.terminalemulator.Term.visitLines(
        at org.netbeans.lib.terminalemulator.Term.textWithin(
So I rollbacked my change in textWithin for now.
Comment 1 Marek Grummich 2002-07-22 08:32:10 UTC
Target milestone was changed from '3.4' to TBD.
Comment 2 Marek Grummich 2002-07-22 08:40:26 UTC
Target milestone was changed from '3.4' to TBD.
Comment 3 Marek Grummich 2002-07-22 09:00:33 UTC
Target milestone was changed from '3.4' to TBD.
Comment 4 Marek Grummich 2002-07-22 09:07:56 UTC
Target milestone was changed from '3.4' to TBD.
Comment 5 ivan 2010-12-16 09:23:42 UTC
Exceptions to be treated as P2
Comment 6 Leonid Lenyashin 2010-12-16 10:29:34 UTC
Is it still valid??? It is pretty old one. I bet it is outdated.
Comment 7 ivan 2010-12-19 06:52:26 UTC
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?

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo