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.
On attempting to open a file in Netbeans 5.5 the following error occurred. The problem is repeatable after I close down netbeans and restart it.
Created attachment 30174 [details] image of exception dialogue box (and opened file in background)
Created attachment 30175 [details] messages log file as requested
It is reproducile also with fresh userdir? (you can use switch -userdir to avoid deleting the current userdir)
Unfortunately I cannot reproduce it in current trunk build. I expect the file in screenshot is the one you were trying to open. What I saw in the picture is ';' at the end of method line(String message). Little bit unusual, but correct. I tried to write the same class as you and all worked fine. Can you confirm that file in screenshot is the file you opened and then you got the exception?
Created attachment 30375 [details] file containing the netbeans project
The file you are seeing in the background of the image is the problem file. I tried copying the project (and then refactoring the project name and context root), and the problem was not seen in the new project. I deleted the file in question and copies a new file from the original project - still no problems. So I deleted the file from the original project and then copied the file from the new project to the old project. The error was still present in the old project (Slightly more reproducable as it now seems to occur whenever you open or close the file (logmessage.java). (In all cases the projects could be correctly built, deployed and run.) I have created a zip file of the old project (which displays the problem) so that you have something which may reproduce the problem. I will also load the 5.5 beta release soon and see if the problem still exists in the latest version.
I cannot reproduce the problem in NetBeans 5.5 beta. I have to assume that it has been fixed. I am happy for you to close this issue,if you require. /Richard
Javacore module was replaced by Retouche infrastructure. This bug is not valid in trunk any more.
Reorganization of java component