0 Replies Latest reply on Feb 21, 2013 6:46 PM by mechtatel

    Mail dependency added to pom provoke buil error

    mechtatel

      Hi,

       

      <dependency>

           <groupId>org.jboss.seam.mail</groupId>

           <artifactId>seam-mail</artifactId>

           <version>3.1.1.Final</version>

      </dependency>

       

      When I add email dependency to POM I can't build my project.

       

       

      Errors running builder 'CDI (Context and Dependency Injection) Builder' on project '...'

       

      java.lang.NullPointerException

          at org.jboss.tools.cdi.seam.core.persistence.CDISeamPersistenceExtension.buildBeans(CDISeamPersistenceExtension.java:108)

          at org.jboss.tools.cdi.internal.core.impl.CDIProject.update(CDIProject.java:1126)

          at org.jboss.tools.cdi.internal.core.impl.definition.DefinitionContext.applyWorkingCopy(DefinitionContext.java:402)

          at org.jboss.tools.cdi.core.CDICoreBuilder.build(CDICoreBuilder.java:233)

          at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)

          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)

          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)

          at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)

          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)

          at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)

          at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)

          at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:513)

          at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:432)

          at org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:305)

          at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)

          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

       

      Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".

       

      java.lang.NullPointerException

          at org.jboss.tools.cdi.seam.core.persistence.CDISeamPersistenceExtension.buildBeans(CDISeamPersistenceExtension.java:108)

          at org.jboss.tools.cdi.internal.core.impl.CDIProject.update(CDIProject.java:1126)

          at org.jboss.tools.cdi.internal.core.impl.definition.DefinitionContext.applyWorkingCopy(DefinitionContext.java:402)

          at org.jboss.tools.cdi.core.CDICoreBuilder.build(CDICoreBuilder.java:233)

          at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)

          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)

          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)

          at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)

          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)

          at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)

          at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)

          at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:513)

          at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:432)

          at org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:305)

          at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)

          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

       

      I'm using JBoss Tools Version: 3.4.0.Final-v20121206-1757-B38