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.

Bug 187618 - [69cat] NullPointerException at org.netbeans.modules.css.refactoring.CssRefactoringPluginFactory.createInstance
Summary: [69cat] NullPointerException at org.netbeans.modules.css.refactoring.CssRefac...
Status: RESOLVED DUPLICATE of bug 186280
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-15 21:51 UTC by Jaroslav Tulach
Modified: 2010-06-22 09:10 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 170721


Attachments
stacktrace (3.74 KB, text/plain)
2010-06-15 21:51 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2010-06-15 21:51:23 UTC
This bug was originally marked as duplicate of bug 186280, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 100610-b2380dd52af9)
VM: OpenJDK Client VM, 14.0-b16, OpenJDK Runtime Environment, 1.6.0_18-b18
OS: Linux

User Comments:
jtulach: Ctrl+R on a name of innerclass

aldobrucale: Trying to rename a method (in java)




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.css.refactoring.CssRefactoringPluginFactory.createInstance(CssRefactoringPluginFactory.java:66)
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.getPlugins(AbstractRefactoring.java:140)
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.addProgressListener(AbstractRefactoring.java:281)
   at org.netbeans.modules.refactoring.spi.impl.ParametersPanel.showDialog(ParametersPanel.java:471)
   at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.refresh(RefactoringPanel.java:575)
   at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.<init>(RefactoringPanel.java:137)
Comment 1 Jaroslav Tulach 2010-06-15 21:51:31 UTC
Created attachment 100106 [details]
stacktrace
Comment 2 Marek Fukala 2010-06-22 09:10:49 UTC
Jardo, I think it really is a duplicate of the issue 186280, you probably haven't had the fix in your clone. I cannot imaging how could 

line64: FileObject file = refactoring.getRefactoringSource().lookup(FileObject.class);
line65: if(file != null && file.isFolder()) {

throw a NPE on line 65

*** This bug has been marked as a duplicate of bug 186280 ***