RE: [abc-users] polyglot.util.InternalCompilerError

From: James Crowley <james@developerfusion.com>
Date: Mon Nov 15 2004 - 15:56:15 GMT

I just created a single file called Parser.java:

package world;

class Parser
{
        public static void main(String args[])
        {
           System.out.println("Hello World!");
        }
}

Placed it in a directory "C:\abcTest\world", and called

C:\abcTest>abc world\*.java [or abc -sourceroots .]
Exception in thread "main" polyglot.util.InternalCompilerError: unhandled
exception during compilation
        at abc.main.Main.run(Main.java:666)
        at abc.main.Main.main(Main.java:196)
Caused by: java.lang.NullPointerException
        at
polyglot.types.reflect.ClassFileLoader.loadFromFile(ClassFileLoader.j
ava:188)
<snip>

My class path is set to ". ;C:\abc\lib\abc-runtime.jar;"

Any ideas?

Cheers,

~ James Crowley
---------------------------------------------------------------------
Developer Fusion - Programming tutorials & articles
Codezone UK - The new UK developer resource
---------------------------------------------------------------------
Developer Fusion Blogs - Want one too? Just let me know!

-----Original Message-----
From: Majordomo list server [mailto:majordomo@comlab.ox.ac.uk] On Behalf Of
Pavel Avgustinov
Sent: 15 November 2004 15:43
To: abc-users@comlab.ox.ac.uk
Subject: Re: [abc-users] polyglot.util.InternalCompilerError

Just a gut feeling, could you try if the same problem occurs if you try
compiling from a directory that doesn't contain a space in its path?

Is there a small example that you can reproduce the problem with on your
machine? I mean, just a directory structure with an empty class
definition that causes it, or something similar. It would be useful to
see exactly what goes wrong.

Cheers,
Pavel
Received on Mon Nov 15 15:56:27 2004

This archive was generated by hypermail 2.1.8 : Tue Nov 16 2004 - 12:00:03 GMT