[
https://issues.apache.org/jira/browse/DELTASPIKE-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg resolved DELTASPIKE-354.
--------------------------------------
Resolution: Fixed
Fix Version/s: 0.4-incubating
fixed. We will now add 'null' as String for this parameter. The MessageContext
checks also got fixed.
> NPE in MessageBundleInvocationHandler on null Argument
> ------------------------------------------------------
>
> Key: DELTASPIKE-354
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-354
> Project: DeltaSpike
> Issue Type: Bug
> Components: I18n-Module
> Affects Versions: 0.3-incubating
> Reporter: Stefan Strobl
> Assignee: Mark Struberg
> Fix For: 0.4-incubating
>
>
> simply passing a parameter with value "null" to any message results in:
> {code}
> Caused by: java.lang.NullPointerException
> at
> org.apache.deltaspike.core.impl.message.MessageBundleInvocationHandler.resolveMessageContextFromArguments(MessageBundleInvocationHandler.java:157)
> at
> org.apache.deltaspike.core.impl.message.MessageBundleInvocationHandler.invoke(MessageBundleInvocationHandler.java:61)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira