Folks,
More evidence that NameBasedActionResolverHelper.java
is the key to the problem here:

Now Eclipse has no issue finding the other classes in the stack
trace... just this one. And I don't blame Eclipse because although the
class is said to be here:
net.sourceforge.stripes.controller.NameBasedActionResolverHelper
It isn't there!!!!!!!!!!!!! AAAAAAAHHHHHHHHHHH!!!
Anyone????
--Nikolaos
P.S. I unpacked the 1.5.3.1 and 1.5.4 jars and the class isn't there
either.
Nikolaos Giannopoulos wrote:
Folks,
Correction... the NoSuchMethod exception has nothing to do with nested
layouts... or JSPs. The code that is being executed in the
NoSuchMethod exception case is an initialization URL that goes through
urlrewrite, initializing things along the way and then ends up on an
ActionBean that initializes some internal caches and fails way before
it hits any JSPs or nested layouts (the 2nd exception may have more to
do with nested layouts or more likely is a byproduct of this 1st
exception).
So I did some in depth investigation and here is what I have found when
comparing my 1.5.3.1 version with 1.5.4:
(once again my 1.5.3.1 version is essentially 1.5.3 +
DynamicMappingFilter.java from 1.5.4)
1) DynamicMappingFilter.java AND NameBasedActionResolver.java code is
identical
2) UrlBindingFactory.getInstance() has
been removed from 1.5.4 in that it is no longer treated as a
Singleton... rather AnnotatedActionClassResolver.java now defines:
private UrlBindingFactory urlBindingFactory
=
new UrlBindingFactory();
i.e. a local instance of urlBindingFactory is defined and used... no
problem there... .
3) But what is puzzling is that NameBasedActionResolverHelper.java
does not exist in either code base or svn yet here it is
somehow - for reasons I can't readily understand - in the mix and
moreover ends up calling from 1.5.4 code UrlBindingFactory.getInstance()
that only exists in 1.5.3.1
It appears that NameBasedActionResolverHelper.java
is the key here.
Does anyone know how this class is produced at run time?????? Also its
quite odd that the NameBasedActionResolver.java
code that calls NameBasedActionResolverHelper.java
does not show any line number?????
If I can locate NamBasedActionResolverHelper.java then I think can
figure out what is going on... .
Anyone????
--Nikolaos
------------------------------------------------- Partial Stack Trace
for Reference -------------------------------------------------------
StandardWrapperValve[default]: PWC1406: Servlet.service() for servlet
default threw exception
java.lang.NoSuchMethodError: net.sourceforge.stripes.controller.UrlBindingFactory.getInstance()Lnet/sourceforge/stripes/controller/UrlBindingFactory;
at
net.sourceforge.stripes.controller.NameBasedActionResolverHelper.getActionBeanType(NameBasedActionResolverHelper.java:186)
at
net.sourceforge.stripes.controller.NameBasedActionResolver.getActionBeanType(NameBasedActionResolver.java)
at
net.sourceforge.stripes.controller.DynamicMappingFilter$2.doFilter(DynamicMappingFilter.java:423)
at
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
at
net.sourceforge.stripes.controller.DynamicMappingFilter.doFilter(DynamicMappingFilter.java:418)
----------------------------------------------------------------------------------------------------------------------------------------------------
It occurs as soon as initialization code processes our action bean... .
Investigating further and will try to put together a test case.
One thing I noticed that was interesting is that:
--Nikolaos
Levi Hoogenberg wrote:
A (pre)compiled JSP, perhaps?
Nikolaos Giannopoulos <nikolaos <at> brightminds.org> writes:
...
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development
--
Nikolaos Giannopoulos
Director, BrightMinds Software Inc.
e. [email protected]
w. www.brightminds.org
t. 1.613.822.1700
c. 1.613.797.0036
f. 1.613.822.1915
|
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development