shubham pathak created APEXMALHAR-2088:
------------------------------------------
Summary: Exception while fetching properties for Operators using
JdbcStore
Key: APEXMALHAR-2088
URL: https://issues.apache.org/jira/browse/APEXMALHAR-2088
Project: Apache Apex Malhar
Issue Type: Bug
Reporter: shubham pathak
Assignee: shubham pathak
Encountered following exception with application using JdbcPojoInputOperator.
apex (application_1463026703355_0006) > get-operator-properties JdbcInput
com.datatorrent.stram.cli.ApexCli$CliException: Failed web service request for
appid application_1463026703355_0006
at
com.datatorrent.stram.cli.ApexCli$GetOperatorPropertiesCommand.execute(ApexCli.java:2635)
at com.datatorrent.stram.cli.ApexCli$3.run(ApexCli.java:1462)
Caused by: com.datatorrent.stram.cli.ApexCli$CliException: Failed to request
web service for appid application_1463026703355_0006
at com.datatorrent.stram.cli.ApexCli.getResource(ApexCli.java:1675)
at com.datatorrent.stram.cli.ApexCli.getResource(ApexCli.java:1652)
at com.datatorrent.stram.cli.ApexCli.access$9400(ApexCli.java:151)
at
com.datatorrent.stram.cli.ApexCli$GetOperatorPropertiesCommand.execute(ApexCli.java:2632)
... 1 more
Caused by: com.sun.jersey.api.client.UniformInterfaceException: GET
http://shubham:40945/ws/v2/stram/logicalPlan/operators/JdbcInput/properties
returned a response status of 404 Not Found
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:676)
at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
at
com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:503)
at
com.datatorrent.stram.util.WebServicesClient$GetWebServicesHandler.process(WebServicesClient.java:222)
at
com.datatorrent.stram.util.WebServicesClient$2.run(WebServicesClient.java:169)
at
com.datatorrent.stram.util.SecureExecutor.execute(SecureExecutor.java:46)
at
com.datatorrent.stram.util.WebServicesClient.process(WebServicesClient.java:164)
at
com.datatorrent.stram.client.StramAgent.issueStramWebRequest(StramAgent.java:278)
at
com.datatorrent.stram.client.StramAgent.issueStramWebRequest(StramAgent.java:298)
at com.datatorrent.stram.cli.ApexCli.getResource(ApexCli.java:1669)
... 4 more
{
RemoteException: {
exception: "JsonMappingException",
message: "(was java.lang.NullPointerException) (through reference chain:
java.util.HashMap["store"]->com.datatorrent.lib.db.jdbc.JdbcStore["connected"])",
javaClassName: "org.codehaus.jackson.map.JsonMappingException"
}
}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)