*
The moose likes JSF and the fly likes Getting Java RunTimeException and java.ang.reflect. InvocationTargetException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Getting Java RunTimeException and java.ang.reflect. InvocationTargetException" Watch "Getting Java RunTimeException and java.ang.reflect. InvocationTargetException" New topic
Author

Getting Java RunTimeException and java.ang.reflect. InvocationTargetException

Aditi khare
Greenhorn

Joined: Jul 19, 2008
Posts: 2
Hi,
I am trying to test run a simple Servlet on Application Server 9.1 , I am getting Java.lang.Runtime exception and java.lang.reflect.InvocationTargetException
The log details are as follow, please help!
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:421)
at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:343)
... 48 more
Caused by: java.lang.NullPointerException
at com.sun.enterprise.tools.admingui.util.TargetUtil.getAssociatedVS(TargetUtil.java:109)
at com.sun.enterprise.tools.admingui.handlers.ApplicationHandlers.getApplicationInfo(ApplicationHandlers.java:173)
... 54 more


---------
SKhare - SCJP5
Ryan Lubke
Ranch Hand

Joined: Jun 20, 2007
Posts: 36
Originally posted by Aditi khare:
Hi,
I am trying to test run a simple Servlet on Application Server 9.1 , I am getting Java.lang.Runtime exception and java.lang.reflect.InvocationTargetException
The log details are as follow, please help!
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:421)
at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:343)
... 48 more
Caused by: java.lang.NullPointerException
at com.sun.enterprise.tools.admingui.util.TargetUtil.getAssociatedVS(TargetUtil.java:109)
at com.sun.enterprise.tools.admingui.handlers.ApplicationHandlers.getApplicationInfo(ApplicationHandlers.java:173)
... 54 more


You should post this to the GlassFish forums.
 
Consider Paul's rocket mass heater.
 
subject: Getting Java RunTimeException and java.ang.reflect. InvocationTargetException
 
Similar Threads
Need help with java.lang.reflect.InvocationTargetException
uses a non-entity as target entity in relationship attribute
How to configure Tomcat 6 to use EJB 3 component deployed on JBoss server
Cannot find namespace
Can you tell me which jar contains the below file