facebook

Error Migrating projects from MyEclipse 10 to MyEclipse 2014

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #346472 Reply

    Hello,

    We are upgrading from MyEclipse 10 to MyEclipse 2014. All of my projects require me to migrate and the first project we tried to migrate we are getting the following error:

    Operation “Migrate ME Project references and deployment settings to Deployment Assembly” has failed to perform migration actions. Error for project 0bjectLibrary.

    Operation “Migrate ME Project references and deployment settings to Deployment Assembly” has failed to perform migration actions. Error for project 0bjectLibrary.
    java.lang.NullPointerException

    Operation “Migrate ME Project references and deployment settings to Deployment Assembly” has failed to perform migration actions. Error for project 0bjectLibrary.
    java.lang.NullPointerException

    This is the .project file

    <?xml version="1.0" encoding="UTF-8"?>
    <projectDescription>
        <name>0bjectLibrary</name>
        <comment></comment>
        <projects>
        </projects>
        <buildSpec>
            <buildCommand>
                <name>org.eclipse.wst.common.project.facet.core.builder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>org.eclipse.jdt.core.javabuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>org.eclipse.wst.validation.validationbuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>org.zeroturnaround.eclipse.rebelXmlBuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
        </buildSpec>
        <natures>
            <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
            <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
            <nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
            <nature>com.genuitec.eclipse.j2eedt.core.ejbnature</nature>
            <nature>org.eclipse.jdt.core.javanature</nature>
            <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
            <nature>org.zeroturnaround.eclipse.jrebelNature</nature>
        </natures>
    </projectDescription>

    This is the .mymetadata file

    <?xml version="1.0" encoding="UTF-8"?>
    <project-module
      type="EJB"
      name="0bjectLibrary"
      id="myeclipse.1293133389159"
      j2ee-spec="1.4"
      archive="0bjectLibrary.jar" />
    
    

    This is the .classpath

    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
        <classpathentry kind="src" path="Java Source"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/jbosscache-core.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/jbosscache-core-sources.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/commons-lang-2.3.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/lib/jboss-j2se.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/common/lib/jbosssx.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/common/lib/log4j.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/bozz_jt400.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/bozz_sqljdbc4.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/deploy/BozzutosJMSServicesEJB.jar"/>
        <classpathentry kind="con" path="com.genuitec.eclipse.j2eedt.core.J2EE14_CONTAINER"/>
        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/commons-httpclient.jar" sourcepath="C:/Users/IS08/.m2/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1-sources.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/gson-1.7.1.jar" sourcepath="D:/JBoss-5.1.0/docs/bozz_javadocs/gson-1.7.1-sources.jar">
            <attributes>
                <attribute name="javadoc_location" value="jar:file:/D:/JBoss-5.1.0/docs/bozz_javadocs/gson-1.7.1-javadoc.jar!/"/>
            </attributes>
        </classpathentry>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/commons-io-1.3.2.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/imgscalr-lib-4.2.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/commons-fileupload-1.2.1.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/GeoIP-1.2.5.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/jvftp.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/commons-codec-1.6.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/couchbase-client-1.1.7.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/spymemcached-2.9.0.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/httpcore-4.1.1.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/httpcore-nio-4.1.1.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/jettison-1.3.1.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/netty-3.5.5.Final.jar"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/lucene-core-4.4.0.jar" sourcepath="D:/SDK/lucene-4.4.0-src/lucene-4.4.0/core"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/lucene-analyzers-common-4.4.0.jar" sourcepath="D:/SDK/lucene-4.4.0-src/lucene-4.4.0/analysis/common"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/lucene-queryparser-4.4.0.jar" sourcepath="D:/SDK/lucene-4.4.0-src/lucene-4.4.0/queryparser"/>
        <classpathentry kind="lib" path="D:/JBoss-5.1.0/server/default/lib/commons-net-3.3.jar"/>
        <classpathentry kind="output" path="classes"/>
    </classpath>
    
    #346496 Reply

    support-swapna
    Moderator

    deadend5001,

    Sorry that you are seeing this issue.

    Can you please send us the .settings folder of the project and the .log file (rename it to .txt and attach) which is located at <workspace dir>/.metadata/.log to help us investigate further?

    #346501 Reply

    Please see attached as requested.[/code]

    Attachments:
    You must be logged in to view attached files.
    #346522 Reply

    support-piotr
    Participant

    deadend5001,

    I have investigated your case and it turns out that a file in your project has unexpected contents. You can workaround issue by replacing contents of .settings/org.eclipse.wst.common.component file of your project with:

    <?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
        <wb-module deploy-name="0bjectLibrary"/>
    </project-modules>

    If you have similar troubles with other projects, just replace “ObjectLibrary” with appropriate project name. The problem was with missing <wb-module> element. The fix for the issue, so that migration handles this case, will be release in the end of Feb along with MyEclipse 2014 SR1.

    Thank you for reporting the problem!

    #346561 Reply

    That worked thank you.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Error Migrating projects from MyEclipse 10 to MyEclipse 2014

You must be logged in to post in the forum log in