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.
This seems to be new to the 10/22/2007 daily build as I did not see it from the build of the 17th. I have a method that checks to see if a parameter is null. The editor reports that: operator == cannot be applied to com.mycorp.mypackage.MyClass, <nulltype> Obviously, you can check to see if a class == null.
Can you provide more info about your project? Do you use libraries? If yes how are they configured?
This usually happens when the type of the variable (parameter in this case) cannot be correctly resolved (ie. the type itself is errorneous, or if its superclass cannot be resolved). Sorry, we will need more info on how to reproduce. Thanks.
Yes we have libraries but the error wasn't being reported on a class inside one...it was for a class local to the project. Note again that I opened up that class and saw that it had no errors, then went back to the class showing the error and it was still there. After doing a clean build, at some time later, the error was no longer reported.
*** This issue has been marked as a duplicate of 118348 ***