This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[Own stavbicka build, checkout of stavbicka and trunk modules today morning, JDK 1.4.2_03] I opened My App demo project and org.me.myapp.Main.java file and line: import org.me.mylib.LibClass; was marked by error annotation with message: Cannot access org.me.mylib.LibClass Bad class file: null Unable to access file: No such file or directory Please remove or make sure it appears in the correct subdirectory of the classpath. My Lib project is opened too. Project can be successfully built and also run.
Doesn't happen when running IDE again with clean userdir.
Milan, are you able to reproduce it somehow?
Not really, happened just once.
Happened to me again. The error message for affected import is now: package org.mylibrary doesn't exist Happened after creating project and then library, setting classpath of project to depend on library after while of writing code I closed library and used pop-up menu of the project to "Open required projects". Then I started to write code again and the library gets marked by error annotation. Project can be re/built and run succesfully. This time I was running IDE on JDK 1.5.0 b42.
Is this still true?
I will take a look at it.
Can not reproduce, probably already fixed. It may be also caused by the lib build product, which may not be up to date.
Probably fixed.