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 179630 - IllegalArgumentException: Attempt to remove nonexistent path /home/ap153252/NetBeansProjects/ProfilingDemo_shared
Summary: IllegalArgumentException: Attempt to remove nonexistent path /home/ap153252/N...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-18 08:29 UTC by Alexander Pepin
Modified: 2010-01-24 08:46 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 164395


Attachments
stacktrace (1.02 KB, text/plain)
2010-01-18 08:29 UTC, Alexander Pepin
Details
stacktrace (1.00 KB, text/plain)
2010-01-21 04:21 UTC, Alexey Vladykin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2010-01-18 08:29:41 UTC
This bug was originally marked as duplicate of bug 178379, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201001150201)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-15-generic, i386

User Comments:
apepin: Steps to reproduce:
- create remote project in home dir using File Sharing
- clean and build it
- close the project
- remove paths from remote host path mapper
- open the project once again
- clean and build it, OK, check the path mapper , it's populated with a paths
- close the project
Result: Exception occurs



Stacktrace: 
java.lang.IllegalArgumentException: Attempt to remove nonexistent path /home/ap153252/NetBeansProjects/ProfilingDemo_shared
   at org.netbeans.api.java.classpath.GlobalPathRegistry.unregister(GlobalPathRegistry.java:238)
   at org.netbeans.modules.cnd.makeproject.MakeProject.onProjectClosed(MakeProject.java:892)
   at org.netbeans.modules.cnd.makeproject.MakeProject.access$800(MakeProject.java:141)
   at org.netbeans.modules.cnd.makeproject.MakeProject$ProjectOpenedHookImpl.projectClosed(MakeProject.java:906)
   at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectClosed(ProjectOpenedHook.java:84)
   at org.netbeans.modules.project.ui.OpenProjectList.notifyClosed(OpenProjectList.java:1087)
Comment 1 Alexander Pepin 2010-01-18 08:29:46 UTC
Created attachment 93380 [details]
stacktrace
Comment 2 Thomas Preisler 2010-01-19 08:41:50 UTC
remote issue, right?
Comment 3 Alexander Pepin 2010-01-19 09:03:17 UTC
yes
Comment 4 Alexey Vladykin 2010-01-21 04:21:21 UTC
Created attachment 93449 [details]
stacktrace

Created Welcome sample, opened welcome.cc, deleted project
Comment 5 soldatov 2010-01-21 04:30:09 UTC
I see such exception in automatic test results.
Scenario: delete project if some file is opened in editor
Comment 6 Alexander Pepin 2010-01-22 04:53:52 UTC
Please fix it as soon as possible as that bug strongly prevents automatic tests from working properly.
Comment 8 Alexander Simon 2010-01-22 06:57:09 UTC
.
Comment 9 Quality Engineering 2010-01-24 08:46:40 UTC
Integrated into 'main-golden', will be available in build *201001240200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/da5727244f10
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing  BZ#179630 IllegalArgumentException: Attempt to remove nonexistent path /home/ap153252/NetBeansProjects/ProfilingDemo_shared