[ https://issues.apache.org/jira/browse/FALCON-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14737414#comment-14737414 ]
Balu Vellanki commented on FALCON-1438: --------------------------------------- The root cause of the issue was that the method {code} public static FalconWebException newInstanceException(Throwable e, Response.Status status) {code} is returning {code} public FalconWebException(Response response) { super(response); } {code} The super(response) here is WebApplicationException(Response response), which in turn calls WebApplicationException(null, response). This is where the "null" message is coming from. To fix this error, FalconWebException should call super(Throwable e, Response response) instead. > Falcon RestAPI - In case of error falcon responds with > FalconWebException::null > ------------------------------------------------------------------------------- > > Key: FALCON-1438 > URL: https://issues.apache.org/jira/browse/FALCON-1438 > Project: Falcon > Issue Type: Bug > Components: webapp > Affects Versions: 0.7 > Reporter: Balu Vellanki > Assignee: Balu Vellanki > Attachments: FALCON-1438.patch > > > Originally reported by [~pisaychuk]. > In regression test FeedInstanceStatusTest#feedInstanceStatusRunning we are > hitting url > http://<falcon-node>:15000/api/instance/kill/feed/rawEmailFeed?user.name=ambari-qa > and getting a response: > {code} > <?xml version="1.0" encoding="UTF-8"?><instancesResult> > <status>FAILED</status> > <message>default/org.apache.falcon.FalconWebException::null > </message> > <requestId>default/1673513676@qtp-1725008249-101 - > dec88465-194b-4651-a0f2-646251318f59 > </requestId> > </instancesResult> > {code} > While exact error in falcon.application.log is: > {code} > org.apache.falcon.FalconException: Start and End dates cannot be empty for > Instance POST apis > {code} > At least response should contain exact error cause. -- This message was sent by Atlassian JIRA (v6.3.4#6332)