I have a patch that will throw a runtime exception when either(iff
'struts.el.throwExceptionOnFailure' is true):
* Property is not found
* Method is not found
* An exception is thrown from the expression evaluation
It seems to work fairly well, but I am sure it will need more tweaking
and lots of
The OgnlValueStack swallows the exceptions. Always rethrowing the
exception is not an option, as that it not wanted in many places. The
challenge is to do some refactoring, so the exceptions are thrown only
when OgnlValueStack:find(...) is called from the view. I will play
around with it, see if I
>
> I agree, Struts2 sucks big time in
> this regard while being an excellent framework otherwise.
>
> Robert
Judging from my (not very long) experience with Struts2, I agree wholeheartedly
with that.
It really seems badly broken that the framework (OGNL, in this case)
swallows exceptions (even i
If you're running with log4j in your app, set the logging priority on
the root logger to debug. It spews a lot of messages, and the type
converter messages are there - I was using this facility the other day
when trying to upgrade an existing app from 2.0.x to 2.1.2.
Andy.
On 9 Jan 2009, a
Hi!
To my knowledge, you have to enable devMode. This gives you a lot of
debugging output and exception stack traces on the console. The drawback
is that it makes your application rather sluggish.
Yes, the article you quote is well known. I agree, Struts2 sucks big
time in this regard while
Hi,
Is there anyway to get better error message there's an error occurring in
ognl?
Everytime there's an exception in ognl it's swallowed.
And I ran into some "No Result Found for XxxAction" error.
It's extremely hard to debug, because there's no any useful information in
it.
All of them seem
Dave Newton wrote:
--- Brian Relph <[EMAIL PROTECTED]> wrote:
Although this would work for me personally during development, i am not the
first line of tech support... So when something breaks, and tech support
turns logging up to debug, i would like them not to have a bunch of extra
exceptions
--- Brian Relph <[EMAIL PROTECTED]> wrote:
> Although this would work for me personally during development, i am not the
> first line of tech support... So when something breaks, and tech support
> turns logging up to debug, i would like them not to have a bunch of extra
> exceptions in their logs.
Although this would work for me personally during development, i am not the
first line of tech support... So when something breaks, and tech support
turns logging up to debug, i would like them not to have a bunch of extra
exceptions in their logs. As well, i do not expect them to have any
knowled
Turn down logging on the stuff you want to ignore.
--- Brian Relph <[EMAIL PROTECTED]> wrote:
> When i turn logging up to debug, i get TONS of the same stack trace when
> using my struts2 app ...
>
> Can i get rid of these somehow?
>
> [1/3/08 13:08:13:106 CST] 004c SystemOut O [WebCont
When i turn logging up to debug, i get TONS of the same stack trace when
using my struts2 app ...
Can i get rid of these somehow?
[1/3/08 13:08:13:106 CST] 004c SystemOut O [WebContainer : 1] DEBUG
com.opensymphony.xwork2.util.InstantiatingNullHandler - Entering
nullPropertyValue [target=
11 matches
Mail list logo