facebook

NPE MyEclipseProjectSupport.findWebRoot(MyEclipseProjectSupp

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

    I’m using MyEclipseForSpring-9.0a-offline-installer-windows without any other modifications.

    When I try to import a very simple Maven project I get the following:

    !ENTRY org.eclipse.osgi 2 1 2011-06-23 10:23:13.956
    !MESSAGE NLS unused message: Unnecessary_Semicolon_ERROR in: org.eclipse.wst.html.core.internal.HTMLCorePluginResources

    !ENTRY org.eclipse.osgi 2 1 2011-06-23 10:23:13.956
    !MESSAGE NLS missing message: Obsolete_attribute_name___ERROR_ in: org.eclipse.wst.html.core.internal.HTMLCorePluginResources

    !ENTRY org.eclipse.core.jobs 4 2 2011-06-23 10:23:21.268
    !MESSAGE An internal error occurred during: “Importing Maven projects”.
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.maven.project.MyEclipseProjectSupport.findWebRoot(MyEclipseProjectSupport.java:204)
    at com.genuitec.eclipse.maven.project.MyEclipseProjectSupport.configureWebProject(MyEclipseProjectSupport.java:71)
    at com.genuitec.eclipse.maven.project.MyEclipseProjectSupport.configure(MyEclipseProjectSupport.java:57)
    at org.maven.ide.eclipse.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:57)
    at org.maven.ide.eclipse.internal.project.GenericLifecycleMapping.configure(GenericLifecycleMapping.java:48)
    at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:332)
    at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.configureNewMavenProject(ProjectConfigurationManager.java:267)
    at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.importProjects(ProjectConfigurationManager.java:175)
    at org.maven.ide.eclipse.wizards.MavenImportWizard$1.runInWorkspace(MavenImportWizard.java:94)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    I could upload my project if I find how can to do that.

    #317738 Reply

    support-joy
    Member

    sebtardif,

    I am afraid I could not reproduce this issue. However another user reported that creating a new workspace and importing projects from earlier workspace one-by-one resolved this issue. Please refer – http://www.myeclipseide.com/PNphpBB2-printview-t-27031-start-0.html

    You mention importing a very simple Maven project. Is this a MyEclipse created Maven project? If not, you need to create a new Maven project in MyEclipse and copy the resource files manually.

    You could either [pm] the project (refer – https://www.genuitec.com/forums/topic/troubleshooting-how-to-upload-attachments-on-forum/&highlight=&sid=e73c490ca5715094a7ee4d4d7817a796 ) or send a mail to [email protected] with the attached project. Please include the above weblink for tracing purpose and add ATTN:Joy in the subject.

    Best.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: NPE MyEclipseProjectSupport.findWebRoot(MyEclipseProjectSupp

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