|
From: <no...@so...> - 2002-07-01 18:26:46
|
Bugs item #576081, was opened at 2002-07-01 18:26 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=576081&group_id=44253 Category: Compiler integration Group: Crashes Status: Open Resolution: None Priority: 7 Submitted By: Charles Reis (csreis) Assigned to: Nobody/Anonymous (nobody) Summary: NullPointer if CompilerErrors in 2 files Initial Comment: If two files have errors in them and one depends on the other, compiling the first will show a list of errors in both files. Switching to the second file (or putting the cursor at the end of the second file) causes a NullPointerException in CompilerErrorPanel. Sample code: // Class 1 ---- public class Foo2 { Foo f = new Foo(); // End Class 1 ---- // Class 2 ---- public class Foo { public int x = 3; public static void main(String[] args) { System.out.println("Running program with arg: " + args[0]); } } } // End Class 2 ---- (It may be something specific about this type of error...) Compile Foo2, then switch to Foo and put the cursor at the end. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=576081&group_id=44253 |