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.
Summary: | NullPointer found at FeatureImpl | ||
---|---|---|---|
Product: | java | Reporter: | vieiro <vieiro> |
Component: | Unsupported | Assignee: | issues@java <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | The important part of messages.log |
Description
vieiro
2006-01-03 08:41:44 UTC
Created attachment 28135 [details]
The important part of messages.log
It seems I can reproduce the error again. For the SwingWorker the generated code looks like this: protected transient void process(Object[]... ) { super.process(); } Whereas the generated code should look like this: protected void process( String args ... ) { } Note that the "process" method in a SwingWorker receives a var-arg argument, whereas the generated code ("Object[]...") does not make sense. Note: This exception is raised when I try to "Source/Override Methods... (Ctrl+I)" on the method with a var-arg argument only. I can override other methods correctly. I mean it should look like this: protected void process( String... args ) { } It looks like there is a Feature without Resource (Resource is null). It is strange. Javacore module was replaced by Retouche infrastructure. This bug is not valid in trunk any more. Reorganization of java component |