You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2011/01/23 17:53:47 UTC
[jira] Commented: (WICKET-3358) Wicket-Guice integration fails -
can't find application attached to current thread
[ https://issues.apache.org/jira/browse/WICKET-3358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985362#action_12985362 ]
Igor Vaynberg commented on WICKET-3358:
---------------------------------------
doesnt need to be fixed in 1.5
> Wicket-Guice integration fails - can't find application attached to current thread
> ----------------------------------------------------------------------------------
>
> Key: WICKET-3358
> URL: https://issues.apache.org/jira/browse/WICKET-3358
> Project: Wicket
> Issue Type: Bug
> Components: wicket-guice
> Affects Versions: 1.4.8
> Environment: Windows 7, JSDK 1.6.21, Maven 3.0.3
> Reporter: Marek Zganiacz
> Assignee: Igor Vaynberg
> Fix For: 1.4.16
>
> Attachments: wicketBugDemo.rar
>
>
> Simply by starting new project from wicket archetype, then adding a dependency to guice 2.0 and wicket-guice 1.4.8 and providing the guice module through web.xml to GuiceComponentInjector one can get the exception when starting jetty:
> org.apache.wicket.WicketRuntimeException: There is no application attached to current thread main
> at org.apache.wicket.Application.get(Application.java:179)
> at org.apache.wicket.injection.web.InjectorHolder.setInjector(InjectorHolder.java:88)
> at org.apache.wicket.guice.GuiceComponentInjector.<init>(GuiceComponentInjector.java:102)
> at org.apache.wicket.guice.GuiceWebApplicationFactory.createApplication(GuiceWebApplicationFactory.java:177)
> at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:701)
> at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
> at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
> ...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.