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 250684 - NullPointerException: The file parameter cannot be null
Summary: NullPointerException: The file parameter cannot be null
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-25 11:04 UTC by dimaki
Modified: 2015-03-31 02:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 215660


Attachments
stacktrace (9.66 KB, text/plain)
2015-02-25 11:04 UTC, dimaki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dimaki 2015-02-25 11:04:12 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 7

User Comments:
dimaki: Refactore class (move to different package)




Stacktrace: 
java.lang.NullPointerException: The file parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:868)
   at org.netbeans.modules.refactoring.java.RefactoringUtils.getRootFileObject(RefactoringUtils.java:1025)
   at org.netbeans.modules.refactoring.java.plugins.MoveFileRefactoringPlugin.fastCheckParameters(MoveFileRefactoringPlugin.java:205)
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsFastCheckParams(AbstractRefactoring.java:530)
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.fastCheckParameters(AbstractRefactoring.java:283)
Comment 1 dimaki 2015-02-25 11:04:14 UTC
Created attachment 152202 [details]
stacktrace
Comment 2 Ralph Ruijs 2015-03-30 11:46:25 UTC
changeset:   2b08f0c86745
user:        Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date:        Mon Mar 30 13:45:24 2015 +0200
summary:     #250684 - NullPointerException: The file parameter cannot be null
Comment 3 Quality Engineering 2015-03-31 02:44:30 UTC
Integrated into 'main-silver', will be available in build *201503310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2b08f0c86745
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #250684 - NullPointerException: The file parameter cannot be null