tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: [GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) failed
Date Sun, 11 Sep 2011 14:07:20 GMT
On 11.09.2011 14:53, Rainer Jung wrote:
> Lookslike this helps:
> 
> Index: java/org/apache/catalina/core/DefaultInstanceManager.java
> ===================================================================
> --- java/org/apache/catalina/core/DefaultInstanceManager.java
> (revision 1168558)
> +++ java/org/apache/catalina/core/DefaultInstanceManager.java   (working
> copy)
> @@ -166,6 +166,11 @@
>       */
>      protected void postConstruct(Object instance, final Class<?> clazz)
>              throws IllegalAccessException, InvocationTargetException {
> +        if (context == null) {
> +            // No resource injection
> +            return;
> +        }
> +
>          Class<?> superClass = clazz.getSuperclass();
>          if (superClass != Object.class) {
>              postConstruct(instance, superClass);
> 

Applied to trunk and 7.

One test failure remaining (only trunk):

Testsuite: org.apache.catalina.core.TestAsyncContextImpl2
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.047 sec

Testcase: initializationError took 0.005 sec
        Caused an ERROR
No runnable methods
java.lang.Exception: No runnable methods
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

Regards,

Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message