hey jordi, thanx for your reply. I really used guice-s2 plugin... the
problem came up with 1.0.1 version.

On 4月28日, 下午5时39分, jordi <[email protected]> wrote:
> download the struts2 plugin version 1.0.1.
>
> http://google-guice.googlecode.com/files/guice-struts2-plugin-1.0.1.jar
>
> it should fix your problem!
>
> jordi
>
> On 4/28/09, ampyx <[email protected]> wrote:
>
>
>
> > Hey guys,
>
> > I am new to Guice 1.0. I was trying to integrate guice 1.0 with
> > struts2.1.6. I got an error :
>
> > java.lang.NullPointerException
> >    at com.google.inject.struts2.GuiceObjectFactory
> > $ProvidedInterceptor.destroy(GuiceObjectFactory.java:214)
> >    at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:
> > 287)
> >    at org.apache.struts2.dispatcher.FilterDispatcher.destroy
> > (FilterDispatcher.java:233)
> >    at org.apache.catalina.core.ApplicationFilterConfig.release
> > (ApplicationFilterConfig.java:332)
> >    at org.apache.catalina.core.StandardContext.filterStop
> > (StandardContext.java:3744)
> >    at org.apache.catalina.core.StandardContext.stop(StandardContext.java:
> > 4513)
> >    at org.apache.catalina.startup.HostConfig.checkResources
> > (HostConfig.java:1108)
> >    at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)
> >    at org.apache.catalina.startup.HostConfig.lifecycleEvent
> > (HostConfig.java:293)
> >    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
> > (LifecycleSupport.java:117)
> >    at org.apache.catalina.core.ContainerBase.backgroundProcess
> > (ContainerBase.java:1337)
> >    at org.apache.catalina.core.ContainerBase
> > $ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
> >    at org.apache.catalina.core.ContainerBase
> > $ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
> >    at org.apache.catalina.core.ContainerBase
> > $ContainerBackgroundProcessor.run(ContainerBase.java:1590)
> >    at java.lang.Thread.run(Unknown Source)
>
> > There is no interceptor here, i guess the problem is due to this...
> > Can any one help me with this problem pls?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to