facebook

non J2EE support for Maven in 2013

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #338274 Reply

    oc007us
    Participant

    Hi, I am getting a null pointer exception for a Maven project in ME 2013:

    An internal error occurred during: “Updating Maven Project”.
    java.lang.NullPointerException

    The Error Log has this:

    java.lang.NullPointerException
    at org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.getDefaultLifecycleMappingMetadataSource(LifecycleMappingFactory.java:1060)
    at org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.getProjectMetadataSources(LifecycleMappingFactory.java:258)
    at org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.calculateEffectiveLifecycleMappingMetadata(LifecycleMappingFactory.java:215)
    at org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.calculateLifecycleMapping(LifecycleMappingFactory.java:175)
    at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.setupLifecycleMapping(ProjectRegistryManager.java:527)
    at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:446)
    at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:328)
    at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:279)
    at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:323)
    at org.eclipse.m2e.core.ui.internal.UpdateMavenProjectJob.runInWorkspace(UpdateMavenProjectJob.java:74)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    #338299 Reply

    support-swapna
    Moderator

    oc007us,

    Sorry that you are seeing this issue. I could not replicate the issue at my end.

    Can you please answer some more questions for us?

    1. Is the maven project created in ME 2013 or imported from previous versions?
    2. Please list out the steps in detail you have followed to create the project and the actions you performed which resulted in the error, to help us replicate the issue at our end.
    3. Also share your OS and version details.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: non J2EE support for Maven in 2013

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