Just started a new Java project. While writing the code encountered following : I wrote this line: NewClassName myNewClass = new NewClassName(config); Where config is an instance of javax.security.auth.login.Configuration Editor marked the line as an error and offered to create this new class. I didn't look through the whole list of suggestions and picked up the first one: create class in the current project. New empty class was created, but the line was still marked as erroneous. I did click on the light bulb again and there were no suggestion to create a constructor with parameter. It offered to create the class again or create a class with the constructor. Now, I selected the second option and class was created with an empty constructor with proper parameter, but file name was NewClassName_1. So, I deleted the first file and tried to rename the second one into the first. I got popup window saying that classpath scanning is in progress, although status bar does not show any activity. After waiting for about 10 minutes I cancelled renaming and deleted the this file too. Went back to the original code and repeated the previous action. class file was created with the empty constructor with parameter. However, the line of code above was still marked as erroneous. When I clicked on the light bulb I got a suggestion to create a constructor again. Fine I did select this option and another constructor with the same signature was created with a line throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. Now I got an error in the new class, because of duplicate constructor. After I did remove the duplicate Netbeans editor finally became happy.
My question is : Did anyone experienced the same behavior? Have a bug report was created on that? Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion]