Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0039075 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2018-07-31 14:25 | 2018-08-03 08:56 | |||||||
Reporter | ALopetegui | View Status | public | |||||||||
Assigned To | ALopetegui | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | feedback | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | 3.0PR17Q2 | SCM revision | ||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | JSON Datasource | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0039075: NumberFormatException in org.openbravo.service.json.DefaultJsonDataService.createSetQueryService(DefaultJsonDataService.java:640 | |||||||||||
Description | cdb72c84 2018-07-30 15:53:36,548 [ajp-nio-127.0.0.1-8009-exec-311] ERROR org.openbravo.service.json.DefaultJsonDataService - For input string: "{"Class":"Number"}" java.lang.NumberFormatException: For input string: "{"Class":"Number"}" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at org.openbravo.service.json.DefaultJsonDataService.createSetQueryService(DefaultJsonDataService.java:640) at org.openbravo.service.json.DefaultJsonDataService.createSetQueryService(DefaultJsonDataService.java:437) at org.openbravo.service.json.DefaultJsonDataService.fetch(DefaultJsonDataService.java:180) at org.openbravo.service.datasource.DefaultDataSourceService.fetch(DefaultDataSourceService.java:85) at org.openbravo.service.datasource.DefaultDataSourceService.fetch(DefaultDataSourceService.java:78) at org.openbravo.service.datasource.DataSourceServlet.doFetch(DataSourceServlet.java:284) at org.openbravo.service.datasource.DataSourceServlet.doPost(DataSourceServlet.java:840) at javax.servlet.http.HttpServlet.service(HttpServlet.java:648) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:228) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:461) at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:87) at org.openbravo.client.kernel.BaseKernelServlet.service(BaseKernelServlet.java:58) at org.openbravo.service.datasource.DataSourceServlet.service(DataSourceServlet.java:153) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:62) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509) at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:877) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1524) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1480) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) | |||||||||||
Steps To Reproduce | Some invalid number arrives to : if (startRowStr != null) { startRow = Integer.parseInt(startRowStr); queryService.setFirstResult(startRow); } | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0106131) alostale (manager) 2018-08-03 08:56 |
Please provide actionable steps to reproduce, how are the failing requests being generated. |
Issue History | |||
Date Modified | Username | Field | Change |
2018-07-31 14:25 | ALopetegui | New Issue | |
2018-07-31 14:25 | ALopetegui | Assigned To | => platform |
2018-07-31 14:25 | ALopetegui | Modules | => JSON Datasource |
2018-07-31 14:25 | ALopetegui | Triggers an Emergency Pack | => No |
2018-08-03 08:56 | alostale | Note Added: 0106131 | |
2018-08-03 08:56 | alostale | Assigned To | platform => ALopetegui |
2018-08-03 08:56 | alostale | Status | new => feedback |
Copyright © 2000 - 2009 MantisBT Group |