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
Depends on:
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

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

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)

   at org.netbeans.modules.css.refactoring.CssRefactoringPluginFactory.createInstance(
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.getPlugins(
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.addProgressListener(
   at org.netbeans.modules.refactoring.spi.impl.ParametersPanel.showDialog(
   at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.refresh(
   at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.<init>(
Comment 1 Jaroslav Tulach 2010-06-15 21:51:31 UTC
Created attachment 100106 [details]
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 ***