Menu

#245 JCompiler: ArrayIndexOutOfBoundsError showing error messages

open
Gerard
None
6
2014-08-23
2004-01-11
No

Compiling (jcompile) the attached program I've got the
below error:

This is the JCompiler shell.
This shell offers four commands:
* "javac [options] files..." -- invokes the javac
compiler (the one chosen in the option pane)
* "compile" -- compiles the current file
* "compilepkg" -- determines basedir of current file
and compiles all outdated files in the basedir tree
* "rebuildpkg" -- determines basedir of current file
tree and recompiles all files in the basedir tree.

JCompiler ready.
> compile
Compiling /mnt/zip/Java/j24ore/15/LottoEvent.java...

Command line:
javac -classpath .:/mnt/zip/Java/j24ore/15 -g
/mnt/zip/Java/j24ore/15/LottoEvent.java

/mnt/zip/Java/j24ore/15/LottoEvent.java:71: '}' expected
^
^
^
^
An error occured invoking the Java compiler class
com.sun.tools.javac.Main!
The detailed error message was:
java.lang.ArrayIndexOutOfBoundsException: Array index
out of range: 1624
Please report this message and any further messages
from the Activity Log to the current maintainer of
JCompiler. Thank you.

Best regards

Marco.

Discussion

  • Marco Antonio Leanza

    Incomplete Java program

     
  • Marco Antonio Leanza

    • priority: 5 --> 6
    • summary: Problems compiling a java prg with 4.2pre8 and J2se 1.4.2_02 --> Problem compiling under Linux with 4.2pre8 and J2se 1.4.2_02
     
  • Slava Pestov

    Slava Pestov - 2004-01-25
    • labels: 102668 -->
    • milestone: 101608 -->
     
  • Justin Dyson

    Justin Dyson - 2004-01-26

    Logged In: YES
    user_id=946373

    Marco, this is not a jEdit problem, but just a problem with
    your code. You have a } missing at the end of your code....

     
  • Justin Dyson

    Justin Dyson - 2004-01-26

    Logged In: YES
    user_id=946373

    oh ok you know that, you're just reporting the array index
    error :)

     
  • Alan Ezust

    Alan Ezust - 2006-09-04
    • summary: Problem compiling under Linux with 4.2pre8 and J2se 1.4.2_02 --> JCompiler: ArrayIndexOutOfBoundsError showing error messages
     
  • Alan Ezust

    Alan Ezust - 2009-12-24
    • assigned_to: nobody --> gerardsmyth
     

Log in to post a comment.