ZK 8.5 getResource failing

asked 2017-11-20 22:18:02 +0800

tredmond gravatar image tredmond
21 1

Hi, I'm getting a lot of NullPointerExceptions for resources e.g.

Severe: Message code not found: 27112040 not in enGB:[org.zkoss.zul.mesg.MZul, /metainfo/mesg/msgzul] Info: Loading labels for enGB Severe: java.lang.NullPointerException at org.apache.catalina.core.StandardContext.getResource(StandardContext.java:7133) at org.apache.catalina.core.ApplicationContext.getResource(ApplicationContext.java:386) at org.apache.catalina.core.ApplicationContextFacade.getResource(ApplicationContextFacade.java:259) at org.zkoss.web.util.resource.ServletLabelLocator.locate0(ServletLabelLocator.java:94) at org.zkoss.web.util.resource.ServletLabelLocator.locate(ServletLabelLocator.java:77)

If I switch to another locale e.g. enUS or enGA I get the same problem??? My code has no locale strings in it at all. I've added in empty resource property files to no avail.

Is there a bug in ZK 8.5?



delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2017-11-20 22:18:02 +0800

Seen: 11 times

Last updated: Nov 20 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More