[jbosstools-issues] [JBoss JIRA] (JBIDE-13264) NullPointerException occurs when importing JDF AeroGear HTML5/Mobile

Denis Golovin (JIRA) jira-events at lists.jboss.org
Wed Jun 19 18:07:20 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-13264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Denis Golovin closed JBIDE-13264.
---------------------------------

    Resolution: Done


Cannot replicate it on latest JBoss Tools-4.1.0.Beta2
                
> NullPointerException occurs when importing JDF AeroGear HTML5/Mobile
> --------------------------------------------------------------------
>
>                 Key: JBIDE-13264
>                 URL: https://issues.jboss.org/browse/JBIDE-13264
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: maven
>    Affects Versions: 4.0.0.Final
>         Environment: eclipse.buildId=M20120914-1800
> java.version=1.7.0_09
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments:  -product org.eclipse.epp.package.jee.product
> Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
>            Reporter: Denis Golovin
>            Assignee: Fred Bricon
>             Fix For: 4.1.0.Beta2
>
>
> Exceptions related to JPA 2.0 configuration occurs during import:
> {code}org.eclipse.wst.common.project.facet.core.FacetedProjectFrameworkException: Failed while installing JPA 2.0.
> 	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1507)
> 	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:441)
> 	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1181)
> 	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1117)
> 	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$1.run(FacetedProject.java:324)
> 	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
> 	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modify(FacetedProject.java:339)
> 	at org.jboss.tools.maven.jpa.configurators.JpaProjectConfigurator.configureFacets(JpaProjectConfigurator.java:125)
> 	at org.jboss.tools.maven.jpa.configurators.JpaProjectConfigurator.configure(JpaProjectConfigurator.java:88)
> 	at org.eclipse.m2e.core.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:109)
> 	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:414)
> 	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.configureNewMavenProject(ProjectConfigurationManager.java:240)
> 	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.importProjects(ProjectConfigurationManager.java:156)
> 	at org.jboss.tools.maven.project.examples.ImportMavenProjectExampleDelegate.importMavenProjects(ImportMavenProjectExampleDelegate.java:240)
> 	at org.jboss.tools.maven.project.examples.ImportMavenProjectExampleDelegate.importProject(ImportMavenProjectExampleDelegate.java:154)
> 	at org.jboss.tools.maven.project.examples.AbstractImportMavenExample.importProject(AbstractImportMavenExample.java:36)
> 	at org.jboss.tools.project.examples.wizard.NewProjectExamplesJob.runInWorkspace(NewProjectExamplesJob.java:69)
> 	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> Caused by: java.lang.NullPointerException
> 	at org.eclipse.jpt.jpa.core.internal.facet.JpaFacetInstallDelegate.defaultResourceLocation(JpaFacetInstallDelegate.java:140)
> 	at org.eclipse.jpt.jpa.core.internal.facet.JpaFacetInstallDelegate.createPersistenceXml(JpaFacetInstallDelegate.java:110)
> 	at org.eclipse.jpt.jpa.core.internal.facet.JpaFacetInstallDelegate.createProjectXml(JpaFacetInstallDelegate.java:100)
> 	at org.eclipse.jpt.jpa.core.internal.facet.JpaFacetInstallDelegate.execute_(JpaFacetInstallDelegate.java:61)
> 	at org.eclipse.jpt.jpa.core.internal.facet.JpaFacetActionDelegate.execute(JpaFacetActionDelegate.java:34)
> 	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1477)
> 	... 18 more
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list