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.
Build: NetBeans IDE Dev (Build 201509170002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27 OS: Windows 7 User Comments: MackSix: 1. Ran Inpect & Transform: If-Else must use braces on JEdit 5.2 source code. 2. Looked at a few files in the preview Diff view and got this exception: https://netbeans.org/bugzilla/show_bug.cgi?id=255371 3. I did the refactoring and then an UNDO. 4. Then I deleted the project and chose to delete the fodler with it. Afterwards, I viewed the location of teh project in Windows File Explorer and the project was not delted it. While looking at it, this exception was thrown in NetBeans. Stacktrace: java.lang.NullPointerException: The p parameter cannot be null at org.openide.util.Parameters.notNull(Parameters.java:89) at org.netbeans.api.project.ProjectUtils.getSources(ProjectUtils.java:109) at org.netbeans.modules.java.freeform.Classpaths$RemoveSources.<init>(Classpaths.java:773) at org.netbeans.modules.java.freeform.Classpaths.createCompileClasspath(Classpaths.java:436) at org.netbeans.modules.java.freeform.Classpaths.createProcessorClasspath(Classpaths.java:496) at org.netbeans.modules.java.freeform.Classpaths.access$600(Classpaths.java:126)
Created attachment 156261 [details] stacktrace
Created attachment 156262 [details] stacktrace 1. Ran Inpect & Transform: If-Else must use braces on JEdit 5.2 source code. 2. Looked at a few files in the preview Diff view. 3. I did the refactoring and then an UNDO. 4. Then I deleted the project and chose to delete the fodler with it. 5. Viewed the location of the project in Windows File Explorer and the project was not delted it. I copied a backup copy of the project over it and while copying was being performed, this exception was thrown in NetBeans. It was thrown when I was promted by Windows to replace or keep both copies of ".gitaccess" file. (This is a file that was already in the project, I did not initialize a git repository on the project.)
Created attachment 156263 [details] stacktrace 1. Ran Inspect & Transform: If-Else must use braces on JEdit 5.2 source code. 2. Looked a graphical preview Diff of one of the files. 3. Clicked refactor. 4. Did UNDO on refactor. 5. Delted project, but the projec was not really deleted. 6. After project was deleted, this exceptoin was thrown. (I did not try to copy over with backup project this time, so it appears that has nothing to do with it.)
Fixed jet-main 411169f70026
Integrated into 'main-silver', will be available in build *201509190002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/411169f70026 User: Tomas Zezula <tzezula@netbeans.org> Log: #255380:NullPointerException: The p parameter cannot be null
v. fixed. Product Version: NetBeans IDE Dev (Build 201509220002) Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)