Menu

#16 Chokes on odd chars

closed
5
2003-12-24
2003-12-22
No

I get this exception when compiling a directory of java
files. The error message does not identify a file name or
row/column. A search through my source for a
char=decimal 190 (hex 0xBE) doesn't turn up anything.

Probably should catch this error and report file/line/row.

Exception in thread "main"
net.janino.Scanner$ScanException: Invalid character i
nput "╛" (character code 190)
at net.janino.Scanner.internalRead(Unknown
Source)
at net.janino.Scanner.<init>(Unknown Source)
at net.janino.Compiler.parseCompilationUnit
(Unknown Source)

Discussion

  • Arno Unkrig

    Arno Unkrig - 2003-12-24
    • status: open --> closed
     
  • Arno Unkrig

    Arno Unkrig - 2003-12-24

    Logged In: YES
    user_id=865893

    "ScanException"s now have an associated "Scanner.Location",
    i.e. they report file name, line and column number.

    This is not a fix for the reported bug, but a means to help
    debugging. Please open another bug report when you've come
    closer to the "190" problem.

     
  • Chris Cleveland

    Chris Cleveland - 2003-12-31

    Logged In: YES
    user_id=68865

    The fix made to 1.0.7 found the problem. I was attempting to
    compile a directory that included a ".class" file. It was trying
    to compile that file.

     

Log in to post a comment.

MongoDB Logo MongoDB