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 150713 - Exception at resynchronize with My Eclipse project
Summary: Exception at resynchronize with My Eclipse project
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Eclipse project importer (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@projects
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-20 12:59 UTC by Maksim Khramov
Modified: 2016-07-07 08:39 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 Maksim Khramov 2008-10-20 12:59:32 UTC
Product Version: NetBeans IDE 6.5 RC1 (Build 200810171318)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b12

Steps to reproduce:
Create web project in MyEclipse IDE.
Import to Netbeans.
In MyEclipse invoke "Remove Web Project Capabilities" from MyEclipse->Project Capabilities
Invoke Resynchronize in Netbeans.
Update Issues shows message:
Update failed due to 'null'. More details can be found in the IDEs log file.
and exception is thrown:
java.io.IOException: is not java project: org.netbeans.modules.web.project.WebProject
	at org.netbeans.modules.projectimport.eclipse.j2se.J2SEProjectFactory.update(J2SEProjectFactory.java:164)
	at org.netbeans.modules.projectimport.eclipse.core.EclipseProjectReference.update(EclipseProjectReference.java:207)
	at org.netbeans.modules.projectimport.eclipse.core.UpgradableProject$1.run(UpgradableProject.java:86)
	at org.netbeans.modules.projectimport.eclipse.core.UpgradableProject$1.run(UpgradableProject.java:85)
	at org.openide.util.Mutex.writeAccess(Mutex.java:433)
	at org.netbeans.modules.projectimport.eclipse.core.UpgradableProject.update(UpgradableProject.java:83)
Caused: java.io.IOException
	at org.netbeans.modules.projectimport.eclipse.core.UpgradableProject.update(UpgradableProject.java:91)
	at org.netbeans.modules.projectimport.eclipse.core.UpdateAllProjects.updateExistingProjects(UpdateAllProjects.java:191)
	at org.netbeans.modules.projectimport.eclipse.core.UpdateAllProjects.update(UpdateAllProjects.java:225)
	at org.netbeans.modules.projectimport.eclipse.core.ProjectOpenHookImpl$RunnableImpl.run(ProjectOpenHookImpl.java:97)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 1 David Konecny 2008-10-20 20:22:50 UTC
Valid P3 issue.
Comment 2 Jesse Glick 2009-06-09 18:33:21 UTC
Not obvious how to solve. Could suppress exception but resynch would not work. Need to do something more complicated to
refresh associated ProjectTypeUpdater.
Comment 3 Jesse Glick 2009-09-21 22:22:00 UTC
Not planning on working on noncritical Eclipse importer bugs for 6.8.
Comment 4 Martin Balin 2016-07-07 08:39:09 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss