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 108912 - invalid projects generate NPE and keep getting parsed
Summary: invalid projects generate NPE and keep getting parsed
Status: RESOLVED DUPLICATE of bug 93126
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: Sun All
: P1 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-04 22:54 UTC by ivan
Modified: 2007-07-24 02:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivan 2007-07-04 22:54:36 UTC
create a project with sunstudio12.
then open the project with sunstudio12-6.0
then go back to sunstudio12.

You'll get a warning that the project version is more than ss12 can handle.
That is because ss12-6.0 quietly upped the version #. This isn't desirable
but it's not my main concernin this report.

You'll also get an NPE sometimes down the line because the project failed
to get opened. (See below)
And the parser "jobs" for the mis-opened projects "keep going", that is,
the progress bar at the lower right of the IDE keeps running and when
you exit the ide puts up the "processes are still running" dialog.

at org.netbeans.modules.cnd.makeproject.NativeProjectProvider.addMyListeners(NativeProjectProvider.java:68)
	at org.netbeans.modules.cnd.makeproject.NativeProjectProvider.addProjectItemsListener(NativeProjectProvider.java:124)
	at org.netbeans.modules.cnd.modelimpl.platform.ModelSupport.registerProjectListeners(ModelSupport.java:352)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.ensureFilesCreated(ProjectBase.java:357)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase$2.run(ProjectBase.java:481)
	at org.netbeans.modules.cnd.modelimpl.csm.core.CodeModelRequestProcessor$1.run(CodeModelRequestProcessor.java:57)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 Jesse Grodnik 2007-07-17 07:08:53 UTC
QA escalated. Priority set to P1 because of NPE.
Comment 2 Thomas Preisler 2007-07-24 02:15:35 UTC
This was fixed a while ago (May 24). Issue 93126. Fix hasn't been pushed to Sun Studio yet.

*** This issue has been marked as a duplicate of 93126 ***