Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 132884 - NPE when open projects of newer versions
NPE when open projects of newer versions
Product: cnd
Classification: Unclassified
Component: Project
All Linux
: P2 (vote)
: 6.x
Assigned To: Thomas Preisler
Depends on:
  Show dependency treegraph
Reported: 2008-04-15 14:13 UTC by alexandrov
Modified: 2008-06-04 08:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT

log with NPE (49.20 KB, text/plain)
2008-04-15 14:17 UTC, alexandrov

Note You need to log in before you can comment on or make changes to this bug.
Description alexandrov 2008-04-15 14:13:50 UTC
Create any sample project on 6.1rc1
Try to open this project on 6.1 beta => attached NPE occurs
issue #114036 about the same problem but with the older versions of IDE in its summary and it's told there that NPE were
fixed before 6.1beta were released
Comment 1 alexandrov 2008-04-15 14:17:05 UTC
Created attachment 60206 [details]
log with NPE
Comment 2 alexandrov 2008-04-15 14:29:10 UTC
This problem is more critical for Sunstudio where Welcome project opens in IDE by default, so we can receive NPE just
starting IDE
Comment 3 Alexander Pepin 2008-04-15 14:46:03 UTC
A bit different NPE occured in SunStudio IDE based on NB6.0.1 when I tried to open a project modified with SS IDE base
on NB6.1 (preliminary build). First of all a message appeared saying that XML was created with a newer version, that's
OK. Then I close the project, delete it from console and restored original version (made with 6.0.1) from archive. When
I tried to open restored project I got the following NPE:
	at org.netbeans.modules.project.ui.actions.ActiveConfigAction.activeProjectChanged(
	at org.netbeans.modules.project.ui.actions.ActiveConfigAction.access$900(
	at org.netbeans.modules.project.ui.actions.ActiveConfigAction$3.propertyChange(
	at java.beans.PropertyChangeSupport.firePropertyChange(
	at java.beans.PropertyChangeSupport.firePropertyChange(
	at org.netbeans.modules.project.ui.OpenProjectList.setMainProject(
	at org.netbeans.modules.project.ui.actions.OpenProject.actionPerformed(
	at javax.swing.AbstractButton.fireActionPerformed(
	at javax.swing.AbstractButton$Handler.actionPerformed(
	at javax.swing.DefaultButtonModel.fireActionPerformed(
	at javax.swing.DefaultButtonModel.setPressed(
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
	at java.awt.AWTEventMulticaster.mouseReleased(
	at java.awt.AWTEventMulticaster.mouseReleased(
	at java.awt.Component.processMouseEvent(
	at javax.swing.JComponent.processMouseEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.LightweightDispatcher.retargetMouseEvent(
	at java.awt.LightweightDispatcher.processMouseEvent(
	at java.awt.LightweightDispatcher.dispatchEvent(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
[catch] at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

The new project appeared in the Projects tab as broken. It seems that NB tried to operate with a new project like with
old one (both projects had the same name). So I had to restart IDE to be able to open my correct project.
Comment 4 Alexander Pepin 2008-04-15 14:56:57 UTC
sorry, I unintentionally changed the priority set by Thomas
Comment 5 Thomas Preisler 2008-04-16 16:36:11 UTC
6.1 patch candidate. Need to have it fixed first though....
Comment 6 Thomas Preisler 2008-04-16 22:57:29 UTC

changeset:   78217:13c24f7d1e60
tag:         tip
user:        Thomas Preisler <>
date:        Wed Apr 16 14:52:10 2008 -0700
summary:     132884 NPE when open projects of newer versions

Comment 7 Thomas Preisler 2008-04-16 23:24:39 UTC
changeset 13c24f7d1e60 in main
	132884 NPE when open projects of newer versions
Comment 8 alexandrov 2008-04-18 19:04:56 UTC
verified in trunk 200804180004
Comment 9 rbalada 2008-04-29 15:15:34 UTC
I've transplanted the changeset;node=13c24f7d1e60
into release61_fixes repository as

changeset:   77503:6003b544f88d
user:        Thomas Preisler <>
date:        Wed Apr 16 14:52:10 2008 -0700
summary:     132884 NPE when open projects of newer versions

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo