[JBoss Tools (users)] - Updating project properties:
by matt.hibb
I've just installed Debian Etch and JBoss IDE 2.0 Beta and Eclipse bundle and am having trouble with project properties.
When saving changes to project packaging properties, I get an error message stating an InvocationTargetException has occured. To complicate matters, this only seems to occur on projects I have checked out from source control and not projects created from scratch.
Can anyone shed any light on what the problem might be?
Thanks
The full stack trace from the eclipse log is as follows:
!ENTRY org.jboss.ide.eclipse.xdoclet.ui 4 0 2007-09-18
17:59:12.381
!MESSAGE java.lang.reflect.InvocationTargetException
!STACK 0
java.lang.reflect.InvocationTargetException
at
org.jboss.ide.eclipse.packaging.core.configuration.ProjectConfigurations$1.run(ProjectConfigurations.java:189)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: java.lang.NullPointerException
at
org.jboss.ide.eclipse.packaging.core.model.PackagingFile.computeLocation(PackagingFile.java:339)
at
org.jboss.ide.eclipse.packaging.core.model.PackagingFile.writeToXml(PackagingFile.java:311)
at
org.jboss.ide.eclipse.packaging.core.model.PackagingArchive.writeToXml(PackagingArchive.java:245)
at
org.jboss.ide.eclipse.packaging.core.configuration.ProjectConfigurations$1.run(ProjectConfigurations.java:134)
... 1 more
Root exception:
java.lang.NullPointerException
at
org.jboss.ide.eclipse.packaging.core.model.PackagingFile.computeLocation(PackagingFile.java:339)
at
org.jboss.ide.eclipse.packaging.core.model.PackagingFile.writeToXml(PackagingFile.java:311)
at
org.jboss.ide.eclipse.packaging.core.model.PackagingArchive.writeToXml(PackagingArchive.java:245)
at
org.jboss.ide.eclipse.packaging.core.configuration.ProjectConfigurations$1.run(ProjectConfigurations.java:134)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085674#4085674
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085674
18 years, 10 months
[JBoss Seam] - Re: Seam-managed persistence context
by wschwendt
"wschwendt" wrote :
| So far my understanding is that a Seam-managed persistence context corresponds to an instance of the org.jboss.seam.persistence.ManagedPersistenceContext component. This is a conversation-scoped component, hence it can be injected into other components using the @In annotation.
|
I don't like my previous wording here and want to correct it. While it's true that a Seam-managed persistence context corresponds to an instance of org.jboss.seam.persistence.ManagedPersistenceContext component, it's not true that an instance of ManagedPersistenceContext is injected into other components when there is an annotation such as @In EntityManager entityManager. Rather, the ManagedPersistenceContext acts a manager component for an EntityManager; the method ManagedPersistenceContext.getEntityManager() is annotated with @Unwrap. It is the return value of the @Unwrap method that gets injected when a ManagedPersistenceContext component is referenced.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085773#4085773
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085773
18 years, 10 months