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 189731 - NullPointerException at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject
Summary: NullPointerException at org.netbeans.modules.project.ui.OpenProjectList.doOpe...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-20 22:14 UTC by nobbz
Modified: 2010-12-01 06:38 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 47187


Attachments
stacktrace (1.88 KB, text/plain)
2010-08-20 22:14 UTC, nobbz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nobbz 2010-08-20 22:14:24 UTC
Build: NetBeans IDE 6.9 (Build 201007282301)
VM: OpenJDK Client VM, 14.0-b16, OpenJDK Runtime Environment, 1.6.0_17-b17
OS: Linux

User Comments:
GUEST: Ich wollte den Projektnamen umbennenen.

GUEST: Renaming a project

NobbZ: I tried to rename a project

What happened exactly:

1. because of a wrong command on the command line I deleted the project directory (nbproject)
2. I didnt realise until closing and reopening the project, the project was then called "???"
3. the "nbproject" directory was back again
4. I wanted to rename the project to its old name

GUEST: changing the name of a project

GUEST: Hello ,

I had a java project , with no external JAR's or something like that.

I just created a package "Diverse" then a MAIN class in that package "ServerSocket".

After that i tryed to REMANE the project by "right-click" on project name , then RENAME.

The name i entered contains spaces "Silence Chat Server".

Then clicked RENAME and the nullPointerException turned up.

Thank you,

V. Gabriel

GUEST: Moving a project to another folder.

GUEST: Projekt wurde umbenannt

GUEST: renaming project

GUEST: Trying to create a soapUI test project from a simple WS

GUEST: Cambiar nombre al proyecto

GUEST: Rename a WAR project

GUEST: Renaming project

GUEST: renaming a project and the project file

GUEST: Renaming project.

GUEST: mandei renomear o projeto

GUEST: renaming a project

GUEST: I tried to rename a project and the folder name.from "GUI" to "PlAr"
I've understand what cause MY exception ( #416518 )

In my project I have a file named "block\.png" (yes, with the slash!) the exception comes when I rename my project.
(changing the folder name too)
Since I deleted this file from my project was renamed with no problems!

GUEST: Trying to create a web service test project using soapUi.  I right clicked on the wsdl and it opened an dialouge box with the option to create a new test project.  When I clicked on create i got a alert box for null pointer exception.

GUEST: tried renaming a project, might have had unsupported characters




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(OpenProjectList.java:1160)
   at org.netbeans.modules.project.ui.OpenProjectList.doOpen(OpenProjectList.java:700)
   at org.netbeans.modules.project.ui.OpenProjectList.open(OpenProjectList.java:613)
   at org.netbeans.modules.project.ui.OpenProjectList.open(OpenProjectList.java:549)
   at org.netbeans.modules.project.ui.OpenProjectsTrampolineImpl.openAPI(OpenProjectsTrampolineImpl.java:75)
   at org.netbeans.api.project.ui.OpenProjects.open(OpenProjects.java:172)
Comment 1 nobbz 2010-08-20 22:14:28 UTC
Created attachment 101576 [details]
stacktrace
Comment 2 Jesse Glick 2010-11-29 22:59:36 UTC
core-main #57637df59335
Comment 3 Quality Engineering 2010-12-01 06:38:55 UTC
Integrated into 'main-golden', will be available in build *201012010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/57637df59335
User: Jesse Glick <jglick@netbeans.org>
Log: #189731: NullPointerException at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject