jQuery in Action, 2nd edition*
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
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Getting Java RunTimeException and java.ang.reflect. InvocationTargetException