falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sowmya Ramesh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1583) Feed submit/validation with lifecycle tag throws NPE without meaningful error
Date Tue, 03 Nov 2015 21:56:28 GMT

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

Sowmya Ramesh commented on FALCON-1583:
---------------------------------------

[~me.venkatr]: Can you please attach the stack trace too? 
[~ajayyadava]: Root cause is if the life cycle configs are not added in startup properties
and if LifecyclePolicyMap service is not added in services to instantiate, policyMap is null
and in the validation accessing null Map is throwing NPE in validateLifecycle.

> Feed submit/validation with lifecycle tag throws NPE without meaningful error
> -----------------------------------------------------------------------------
>
>                 Key: FALCON-1583
>                 URL: https://issues.apache.org/jira/browse/FALCON-1583
>             Project: Falcon
>          Issue Type: Bug
>          Components: feed
>    Affects Versions: trunk
>            Reporter: Venkat Ramachandran
>             Fix For: trunk
>
>
> 1. compile and start a new falcon server
> 2. make sure the startup.properties *does not* have the lifecycle policies configured
> 3. falcon entity -submit   -type feed -file import_feed_snapshot.xml
> ERROR: Bad Request;default/org.apache.falcon.FalconWebException::org.apache.falcon.FalconException
> Should return some meaningful error message to the CLI users.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message