[jira] Created: (OFBIZ-1901) Class cast exception on doing survey [ take survey ] on Customer Profile

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-1901) Class cast exception on doing survey [ take survey ] on Customer Profile

Nicolas Malin (Jira)
Class cast exception on doing survey [ take survey ] on Customer Profile
------------------------------------------------------------------------

                 Key: OFBIZ-1901
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1901
             Project: OFBiz
          Issue Type: Bug
            Reporter: Vikas Mayur


Getting a class cast exception on doing a survey [ take survey ] on Customer Profile. Attached patch resolved this issue.

Following is the error log.

2008-07-29 19:57:33,868 (http-0.0.0.0-8443-1) [     RequestHandler.java:243:INFO ] [Processing Request]: profilesurvey sessionId=A9E86E620807FC48066546B48FB94117.jvm1
2008-07-29 19:57:33,949 (http-0.0.0.0-8443-1) [     ControlServlet.java:205:ERROR]
---- runtime exception report --------------------------------------------------
Error in request handler:
Exception: java.lang.ClassCastException
Message: java.nio.HeapByteBuffer
---- stack trace ---------------------------------------------------------------
java.lang.ClassCastException: java.nio.HeapByteBuffer
org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:308)
org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:291)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:245)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:613)


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1901) Class cast exception on doing survey [ take survey ] on Customer Profile

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Mayur updated OFBIZ-1901:
-------------------------------

    Attachment: UtilHttp.patch

> Class cast exception on doing survey [ take survey ] on Customer Profile
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-1901
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1901
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Vikas Mayur
>         Attachments: UtilHttp.patch
>
>
> Getting a class cast exception on doing a survey [ take survey ] on Customer Profile. Attached patch resolved this issue.
> Following is the error log.
> 2008-07-29 19:57:33,868 (http-0.0.0.0-8443-1) [     RequestHandler.java:243:INFO ] [Processing Request]: profilesurvey sessionId=A9E86E620807FC48066546B48FB94117.jvm1
> 2008-07-29 19:57:33,949 (http-0.0.0.0-8443-1) [     ControlServlet.java:205:ERROR]
> ---- runtime exception report --------------------------------------------------
> Error in request handler:
> Exception: java.lang.ClassCastException
> Message: java.nio.HeapByteBuffer
> ---- stack trace ---------------------------------------------------------------
> java.lang.ClassCastException: java.nio.HeapByteBuffer
> org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:308)
> org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:291)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:245)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:613)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1901) Class cast exception on doing survey [ take survey ] on Customer Profile

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617800#action_12617800 ]

Vikas Mayur commented on OFBIZ-1901:
------------------------------------

Steps to reproduce this error:
1) Go to Profile screen https://demo.hotwaxmedia.com/ecommerce/control/viewprofile (username=DemoCustomer, password=ofbiz)
2) In Screenlet Surveys, click on [ take survey] link.

> Class cast exception on doing survey [ take survey ] on Customer Profile
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-1901
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1901
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Vikas Mayur
>         Attachments: UtilHttp.patch
>
>
> Getting a class cast exception on doing a survey [ take survey ] on Customer Profile. Attached patch resolved this issue.
> Following is the error log.
> 2008-07-29 19:57:33,868 (http-0.0.0.0-8443-1) [     RequestHandler.java:243:INFO ] [Processing Request]: profilesurvey sessionId=A9E86E620807FC48066546B48FB94117.jvm1
> 2008-07-29 19:57:33,949 (http-0.0.0.0-8443-1) [     ControlServlet.java:205:ERROR]
> ---- runtime exception report --------------------------------------------------
> Error in request handler:
> Exception: java.lang.ClassCastException
> Message: java.nio.HeapByteBuffer
> ---- stack trace ---------------------------------------------------------------
> java.lang.ClassCastException: java.nio.HeapByteBuffer
> org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:308)
> org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:291)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:245)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:613)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1901) Class cast exception on doing survey [ take survey ] on Customer Profile

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617802#action_12617802 ]

Vikas Mayur commented on OFBIZ-1901:
------------------------------------

Just a note ....

The process afterwards also need to be refactor. It is not working at the moment.
I would work on this whenever I find time.

- Vikas



> Class cast exception on doing survey [ take survey ] on Customer Profile
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-1901
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1901
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Vikas Mayur
>         Attachments: UtilHttp.patch
>
>
> Getting a class cast exception on doing a survey [ take survey ] on Customer Profile. Attached patch resolved this issue.
> Following is the error log.
> 2008-07-29 19:57:33,868 (http-0.0.0.0-8443-1) [     RequestHandler.java:243:INFO ] [Processing Request]: profilesurvey sessionId=A9E86E620807FC48066546B48FB94117.jvm1
> 2008-07-29 19:57:33,949 (http-0.0.0.0-8443-1) [     ControlServlet.java:205:ERROR]
> ---- runtime exception report --------------------------------------------------
> Error in request handler:
> Exception: java.lang.ClassCastException
> Message: java.nio.HeapByteBuffer
> ---- stack trace ---------------------------------------------------------------
> java.lang.ClassCastException: java.nio.HeapByteBuffer
> org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:308)
> org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:291)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:245)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:613)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-1901) Class cast exception on doing survey [ take survey ] on Customer Profile

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato reassigned OFBIZ-1901:
----------------------------------------

    Assignee: Jacopo Cappellato

> Class cast exception on doing survey [ take survey ] on Customer Profile
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-1901
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1901
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Vikas Mayur
>            Assignee: Jacopo Cappellato
>         Attachments: UtilHttp.patch
>
>
> Getting a class cast exception on doing a survey [ take survey ] on Customer Profile. Attached patch resolved this issue.
> Following is the error log.
> 2008-07-29 19:57:33,868 (http-0.0.0.0-8443-1) [     RequestHandler.java:243:INFO ] [Processing Request]: profilesurvey sessionId=A9E86E620807FC48066546B48FB94117.jvm1
> 2008-07-29 19:57:33,949 (http-0.0.0.0-8443-1) [     ControlServlet.java:205:ERROR]
> ---- runtime exception report --------------------------------------------------
> Error in request handler:
> Exception: java.lang.ClassCastException
> Message: java.nio.HeapByteBuffer
> ---- stack trace ---------------------------------------------------------------
> java.lang.ClassCastException: java.nio.HeapByteBuffer
> org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:308)
> org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:291)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:245)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:613)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1901) Class cast exception on doing survey [ take survey ] on Customer Profile

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Vijaywargiya updated OFBIZ-1901:
---------------------------------------

    Attachment: UtilHttp.patch

Hello Jacopo or anyone interested,

I took the work that has been done by Vikas on the broken survey. (Previous patch that has been attached)
This updated patch will resolve that issue.

For reproducing the bug please follow the steps mentioned by Vikas.
Please let me know if anything is missing in it.

--
Ashish Vijaywargiya


 

> Class cast exception on doing survey [ take survey ] on Customer Profile
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-1901
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1901
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Vikas Mayur
>            Assignee: Jacopo Cappellato
>         Attachments: UtilHttp.patch, UtilHttp.patch
>
>
> Getting a class cast exception on doing a survey [ take survey ] on Customer Profile. Attached patch resolved this issue.
> Following is the error log.
> 2008-07-29 19:57:33,868 (http-0.0.0.0-8443-1) [     RequestHandler.java:243:INFO ] [Processing Request]: profilesurvey sessionId=A9E86E620807FC48066546B48FB94117.jvm1
> 2008-07-29 19:57:33,949 (http-0.0.0.0-8443-1) [     ControlServlet.java:205:ERROR]
> ---- runtime exception report --------------------------------------------------
> Error in request handler:
> Exception: java.lang.ClassCastException
> Message: java.nio.HeapByteBuffer
> ---- stack trace ---------------------------------------------------------------
> java.lang.ClassCastException: java.nio.HeapByteBuffer
> org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:308)
> org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:291)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:245)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:613)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1901) Class cast exception on doing survey [ take survey ] on Customer Profile

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697796#action_12697796 ]

Jacopo Cappellato commented on OFBIZ-1901:
------------------------------------------

Thank you Ashish and Vikas,

in rev. 763915 I have committed the part of the patch related to the framework, please feel free to assign this task to you and commit the other part of your work.


> Class cast exception on doing survey [ take survey ] on Customer Profile
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-1901
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1901
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Vikas Mayur
>            Assignee: Jacopo Cappellato
>         Attachments: UtilHttp.patch, UtilHttp.patch
>
>
> Getting a class cast exception on doing a survey [ take survey ] on Customer Profile. Attached patch resolved this issue.
> Following is the error log.
> 2008-07-29 19:57:33,868 (http-0.0.0.0-8443-1) [     RequestHandler.java:243:INFO ] [Processing Request]: profilesurvey sessionId=A9E86E620807FC48066546B48FB94117.jvm1
> 2008-07-29 19:57:33,949 (http-0.0.0.0-8443-1) [     ControlServlet.java:205:ERROR]
> ---- runtime exception report --------------------------------------------------
> Error in request handler:
> Exception: java.lang.ClassCastException
> Message: java.nio.HeapByteBuffer
> ---- stack trace ---------------------------------------------------------------
> java.lang.ClassCastException: java.nio.HeapByteBuffer
> org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:308)
> org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:291)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:245)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:613)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1901) Class cast exception on doing survey [ take survey ] on Customer Profile

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697798#action_12697798 ]

Ashish Vijaywargiya commented on OFBIZ-1901:
--------------------------------------------

Thanks Jacopo for committing the changes of framework part.

I discussed the content related work with Pranay (Thanks Pranay) because there were some confusion to me in that and in past he has done extensive work in Content component for a client. So I will not prefer to commit the changes.

Vikas or (Probably Jacques or anyone else) can you please take a look at the attached patch and share your thoughts on this.
Will wait for your comments on this.

Thanks Guys !

--
Ashish

> Class cast exception on doing survey [ take survey ] on Customer Profile
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-1901
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1901
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Vikas Mayur
>            Assignee: Jacopo Cappellato
>         Attachments: UtilHttp.patch, UtilHttp.patch
>
>
> Getting a class cast exception on doing a survey [ take survey ] on Customer Profile. Attached patch resolved this issue.
> Following is the error log.
> 2008-07-29 19:57:33,868 (http-0.0.0.0-8443-1) [     RequestHandler.java:243:INFO ] [Processing Request]: profilesurvey sessionId=A9E86E620807FC48066546B48FB94117.jvm1
> 2008-07-29 19:57:33,949 (http-0.0.0.0-8443-1) [     ControlServlet.java:205:ERROR]
> ---- runtime exception report --------------------------------------------------
> Error in request handler:
> Exception: java.lang.ClassCastException
> Message: java.nio.HeapByteBuffer
> ---- stack trace ---------------------------------------------------------------
> java.lang.ClassCastException: java.nio.HeapByteBuffer
> org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:308)
> org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:291)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:245)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:613)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1901) Class cast exception on doing survey [ take survey ] on Customer Profile

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Vijaywargiya closed OFBIZ-1901.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

For now I am closing this issue.
For improvement or bugs separate Jira issue can be opened.
Changes are in trunk rev no. 766293.

Thanks Vikas & Jacopo !

--
Ashish Vijaywargiya

> Class cast exception on doing survey [ take survey ] on Customer Profile
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-1901
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1901
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Vikas Mayur
>            Assignee: Jacopo Cappellato
>             Fix For: SVN trunk
>
>         Attachments: UtilHttp.patch, UtilHttp.patch
>
>
> Getting a class cast exception on doing a survey [ take survey ] on Customer Profile. Attached patch resolved this issue.
> Following is the error log.
> 2008-07-29 19:57:33,868 (http-0.0.0.0-8443-1) [     RequestHandler.java:243:INFO ] [Processing Request]: profilesurvey sessionId=A9E86E620807FC48066546B48FB94117.jvm1
> 2008-07-29 19:57:33,949 (http-0.0.0.0-8443-1) [     ControlServlet.java:205:ERROR]
> ---- runtime exception report --------------------------------------------------
> Error in request handler:
> Exception: java.lang.ClassCastException
> Message: java.nio.HeapByteBuffer
> ---- stack trace ---------------------------------------------------------------
> java.lang.ClassCastException: java.nio.HeapByteBuffer
> org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:308)
> org.ofbiz.base.util.UtilHttp.makeParamMapWithPrefix(UtilHttp.java:291)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:245)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:613)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.