September 25, 2018 at 12:24 pm #599300
I have a J2EE project from myeclipse 10 that will not migrate and the error log is not very helpful.
This is the error I am getting:
com.genuitec.eclipse.core.GenuitecCoreException: Operation “Migrate ME Project references and deployment settings to Deployment Assembly” has failed to perform migration actions. Error for project ZebraServer.
Caused by: java.lang.NullPointerException
… 6 moreSeptember 25, 2018 at 12:43 pm #599303
Sorry to hear you’re having issues with the migration.
Would it be possible for you to share with us the contents of the
.classpathfiles before migration so we can try and replicate locally?
In addition, can you tell us what version of MyEclipse you are using right now?September 25, 2018 at 1:01 pm #599304
Sure thing.September 25, 2018 at 1:02 pm #599305September 25, 2018 at 1:03 pm #599307September 25, 2018 at 2:25 pm #599315
Thank you for the files. Just wanted to confirm that these are are the files before you’ve attempted migration? (i.e. If migration did not work, did you restore the project from version control and send those files?) Even if not, there should be enough here to help us replicate, but I’d like to be clear on the state of the resources.
Could you also please confirm the version of MyEclipse you are using? You can see a build Id mentioned at Help > About.September 25, 2018 at 3:00 pm #599321
Sorry about that, here you go.September 25, 2018 at 3:03 pm #599323
Version: CI 2018.9.0
Build id: 16.0.0-20180903September 26, 2018 at 6:24 am #599355
Thanks for the files. We were able to replicate the problem from them. We did find that there was a file missing from the
.settingsfolder, though it’s not clear why, if it was a valid MyEclipse 10.x project. However, you could try adding the file to that folder and check if the migration now works.
The file is
org.eclipse.wst.common.componentwhich should be in the
.settingsfolder of the project and should contain (based on the files you sent us):1234567891011<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.4.0"><wb-module deploy-name="ZebraServer"><wb-resource deploy-path="/" source-path="/WebRoot" tag="defaultRootSource"/><wb-resource deploy-path="/WEB-INF/classes" source-path="/srcBRLogic"/><wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/><wb-resource deploy-path="/WEB-INF/classes" source-path="/srcMcmcObjects"/><property name="context-root" value="/ZebraServer"/><property name="me-merge-utility-modules" value="true"/></wb-module></project-modules>
Please let us know how you get on with this.September 26, 2018 at 9:06 am #599364
That did the trick! Thank you so much for your help.