org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = login]]

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = login]]

Anders Peterson-2
What exactly does this stacktrace (below) mean?

In development, eclipse & jetty, the application works fine. When  
deployed (tomcat) the app cannot render login page (I suppose it can't  
render anything).

/Anders

WicketMessage: Exception in rendering component: [MarkupContainer  
[Component id = login]]

Root cause:

java.security.AccessControlException: access denied  
(java.lang.reflect.ReflectPermission suppressAccessChecks)
at  
java
.security
.AccessControlContext.checkPermission(AccessControlContext.java:342)
at  
java.security.AccessController.checkPermission(AccessController.java:
553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at  
java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:
125)
at org.apache.wicket.util.lang.PropertyResolver
$MethodGetAndSet.<init>(PropertyResolver.java:1044)
at  
org
.apache
.wicket
.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:459)
at  
org
.apache
.wicket
.util
.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:281)
at  
org
.apache
.wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:90)
at  
org
.apache
.wicket
.model.AbstractPropertyModel.getObject(AbstractPropertyModel.java:117)
at org.apache.wicket.Component.getDefaultModelObject(Component.java:
1653)
at  
org
.apache.wicket.Component.getDefaultModelObjectAsString(Component.java:
1675)
at  
org
.apache
.wicket
.markup.html.form.FormComponent.getModelValue(FormComponent.java:1367)
at  
org
.apache
.wicket.markup.html.form.FormComponent.getValue(FormComponent.java:869)
at  
org
.apache
.wicket.markup.html.form.TextField.onComponentTag(TextField.java:106)
at org.apache.wicket.Component.renderComponent(Component.java:2600)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1525)
at org.apache.wicket.Component.render(Component.java:2454)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:
1403)
at  
org
.apache
.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:
1590)
at  
org
.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:
1514)
at  
org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:
1897)
at org.apache.wicket.Component.renderComponent(Component.java:2629)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1525)
at org.apache.wicket.markup.html.form.Form.onRender(Form.java:1968)
at org.apache.wicket.Component.render(Component.java:2454)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:
1403)
at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:
1541)
at org.apache.wicket.Page.onRender(Page.java:1547)
at org.apache.wicket.Component.render(Component.java:2454)
at org.apache.wicket.Page.renderPage(Page.java:914)
at  
org
.apache
.wicket
.request
.target
.component
.BookmarkablePageRequestTarget
.respond(BookmarkablePageRequestTarget.java:262)
at  
org
.apache
.wicket
.request
.AbstractRequestCycleProcessor
.respond(AbstractRequestCycleProcessor.java:105)
at  
org
.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:
1248)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1319)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:544)
at  
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
456)
at  
org
.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:
289)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:
244)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:
276)
at  
org
.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:
218)
at  
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
230)
at org.apache.catalina.core.ApplicationFilterChain.access
$000(ApplicationFilterChain.java:56)
at org.apache.catalina.core.ApplicationFilterChain
$1.run(ApplicationFilterChain.java:189)
at java.security.AccessController.doPrivileged(Native Method)
at  
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at  
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at  
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at  
org
.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
128)
at  
org
.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
at  
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at  
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
286)
at  
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
845)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
447)
at java.lang.Thread.run(Thread.java:636)

Complete stack:

org.apache.wicket.WicketRuntimeException: Exception in rendering  
component: [MarkupContainer [Component id = login]]
at org.apache.wicket.Component.renderComponent(Component.java:2668)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1525)
at org.apache.wicket.markup.html.form.Form.onRender(Form.java:1968)
at org.apache.wicket.Component.render(Component.java:2454)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:
1403)
at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:
1541)
at org.apache.wicket.Page.onRender(Page.java:1547)
at org.apache.wicket.Component.render(Component.java:2454)
at org.apache.wicket.Page.renderPage(Page.java:914)
at  
org
.apache
.wicket
.request
.target
.component
.BookmarkablePageRequestTarget
.respond(BookmarkablePageRequestTarget.java:262)
at  
org
.apache
.wicket
.request
.AbstractRequestCycleProcessor
.respond(AbstractRequestCycleProcessor.java:105)
at  
org
.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:
1248)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1319)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:544)
at  
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
456)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = login]]

Murat Yücel-2
Hi Anders

I had a almost similar issue with my application. My problem was
caused because i didnt have access to the file system (google app
engine). I solved the problem by setting the following in
my application class.

getResourceSettings().setResourcePollFrequency(null);

/Murat

2009/5/11 Anders Peterson <[hidden email]>:

> What exactly does this stacktrace (below) mean?
>
> In development, eclipse & jetty, the application works fine. When deployed
> (tomcat) the app cannot render login page (I suppose it can't render
> anything).
>
> /Anders
>
> WicketMessage: Exception in rendering component: [MarkupContainer [Component
> id = login]]
>
> Root cause:
>
> java.security.AccessControlException: access denied
> (java.lang.reflect.ReflectPermission suppressAccessChecks)
> at
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
> at java.security.AccessController.checkPermission(AccessController.java:553)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
> at
> java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:125)
> at
> org.apache.wicket.util.lang.PropertyResolver$MethodGetAndSet.<init>(PropertyResolver.java:1044)
> at
> org.apache.wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:459)
> at
> org.apache.wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:281)
> at
> org.apache.wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:90)
> at
> org.apache.wicket.model.AbstractPropertyModel.getObject(AbstractPropertyModel.java:117)
> at org.apache.wicket.Component.getDefaultModelObject(Component.java:1653)
> at
> org.apache.wicket.Component.getDefaultModelObjectAsString(Component.java:1675)
> at
> org.apache.wicket.markup.html.form.FormComponent.getModelValue(FormComponent.java:1367)
> at
> org.apache.wicket.markup.html.form.FormComponent.getValue(FormComponent.java:869)
> at
> org.apache.wicket.markup.html.form.TextField.onComponentTag(TextField.java:106)
> at org.apache.wicket.Component.renderComponent(Component.java:2600)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1525)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1403)
> at
> org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1590)
> at
> org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1514)
> at
> org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:1897)
> at org.apache.wicket.Component.renderComponent(Component.java:2629)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1525)
> at org.apache.wicket.markup.html.form.Form.onRender(Form.java:1968)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1403)
> at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1541)
> at org.apache.wicket.Page.onRender(Page.java:1547)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.Page.renderPage(Page.java:914)
> at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:262)
> at
> org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
> at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1248)
> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1319)
> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)
> at org.apache.wicket.RequestCycle.request(RequestCycle.java:544)
> at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
> at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
> at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
> at
> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
> at
> org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
> at
> org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:636)
>
> Complete stack:
>
> org.apache.wicket.WicketRuntimeException: Exception in rendering component:
> [MarkupContainer [Component id = login]]
> at org.apache.wicket.Component.renderComponent(Component.java:2668)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1525)
> at org.apache.wicket.markup.html.form.Form.onRender(Form.java:1968)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1403)
> at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1541)
> at org.apache.wicket.Page.onRender(Page.java:1547)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.Page.renderPage(Page.java:914)
> at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:262)
> at
> org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
> at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1248)
> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1319)
> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)
> at org.apache.wicket.RequestCycle.request(RequestCycle.java:544)
> at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RES: org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = login]]

MarcoCarneiro
In reply to this post by Anders Peterson-2
Please,

I would like unsubscribe my email, thank you.

Marco

-----Mensagem original-----
De: Anders Peterson [mailto:[hidden email]]
Enviada em: segunda-feira, 11 de maio de 2009 05:25
Para: [hidden email]
Assunto: org.apache.wicket.WicketRuntimeException: Exception in rendering
component: [MarkupContainer [Component id = login]]

What exactly does this stacktrace (below) mean?

In development, eclipse & jetty, the application works fine. When  
deployed (tomcat) the app cannot render login page (I suppose it can't  
render anything).

/Anders

WicketMessage: Exception in rendering component: [MarkupContainer  
[Component id = login]]

Root cause:

java.security.AccessControlException: access denied  
(java.lang.reflect.ReflectPermission suppressAccessChecks)
at  
java
.security
.AccessControlContext.checkPermission(AccessControlContext.java:342)
at  
java.security.AccessController.checkPermission(AccessController.java:
553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at  
java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:
125)
at org.apache.wicket.util.lang.PropertyResolver
$MethodGetAndSet.<init>(PropertyResolver.java:1044)
at  
org
.apache
.wicket
.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:459)
at  
org
.apache
.wicket
.util
.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:281)
at  
org
.apache
.wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:90)
at  
org
.apache
.wicket
.model.AbstractPropertyModel.getObject(AbstractPropertyModel.java:117)
at org.apache.wicket.Component.getDefaultModelObject(Component.java:
1653)
at  
org
.apache.wicket.Component.getDefaultModelObjectAsString(Component.java:
1675)
at  
org
.apache
.wicket
.markup.html.form.FormComponent.getModelValue(FormComponent.java:1367)
at  
org
.apache
.wicket.markup.html.form.FormComponent.getValue(FormComponent.java:869)
at  
org
.apache
.wicket.markup.html.form.TextField.onComponentTag(TextField.java:106)
at org.apache.wicket.Component.renderComponent(Component.java:2600)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1525)
at org.apache.wicket.Component.render(Component.java:2454)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:
1403)
at  
org
.apache
.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:
1590)
at  
org
.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:
1514)
at  
org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:
1897)
at org.apache.wicket.Component.renderComponent(Component.java:2629)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1525)
at org.apache.wicket.markup.html.form.Form.onRender(Form.java:1968)
at org.apache.wicket.Component.render(Component.java:2454)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:
1403)
at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:
1541)
at org.apache.wicket.Page.onRender(Page.java:1547)
at org.apache.wicket.Component.render(Component.java:2454)
at org.apache.wicket.Page.renderPage(Page.java:914)
at  
org
.apache
.wicket
.request
.target
.component
.BookmarkablePageRequestTarget
.respond(BookmarkablePageRequestTarget.java:262)
at  
org
.apache
.wicket
.request
.AbstractRequestCycleProcessor
.respond(AbstractRequestCycleProcessor.java:105)
at  
org
.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:
1248)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1319)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:544)
at  
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
456)
at  
org
.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:
289)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:
244)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:
276)
at  
org
.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:
218)
at  
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
230)
at org.apache.catalina.core.ApplicationFilterChain.access
$000(ApplicationFilterChain.java:56)
at org.apache.catalina.core.ApplicationFilterChain
$1.run(ApplicationFilterChain.java:189)
at java.security.AccessController.doPrivileged(Native Method)
at  
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at  
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at  
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at  
org
.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
128)
at  
org
.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
at  
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at  
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
286)
at  
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
845)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
447)
at java.lang.Thread.run(Thread.java:636)

Complete stack:

org.apache.wicket.WicketRuntimeException: Exception in rendering  
component: [MarkupContainer [Component id = login]]
at org.apache.wicket.Component.renderComponent(Component.java:2668)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1525)
at org.apache.wicket.markup.html.form.Form.onRender(Form.java:1968)
at org.apache.wicket.Component.render(Component.java:2454)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:
1403)
at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:
1541)
at org.apache.wicket.Page.onRender(Page.java:1547)
at org.apache.wicket.Component.render(Component.java:2454)
at org.apache.wicket.Page.renderPage(Page.java:914)
at  
org
.apache
.wicket
.request
.target
.component
.BookmarkablePageRequestTarget
.respond(BookmarkablePageRequestTarget.java:262)
at  
org
.apache
.wicket
.request
.AbstractRequestCycleProcessor
.respond(AbstractRequestCycleProcessor.java:105)
at  
org
.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:
1248)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1319)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:544)
at  
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
456)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Nenhum vírus encontrado nessa mensagem recebida.
Verificado por AVG - www.avgbrasil.com.br
Versăo: 8.5.325 / Banco de dados de vírus: 270.12.24/2108 - Data de
Lançamento: 05/11/09 05:52:00


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = login]]

James Carman-3
In reply to this post by Anders Peterson-2
You are running with the security manager turned on.  Wicket needs to
be able to write to private fields that the standard Java security
stuff says is not allowed.  Either turn off the security manager (if
you can) or you need to grant permissions to the wicket libraries.

On Mon, May 11, 2009 at 4:24 AM, Anders Peterson <[hidden email]> wrote:

> What exactly does this stacktrace (below) mean?
>
> In development, eclipse & jetty, the application works fine. When deployed
> (tomcat) the app cannot render login page (I suppose it can't render
> anything).
>
> /Anders
>
> WicketMessage: Exception in rendering component: [MarkupContainer [Component
> id = login]]
>
> Root cause:
>
> java.security.AccessControlException: access denied
> (java.lang.reflect.ReflectPermission suppressAccessChecks)
> at
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
> at java.security.AccessController.checkPermission(AccessController.java:553)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
> at
> java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:125)
> at
> org.apache.wicket.util.lang.PropertyResolver$MethodGetAndSet.<init>(PropertyResolver.java:1044)
> at
> org.apache.wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:459)
> at
> org.apache.wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:281)
> at
> org.apache.wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:90)
> at
> org.apache.wicket.model.AbstractPropertyModel.getObject(AbstractPropertyModel.java:117)
> at org.apache.wicket.Component.getDefaultModelObject(Component.java:1653)
> at
> org.apache.wicket.Component.getDefaultModelObjectAsString(Component.java:1675)
> at
> org.apache.wicket.markup.html.form.FormComponent.getModelValue(FormComponent.java:1367)
> at
> org.apache.wicket.markup.html.form.FormComponent.getValue(FormComponent.java:869)
> at
> org.apache.wicket.markup.html.form.TextField.onComponentTag(TextField.java:106)
> at org.apache.wicket.Component.renderComponent(Component.java:2600)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1525)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1403)
> at
> org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1590)
> at
> org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1514)
> at
> org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:1897)
> at org.apache.wicket.Component.renderComponent(Component.java:2629)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1525)
> at org.apache.wicket.markup.html.form.Form.onRender(Form.java:1968)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1403)
> at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1541)
> at org.apache.wicket.Page.onRender(Page.java:1547)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.Page.renderPage(Page.java:914)
> at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:262)
> at
> org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
> at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1248)
> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1319)
> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)
> at org.apache.wicket.RequestCycle.request(RequestCycle.java:544)
> at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
> at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:289)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
> at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
> at
> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
> at
> org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
> at
> org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:636)
>
> Complete stack:
>
> org.apache.wicket.WicketRuntimeException: Exception in rendering component:
> [MarkupContainer [Component id = login]]
> at org.apache.wicket.Component.renderComponent(Component.java:2668)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1525)
> at org.apache.wicket.markup.html.form.Form.onRender(Form.java:1968)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1403)
> at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1541)
> at org.apache.wicket.Page.onRender(Page.java:1547)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.Page.renderPage(Page.java:914)
> at
> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:262)
> at
> org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
> at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1248)
> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1319)
> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)
> at org.apache.wicket.RequestCycle.request(RequestCycle.java:544)
> at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:456)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = login]]

Anders Peterson-2
In reply to this post by Anders Peterson-2
Thank you, it was the security manager.

On Ubuntu Server it is turned on as a default. I turned it off by  
editing the file /etc/default/tomcat6. Set TOMCAT6_SECURITY=no.

/Anders

On 11 maj 2009, at 10.24, Anders Peterson wrote:

> What exactly does this stacktrace (below) mean?
>
> In development, eclipse & jetty, the application works fine. When  
> deployed (tomcat) the app cannot render login page (I suppose it  
> can't render anything).
>
> /Anders
>
> WicketMessage: Exception in rendering component: [MarkupContainer  
> [Component id = login]]
>
> Root cause:
>
> java.security.AccessControlException: access denied  
> (java.lang.reflect.ReflectPermission suppressAccessChecks)
> at  
> java
> .security
> .AccessControlContext.checkPermission(AccessControlContext.java:342)
> at  
> java.security.AccessController.checkPermission(AccessController.java:
> 553)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
> at  
> java
> .lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:
> 125)
> at org.apache.wicket.util.lang.PropertyResolver
> $MethodGetAndSet.<init>(PropertyResolver.java:1044)
> at  
> org
> .apache
> .wicket
> .util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:459)
> at  
> org
> .apache
> .wicket
> .util
> .lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:
> 281)
> at  
> org
> .apache
> .wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:90)
> at  
> org
> .apache
> .wicket
> .model.AbstractPropertyModel.getObject(AbstractPropertyModel.java:117)
> at org.apache.wicket.Component.getDefaultModelObject(Component.java:
> 1653)
> at  
> org
> .apache
> .wicket.Component.getDefaultModelObjectAsString(Component.java:1675)
> at  
> org
> .apache
> .wicket
> .markup.html.form.FormComponent.getModelValue(FormComponent.java:1367)
> at  
> org
> .apache
> .wicket.markup.html.form.FormComponent.getValue(FormComponent.java:
> 869)
> at  
> org
> .apache
> .wicket.markup.html.form.TextField.onComponentTag(TextField.java:106)
> at org.apache.wicket.Component.renderComponent(Component.java:2600)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:
> 1525)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:
> 1403)
> at  
> org
> .apache
> .wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:
> 1590)
> at  
> org
> .apache
> .wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1514)
> at  
> org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:
> 1897)
> at org.apache.wicket.Component.renderComponent(Component.java:2629)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:
> 1525)
> at org.apache.wicket.markup.html.form.Form.onRender(Form.java:1968)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:
> 1403)
> at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:
> 1541)
> at org.apache.wicket.Page.onRender(Page.java:1547)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.Page.renderPage(Page.java:914)
> at  
> org
> .apache
> .wicket
> .request
> .target
> .component
> .BookmarkablePageRequestTarget
> .respond(BookmarkablePageRequestTarget.java:262)
> at  
> org
> .apache
> .wicket
> .request
> .AbstractRequestCycleProcessor
> .respond(AbstractRequestCycleProcessor.java:105)
> at  
> org
> .apache
> .wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1248)
> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1319)
> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)
> at org.apache.wicket.RequestCycle.request(RequestCycle.java:544)
> at  
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
> 456)
> at  
> org
> .apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:
> 289)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:
> 244)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
> at  
> org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:
> 276)
> at  
> org
> .apache
> .catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
> at  
> org
> .apache
> .catalina
> .core
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 230)
> at org.apache.catalina.core.ApplicationFilterChain.access
> $000(ApplicationFilterChain.java:56)
> at org.apache.catalina.core.ApplicationFilterChain
> $1.run(ApplicationFilterChain.java:189)
> at java.security.AccessController.doPrivileged(Native Method)
> at  
> org
> .apache
> .catalina
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
> at  
> org
> .apache
> .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
> 233)
> at  
> org
> .apache
> .catalina.core.StandardContextValve.invoke(StandardContextValve.java:
> 191)
> at  
> org
> .apache
> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at  
> org
> .apache
> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at  
> org
> .apache
> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
> 109)
> at  
> org
> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> 286)
> at  
> org
> .apache.coyote.http11.Http11Processor.process(Http11Processor.java:
> 845)
> at org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint
> $Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:636)
>
> Complete stack:
>
> org.apache.wicket.WicketRuntimeException: Exception in rendering  
> component: [MarkupContainer [Component id = login]]
> at org.apache.wicket.Component.renderComponent(Component.java:2668)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:
> 1525)
> at org.apache.wicket.markup.html.form.Form.onRender(Form.java:1968)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:
> 1403)
> at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:
> 1541)
> at org.apache.wicket.Page.onRender(Page.java:1547)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.Page.renderPage(Page.java:914)
> at  
> org
> .apache
> .wicket
> .request
> .target
> .component
> .BookmarkablePageRequestTarget
> .respond(BookmarkablePageRequestTarget.java:262)
> at  
> org
> .apache
> .wicket
> .request
> .AbstractRequestCycleProcessor
> .respond(AbstractRequestCycleProcessor.java:105)
> at  
> org
> .apache
> .wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1248)
> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1319)
> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)
> at org.apache.wicket.RequestCycle.request(RequestCycle.java:544)
> at  
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
> 456)


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = login]]

Brill Pappin
In reply to this post by Anders Peterson-2
Looks to me as if the jvm you are deploying to has an active security  
policy that doesn't allow reflection... Which is going to make most  
java apicatipns fail because it's such a common method of doing things.

If you have control of the system, check the policy files (it could  
also be a bad java install ok the box, although I've never seen one  
fail like that).

- Brill Pappin
  Sent from my mobile.


On 11-May-09, at 4:24 AM, Anders Peterson <[hidden email]> wrote:

> What exactly does this stacktrace (below) mean?
>
> In development, eclipse & jetty, the application works fine. When  
> deployed (tomcat) the app cannot render login page (I suppose it  
> can't render anything).
>
> /Anders
>
> WicketMessage: Exception in rendering component: [MarkupContainer  
> [Component id = login]]
>
> Root cause:
>
> java.security.AccessControlException: access denied  
> (java.lang.reflect.ReflectPermission suppressAccessChecks)
> at  
> java.
> security.
> AccessControlContext.checkPermission(AccessControlContext.java:342)
> at  
> java.security.AccessController.checkPermission(AccessController.java:
> 553)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
> at  
> java.
> lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:125)
> at org.apache.wicket.util.lang.PropertyResolver
> $MethodGetAndSet.<init>(PropertyResolver.java:1044)
> at  
> org.
> apache.
> wicket.
> util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:459)
> at  
> org.
> apache.
> wicket.
> util.
> lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:281)
> at  
> org.
> apache.
> wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:90)
> at  
> org.
> apache.
> wicket.
> model.AbstractPropertyModel.getObject(AbstractPropertyModel.java:117)
> at org.apache.wicket.Component.getDefaultModelObject(Component.java:
> 1653)
> at  
> org.
> apache.wicket.Component.getDefaultModelObjectAsString(Component.java:
> 1675)
> at  
> org.
> apache.
> wicket.
> markup.html.form.FormComponent.getModelValue(FormComponent.java:1367)
> at  
> org.
> apache.
> wicket.markup.html.form.FormComponent.getValue(FormComponent.java:869)
> at  
> org.
> apache.
> wicket.markup.html.form.TextField.onComponentTag(TextField.java:106)
> at org.apache.wicket.Component.renderComponent(Component.java:2600)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:
> 1525)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:
> 1403)
> at  
> org.
> apache.
> wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:
> 1590)
> at  
> org.
> apache.
> wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1514)
> at  
> org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:
> 1897)
> at org.apache.wicket.Component.renderComponent(Component.java:2629)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:
> 1525)
> at org.apache.wicket.markup.html.form.Form.onRender(Form.java:1968)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:
> 1403)
> at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:
> 1541)
> at org.apache.wicket.Page.onRender(Page.java:1547)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.Page.renderPage(Page.java:914)
> at  
> org.
> apache.
> wicket.
> request.
> target.
> component.
> BookmarkablePageRequestTarget.
> respond(BookmarkablePageRequestTarget.java:262)
> at  
> org.
> apache.
> wicket.
> request.
> AbstractRequestCycleProcessor.
> respond(AbstractRequestCycleProcessor.java:105)
> at  
> org.
> apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:
> 1248)
> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1319)
> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)
> at org.apache.wicket.RequestCycle.request(RequestCycle.java:544)
> at  
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
> 456)
> at  
> org.
> apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:
> 289)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:
> 244)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
> at  
> org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:
> 276)
> at  
> org.
> apache.
> catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
> at  
> org.
> apache.
> catalina.
> core.
> ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 230)
> at org.apache.catalina.core.ApplicationFilterChain.access
> $000(ApplicationFilterChain.java:56)
> at org.apache.catalina.core.ApplicationFilterChain
> $1.run(ApplicationFilterChain.java:189)
> at java.security.AccessController.doPrivileged(Native Method)
> at  
> org.
> apache.
> catalina.
> core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
> at  
> org.
> apache.
> catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
> 233)
> at  
> org.
> apache.
> catalina.core.StandardContextValve.invoke(StandardContextValve.java:
> 191)
> at  
> org.
> apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> 128)
> at  
> org.
> apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> 102)
> at  
> org.
> apache.
> catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at  
> org.
> apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> 286)
> at  
> org.
> apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
> at org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint
> $Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:636)
>
> Complete stack:
>
> org.apache.wicket.WicketRuntimeException: Exception in rendering  
> component: [MarkupContainer [Component id = login]]
> at org.apache.wicket.Component.renderComponent(Component.java:2668)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:
> 1525)
> at org.apache.wicket.markup.html.form.Form.onRender(Form.java:1968)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:
> 1403)
> at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:
> 1541)
> at org.apache.wicket.Page.onRender(Page.java:1547)
> at org.apache.wicket.Component.render(Component.java:2454)
> at org.apache.wicket.Page.renderPage(Page.java:914)
> at  
> org.
> apache.
> wicket.
> request.
> target.
> component.
> BookmarkablePageRequestTarget.
> respond(BookmarkablePageRequestTarget.java:262)
> at  
> org.
> apache.
> wicket.
> request.
> AbstractRequestCycleProcessor.
> respond(AbstractRequestCycleProcessor.java:105)
> at  
> org.
> apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:
> 1248)
> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1319)
> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)
> at org.apache.wicket.RequestCycle.request(RequestCycle.java:544)
> at  
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
> 456)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = login]]

James Carman
It's not that it doesn't allow reflection.  It's not allowing you to bypass
the Java language access restrictions by calling
AccessibleObject.setAccessible(true).  That's not necessarily a bad thing
have.  When turned off, it allows outside classes to write to private fields
in your code!  Of course, that's the whole idea behind the dependency
injection support (@SpringBean) in Wicket.



On May 11, 2009 8:47 AM, "Brill Pappin" <[hidden email]> wrote:

Looks to me as if the jvm you are deploying to has an active security policy
that doesn't allow reflection... Which is going to make most java apicatipns
fail because it's such a common method of doing things.

If you have control of the system, check the policy files (it could also be
a bad java install ok the box, although I've never seen one fail like that).

- Brill Pappin
 Sent from my mobile.

On 11-May-09, at 4:24 AM, Anders Peterson <[hidden email]> wrote: >
What exactly does this ...