• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Getting Java RunTimeException and java.ang.reflect. InvocationTargetException

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic