Sagewire Logo

[JBoss Tools (users)] - Updating project properties:

2 Message(s) by 2 Author(s) originally posted in jboss java


From: matt.hibb Date:   Tuesday, September 18, 2007
I have 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?

ThanksThe 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


From: Stephen Davidson Date:   Tuesday, September 18, 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Matt.

Minor (very minor) clarification -- you actually have a
NullPointerExceptoin occuring in the PackagingFile Object. The
InvocationTargetException is simply wrapped around the NPE. Hopefully,
one of the JBoss guys can shed some light on this?

Regards,
Steve

wrote in message:
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
_______________________________________________
jboss-user mailing list
jboss-user@xxxxxxxxxxx
https://lists.jboss.org/mailman/listinfo/jboss-user



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFG8E8tPtiPEDq7o8YRAkEzAJ4xGCFIiKAfUBCls7jaOpWB3dcmaACgtINO
lyHYpkOc+0QwyYIR2MfGuE4=
=m245
-----END PGP SIGNATURE-----



Next Message: out of memory in jboss


Blogs related to [JBoss Tools (users)] - Updating project properties:

Spring Framework
Open the libraries dialog in the project properties (Alt+Enter) -> Java Build Path -> Libraries -> Add external jar Below you can see the libraries added by MyEclipse. This is by far to much. You will not need spring-hibernate, dbcp, ...

Resume - Application Developer- Roman
The DataAccessObjects used Transfer Objects to return data to the client or to receive data from the client in order to update data in the data source. Designed the application as highly configurable by implementing Java Properties ...

Jdk
JDK is the core of the whole Java, including Java runtime environment, a pile of Java-based tools and Java class libraries (rt.jar). No matter what the Java application servers are built-in a real version of the JDK Jdk Before emerging ...

Java Search
Now Update Manager will search for plug-in and open an update dialogue box. This dialogue box will list all plug-in for you current Eclipse version. Select “Eclipse Java Development Tools 3.1.2” and Press Next Java Search String Are you ...

Java Downloads
It utilizes maven2, struts2, axis2, jboss, ejb3 and many other java technologies and tools. [Download] [Release Notes] Extrasolar Planets Space Simulation Applications Application Free Java Downloads Software Architecture Dvd Software ...

Greetings Question about multiple versions of Java installed on ...
OK. Done. "java -version" shows that indeed 1.4.2_06 is now live. Problem is now that somehow Firefox doesn't see the plugin properly. It complains about not finding the 1.4.2_06 plugin. And IE still loads the 1.5.0 Update 12. ...


Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional