struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (WW-5054) Debugging Interceptor debug=browser not working
Date Tue, 11 Feb 2020 07:00:15 GMT

    [ https://issues.apache.org/jira/browse/WW-5054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17034176#comment-17034176
] 

ASF subversion and git services commented on WW-5054:
-----------------------------------------------------

Commit 6046363046cea0bc73baa40370709285f1d69997 in struts's branch refs/heads/WW-5054-debug-browser
from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=6046363 ]

WW-5054 Uses action as a starting point for debugging


> Debugging Interceptor debug=browser not working
> -----------------------------------------------
>
>                 Key: WW-5054
>                 URL: https://issues.apache.org/jira/browse/WW-5054
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.5.20, 2.5.22
>            Reporter: Kai Denzel
>            Priority: Trivial
>             Fix For: 2.6
>
>
> I am unable to get the debugging interceptor with the parameter _debug=browser_ to work.
> According to this Link [https://struts.apache.org/getting-started/debugging-struts.html]
i should get the dojo plugin. But the dojo plugin is not available for struts 2.5.x.
> If i hit the action with _debug=browser&%23parameters_ i will see the parameters,
but can't expand the link even though i have the <s:head/> in the header of my jsp set.
> {code:java}
> 2020-01-09 10:37:10,144 ERROR [http-nio-8080-exec-13] debugging.DebuggingInterceptor$3
(DebuggingInterceptor.java:237) - Unable to create debugging console
> java.lang.NullPointerException: null
> 	at org.apache.struts2.interceptor.debugging.ObjectToHTMLWriter.write(ObjectToHTMLWriter.java:67)
~[struts2-core-2.5.20.jar:2.5.20]
> 	at org.apache.struts2.interceptor.debugging.DebuggingInterceptor$3.beforeResult(DebuggingInterceptor.java:220)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:269)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:179)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)
[struts2-core-2.5.20.jar:2.5.20]
> 	at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:49)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.doIntercept(ConversionErrorInterceptor.java:142)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:137)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:137)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:201)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:67)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at org.apache.struts2.interceptor.DateTextFieldInterceptor.intercept(DateTextFieldInterceptor.java:133)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:89)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:101)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:142)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:160)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:175)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at org.apache.struts2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:121)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:167)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:203)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:196)
[struts2-core-2.5.20.jar:2.5.20]
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
[struts2-core-2.5.20.jar:2.5.20]
> 	at org.apache.struts2.factory.StrutsActionProxy.execute(StrutsActionProxy.java:48) [struts2-core-2.5.20.jar:2.5.20]
> 	at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:574) [struts2-core-2.5.20.jar:2.5.20]
> 	at org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:79)
[struts2-core-2.5.20.jar:2.5.20]
> 	at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:141)
[struts2-core-2.5.20.jar:2.5.20]
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
[catalina.jar:8.5.34]
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[catalina.jar:8.5.34]
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
[catalina.jar:8.5.34]
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
[catalina.jar:8.5.34]
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
[catalina.jar:8.5.34]
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [catalina.jar:8.5.34]
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [catalina.jar:8.5.34]
> 	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
[catalina.jar:8.5.34]
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
[catalina.jar:8.5.34]
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [catalina.jar:8.5.34]
> 	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800) [tomcat-coyote.jar:8.5.34]
> 	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
[tomcat-coyote.jar:8.5.34]
> 	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
[tomcat-coyote.jar:8.5.34]
> 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
[tomcat-coyote.jar:8.5.34]
> 	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.34]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_202]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_202]
> 	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
[tomcat-util.jar:8.5.34]
> 	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message