History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RIOT-92
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Felix Gnass
Reporter: Carsten Woelk
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
riotfamily

DBMessages: NullPointerException on new Message with Number argument

Created: 26/Aug/08 02:18 PM   Updated: 02/Sep/08 12:33 PM
Component/s: None
Affects Version/s: release-8-0
Fix Version/s: release-8-0


 Description  « Hide
When trying to get a new Message containing a number in the argument list the NullPointer is happening because of the newly create message does not get the C Locale for some reason.

14:12:59,547 TP-Processor11 ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/titan].[website] - Servlet.service() for servlet website threw exception
java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:336)
at java.text.NumberFormat.getInstance(NumberFormat.java:663)
at java.text.NumberFormat.getInstance(NumberFormat.java:352)
at java.text.MessageFormat.subformat(MessageFormat.java:1228)
at java.text.MessageFormat.format(MessageFormat.java:828)
at java.text.Format.format(Format.java:133)
at org.riotfamily.dbmsgsrc.support.DbMessageSource.getMessageFromParent(DbMessageSource.java:68)
at org.riotfamily.dbmsgsrc.support.AbstractMessageSource.getMessageInternal(AbstractMessageSource.java:208)
at org.riotfamily.dbmsgsrc.support.AbstractMessageSource.getMessage(AbstractMessageSource.java:140)

 All   Comments   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Felix Gnass - 26/Aug/08 03:08 PM
Hm ... I thought http://fisheye.riotfamily.org/changelog/riotfamily/?cs=3014 should have fixed this?