Re: Compiler says: "Object is not a declared class or interface"
"Andreas Schroeder" <[email protected]>
| Newsgroups | gmane.comp.lang.nice.general |
|---|---|
| Message-ID | <61007.80.184.62.35.1075672065.squirrel@webmail.informatik.uni-muenchen.de> |
Hi Arjan,
well... the bug isn't there anymore, but the developer version has other
problems.
If i compile the sources after deleting all *.class and package.nicei
files, everything's
fine. But if i recompile, i get the following two errors (alternatively)
First error:
[nicec] net.sf.fastrix: parsing
[nicec]
[nicec] H:\nFasTriX\class\net\sf\fastrix\dicing\package.nicei: line 1,
column 148:
[nicec] Class net.sf.fastrix.dicing.JPanelSuccessTest has no constructor
BUILD FAILED
Second error:
[nicec] net.sf.fastrix: linking
BUILD FAILED
java.lang.NullPointerException
at java.io.DataInputStream.skipBytes(DataInputStream.java:289)
at
nice.tools.util.fun.sourceDebugExtension(~/automated/tester/builds/Nice/src/nice/tools/util:139)
at
nice.tools.util.dispatch.sourceDebugExtension(~/automated/tester/builds/Nice/classes/nice/tools/util)
at
nice.tools.util.fun.getSourceLocation(~/automated/tester/builds/Nice/src/nice/tools/util:1)
at
nice.tools.util.dispatch.getSourceLocation(~/automated/tester/builds/Nice/classes/nice/tools/util)
at
nice.tools.util.fun$printStackTraceWithSourceInfo.lambda10(Unknown
Source)
at
nice.tools.util.fun$printStackTraceWithSourceInfo.apply1(Unknown
Source)
at gnu.expr.ModuleMethod.apply1(ModuleMethod.java:89)
at
nice.lang.fun.foreach(~/automated/tester/builds/Nice/stdlib/nice/lang:365)
at
nice.lang.dispatch.foreach(~/automated/tester/builds/Nice/classes/nice/lang)
at
nice.tools.util.fun.printStackTraceWithSourceInfo(~/automated/tester/builds/Nice/src/nice/tools/util:218)
at
nice.tools.util.dispatch.printStackTraceWithSourceInfo(~/automated/tester/builds/Nice/classes/nice/tools/util)
at
nice.tools.compiler.fun.compile(~/automated/tester/builds/Nice/src/nice/tools/compiler:136)
at nice.tools.ant.Nicec.execute(Nicec.java:305)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
at org.apache.tools.ant.Task.perform(Task.java:401)
at org.apache.tools.ant.Target.execute(Target.java:338)
at org.apache.tools.ant.Target.performTasks(Target.java:365)
at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
at org.apache.tools.ant.Main.runBuild(Main.java:669)
at org.apache.tools.ant.Main.startAnt(Main.java:220)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
Since i didn't have access to the Nicec source code nor to the generated
java code, i am not able to resolve this Exception yet... I hope this
problem can be solved soon, because i must leave Eclipse aside as editor,
since the Nice plugin locks some of the files so that deleting them is
inpossibe under windows (is this a known issue?).
Regards, Andreas
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn