Can't find resource key "BeanUtils.NoGetter"

I am running a simple jsp page that looks at a JavaBean. Here is my error.

500 Internal Server Error

/test/UsingInterestBean.jsp:

Can't find resource key "BeanUtils.NoGetter" in base name allaire/jrun/jsp/resource.properties

java.util.MissingResourceException: Can't find resource key "BeanUtils.NoGetter" in base name allaire/jrun/jsp/resource.properties

at allaire.jrun.util.RB.getString(../util/RB.java:226)

at allaire.jrun.util.RB.getMessage(../util/RB.java:681)

at allaire.jrun.util.RB.getString(../util/RB.java:435)

at allaire.jrun.jsp.BeanUtils.getProperty(../jsp/BeanUtils.java:67)

at allaire.jrun.jsp.JRunJSPStaticHelpers.getBeanProperty(../jsp/JRunJSPStaticHelpers.java:294)

at jrun__UsingInterestBean2ejsp16._jspService(jrun__UsingInterestBean2ejsp16.java:83)

at allaire.jrun.jsp.HttpJSPServlet.service(../jsp/HttpJSPServlet.java:40)

at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)

at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)

at allaire.jrun.servlet.JRunNamedDispatcher.forward(../servlet/JRunNamedDispatcher.java:34)

at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:175)

at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)

at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)

at allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDispatcher.java:88)

at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1131)

at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:330)

at allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:107)

at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)

at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)

Thanks for your help in advance.

[1885 byte] By [droamera] at [2007-11-27 0:27:44]
«« JNLP problem
»» java
# 1

This error:

>

> Can't find resource key "BeanUtils.NoGetter" in base

> name allaire/jrun/jsp/resource.properties

> java.util.MissingResourceException: Can't find

> resource key "BeanUtils.NoGetter" in base name

> allaire/jrun/jsp/resource.properties

>

is saying that in the file called resource.properties , it is unable to find the key called BeanUtils.NoGetter - the properties file is a resource bundle , it is supposed to have key value pairs , whatever application is trying to access that resource bundle is looking for the key but unable to find it.

You can debug your code and see what part of your code is trying to access the key called "BeanUtils.NoGetter" in the properties file and see if you could comment out the code.

If you can't modify that code then check with Allaire / JRun support team or their forums because the property file is theirs.

appy77a at 2007-7-11 22:27:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

In the resource.properties file, there is nothing about BeanUtils or BeanUtils.NoGetter

Also the first line in my resource.properties pages says:

# Messages for the allaire.jrun.rds package

I cannot find a file for the allaire.jrun.jsp package which is what this is looking for.

There is nothing in my .java file or .jsp file that asks for BeanUtils

droamera at 2007-7-11 22:27:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Well, it is getting an error trying to look up the error message for "BeanUtils.NoGetter"

So if the JRun code was working correctly, you would get an error message printed

"This bean has no getter" or some such.

However, the source of the error is in your code.Looking at the stack trace, it seems to come from a call to getBeanProperty - so probably a <jsp:getProperty> tag.

This getProperty tag is in jrun__UsingInterestBean2ejsp16

Probably "UsingInterestBean.jsp"

Check the spelling in your getProperty tags on this page.

Try commenting them out, and see if the page works without them.

Cheers,

evnafets

evnafetsa at 2007-7-11 22:27:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
I thought of that so I checked my jsp pages over and over. I finally gave a look at my .java page and found the error.Thanks.
droamera at 2007-7-11 22:27:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...