Hi Taha In the 5.3.6 tag there is a fix for issues with the ClientDataEncoderTest that wasn't merged back to the 5.3 branch.
| * aac42f1 Fixed TAP5-2013: "Parameters" table often too wide in component javadocs Also fixed broken tapestry.png image on JavaDoc index page | * 742fac0 FIXED - TAP5-1995: Tapestry5 Application can not be deployed as Tomcat7 HotDeploy Package - apply Chris Poulsen's patch - add test, make PlasticInternalUtils.getStreamForPath() package private | | * 5c777af (tag: 5.3.6) Fix some tests broken by a recent change to ClientDataEncoderImpl | | * 0eacb8c Roll version number forward to 5.3.6 prior to release | |/ | * 3b5badd Use the application root package, not the application version number, as the provisional HMAC passphrase This is the commit: https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;a=commit;h=5c777afe5a99399290de8f7b56d69ca5e46c7e67 Looks like it could be related to the issue you are experiencing. Cheers. Alejandro. On Thu, Apr 18, 2013 at 2:38 PM, Taha Hafeez Siddiqi <tawus.tapes...@gmail.com> wrote: > Hi Kalle > > My tests keep failing in the 5.3 branch. Are you seeing any such thing. After > cloning I am just running > > ./gradlew clean test > > I am running the tests on an OS 10.8 > > Darwin iMac.local 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 > PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64 > > Java version is : sun/oracle java 1.6.0_37 > > 9 tests are failing in tapestry-core. Here are stack trace for two of them. > > > > checks_for_eof > Test class: org.apache.tapestry5.internal.services.ClientDataEncoderTest > > java.lang.RuntimeException: Exception constructing service > 'ClientDataEncoder': Error invoking constructor public > org.apache.tapestry5.internal.services.ClientDataEncoderImpl(org.apache.tapestry5.services.URLEncoder,java.lang.String,org.slf4j.Logger,java.lang.String,org.apache.tapestry5.alerts.AlertManager) > throws java.io.UnsupportedEncodingException: Unable to delegate method > invocation to property 'request' of <Proxy for > RequestGlobals(org.apache.tapestry5.services.RequestGlobals)>, because the > property is null. > at > org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:75) > at > org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:54) > at $ClientDataEncoder_12f6054338afd086.delegate(Unknown Source) > at $ClientDataEncoder_12f6054338afd086.createSink(Unknown Source) > at > org.apache.tapestry5.internal.services.ClientDataEncoderTest.checks_for_eof(ClientDataEncoderTest.java:68) > at > org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:103) > > at > org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:58) > at > org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) > at > org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) > at > org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) > at > org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) > at $Proxy2.stop(Unknown Source) > at > org.gradle.api.internal.tasks.testing.worker.TestWorker.stop(TestWorker.java:110) > at > org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) > at > org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) > at > org.gradle.messaging.remote.internal.TypeCastDispatch.dispatch(TypeCastDispatch.java:30) > at > org.gradle.messaging.remote.internal.WorkerProtocol.handleIncoming(WorkerProtocol.java:53) > at > org.gradle.messaging.remote.internal.WorkerProtocol.handleIncoming(WorkerProtocol.java:31) > at > org.gradle.messaging.remote.internal.ProtocolStack$ProtocolStage.handleIncoming(ProtocolStack.java:167) > at > org.gradle.messaging.remote.internal.ProtocolStack$BottomStage.handleIncoming(ProtocolStack.java:277) > at > org.gradle.messaging.remote.internal.ProtocolStack$BottomConnection$1.run(ProtocolStack.java:299) > at > org.gradle.messaging.remote.internal.ProtocolStack$ExecuteRunnable.dispatch(ProtocolStack.java:120) > at > org.gradle.messaging.remote.internal.ProtocolStack$ExecuteRunnable.dispatch(ProtocolStack.java:116) > at > org.gradle.messaging.dispatch.AsyncDispatch.dispatchMessages(AsyncDispatch.java:132) > at > org.gradle.messaging.dispatch.AsyncDispatch.access$000(AsyncDispatch.java:33) > at > org.gradle.messaging.dispatch.AsyncDispatch$1.run(AsyncDispatch.java:72) > at > org.gradle.messaging.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:66) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:680) > Caused by: org.apache.tapestry5.ioc.internal.OperationException: Error > invoking constructor public > org.apache.tapestry5.internal.services.ClientDataEncoderImpl(org.apache.tapestry5.services.URLEncoder,java.lang.String,org.slf4j.Logger,java.lang.String,org.apache.tapestry5.alerts.AlertManager) > throws java.io.UnsupportedEncodingException: Unable to delegate method > invocation to property 'request' of <Proxy for > RequestGlobals(org.apache.tapestry5.services.RequestGlobals)>, because the > property is null. > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:121) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:88) > at > org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87) > at > org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1124) > at > org.apache.tapestry5.ioc.internal.util.ConstructionPlan.createObject(ConstructionPlan.java:60) > at > org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:61) > at > org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) > at > org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87) > at > org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1124) > at > org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49) > at > org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29) > at > org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:46) > at > org.apache.tapestry5.ioc.internal.AdvisorStackBuilder.createObject(AdvisorStackBuilder.java:63) > at > org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:54) > at > org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60) > at > org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) > at > org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87) > at > org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1124) > at > org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49) > at > org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:66) > ... 59 more > Caused by: java.lang.RuntimeException: Error invoking constructor public > org.apache.tapestry5.internal.services.ClientDataEncoderImpl(org.apache.tapestry5.services.URLEncoder,java.lang.String,org.slf4j.Logger,java.lang.String,org.apache.tapestry5.alerts.AlertManager) > throws java.io.UnsupportedEncodingException: Unable to delegate method > invocation to property 'request' of <Proxy for > RequestGlobals(org.apache.tapestry5.services.RequestGlobals)>, because the > property is null. > at > org.apache.tapestry5.ioc.internal.util.ConstructorInvoker.invoke(ConstructorInvoker.java:57) > at > org.apache.tapestry5.ioc.internal.util.LoggingInvokableWrapper.invoke(LoggingInvokableWrapper.java:42) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) > ... 79 more > Caused by: java.lang.NullPointerException: Unable to delegate method > invocation to property 'request' of <Proxy for > RequestGlobals(org.apache.tapestry5.services.RequestGlobals)>, because the > property is null. > at $Request_12f6054338afd08b.readProperty(Unknown Source) > at $Request_12f6054338afd08b.isXHR(Unknown Source) > at $Request_12f6054338afd04a.isXHR(Unknown Source) > at > org.apache.tapestry5.internal.alerts.AlertManagerImpl.alert(AlertManagerImpl.java:69) > at > org.apache.tapestry5.internal.alerts.AlertManagerImpl.error(AlertManagerImpl.java:62) > at $AlertManager_12f6054338afd088.error(Unknown Source) > at > org.apache.tapestry5.internal.services.ClientDataEncoderImpl.<init>(ClientDataEncoderImpl.java:59) > at > org.apache.tapestry5.ioc.internal.util.ConstructorInvoker.invoke(ConstructorInvoker.java:48) > ... 81 more > ... Removed 34 stack frames > > > multiple_changes > Test class: > org.apache.tapestry5.internal.services.ClientPersistentFieldStorageImplTest > java.lang.RuntimeException: Exception constructing service > 'ClientDataEncoder': Error invoking constructor public > org.apache.tapestry5.internal.services.ClientDataEncoderImpl(org.apache.tapestry5.services.URLEncoder,java.lang.String,org.slf4j.Logger,java.lang.String,org.apache.tapestry5.alerts.AlertManager) > throws java.io.UnsupportedEncodingException: Unable to delegate method > invocation to property 'request' of <Proxy for > RequestGlobals(org.apache.tapestry5.services.RequestGlobals)>, because the > property is null. > at > org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:75) > at > org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:54) > at $ClientDataEncoder_12f6054338afd086.delegate(Unknown Source) > at $ClientDataEncoder_12f6054338afd086.createSink(Unknown Source) > at > org.apache.tapestry5.internal.services.ClientPersistentFieldStorageImpl.refreshClientData(ClientPersistentFieldStorageImpl.java:267) > at > org.apache.tapestry5.internal.services.ClientPersistentFieldStorageImpl.updateLink(ClientPersistentFieldStorageImpl.java:137) > at > org.apache.tapestry5.internal.services.ClientPersistentFieldStorageImplTest.multiple_changes(ClientPersistentFieldStorageImplTest.java:159) > at > org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:103) > at > org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:58) > at > org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) > at > org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) > at > org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) > at > org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) > at $Proxy2.stop(Unknown Source) > at > org.gradle.api.internal.tasks.testing.worker.TestWorker.stop(TestWorker.java:110) > at > org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) > at > org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) > at > org.gradle.messaging.remote.internal.TypeCastDispatch.dispatch(TypeCastDispatch.java:30) > at > org.gradle.messaging.remote.internal.WorkerProtocol.handleIncoming(WorkerProtocol.java:53) > at > org.gradle.messaging.remote.internal.WorkerProtocol.handleIncoming(WorkerProtocol.java:31) > at > org.gradle.messaging.remote.internal.ProtocolStack$ProtocolStage.handleIncoming(ProtocolStack.java:167) > at > org.gradle.messaging.remote.internal.ProtocolStack$BottomStage.handleIncoming(ProtocolStack.java:277) > at > org.gradle.messaging.remote.internal.ProtocolStack$BottomConnection$1.run(ProtocolStack.java:299) > at > org.gradle.messaging.remote.internal.ProtocolStack$ExecuteRunnable.dispatch(ProtocolStack.java:120) > at > org.gradle.messaging.remote.internal.ProtocolStack$ExecuteRunnable.dispatch(ProtocolStack.java:116) > at > org.gradle.messaging.dispatch.AsyncDispatch.dispatchMessages(AsyncDispatch.java:132) > at > org.gradle.messaging.dispatch.AsyncDispatch.access$000(AsyncDispatch.java:33) > at > org.gradle.messaging.dispatch.AsyncDispatch$1.run(AsyncDispatch.java:72) > at > org.gradle.messaging.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:66) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:680) > Caused by: org.apache.tapestry5.ioc.internal.OperationException: Error > invoking constructor public > org.apache.tapestry5.internal.services.ClientDataEncoderImpl(org.apache.tapestry5.services.URLEncoder,java.lang.String,org.slf4j.Logger,java.lang.String,org.apache.tapestry5.alerts.AlertManager) > throws java.io.UnsupportedEncodingException: Unable to delegate method > invocation to property 'request' of <Proxy for > RequestGlobals(org.apache.tapestry5.services.RequestGlobals)>, because the > property is null. > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:121) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:88) > at > org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87) > at > org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1124) > at > org.apache.tapestry5.ioc.internal.util.ConstructionPlan.createObject(ConstructionPlan.java:60) > at > org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:61) > at > org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) > at > org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87) > at > org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1124) > at > org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49) > at > org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29) > at > org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:46) > at > org.apache.tapestry5.ioc.internal.AdvisorStackBuilder.createObject(AdvisorStackBuilder.java:63) > at > org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:54) > at > org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60) > at > org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) > at > org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87) > at > org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1124) > at > org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49) > at > org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:66) > ... 61 more > Caused by: java.lang.RuntimeException: Error invoking constructor public > org.apache.tapestry5.internal.services.ClientDataEncoderImpl(org.apache.tapestry5.services.URLEncoder,java.lang.String,org.slf4j.Logger,java.lang.String,org.apache.tapestry5.alerts.AlertManager) > throws java.io.UnsupportedEncodingException: Unable to delegate method > invocation to property 'request' of <Proxy for > RequestGlobals(org.apache.tapestry5.services.RequestGlobals)>, because the > property is null. > at > org.apache.tapestry5.ioc.internal.util.ConstructorInvoker.invoke(ConstructorInvoker.java:57) > at > org.apache.tapestry5.ioc.internal.util.LoggingInvokableWrapper.invoke(LoggingInvokableWrapper.java:42) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) > ... 81 more > Caused by: java.lang.NullPointerException: Unable to delegate method > invocation to property 'request' of <Proxy for > RequestGlobals(org.apache.tapestry5.services.RequestGlobals)>, because the > property is null. > at $Request_12f6054338afd08b.readProperty(Unknown Source) > at $Request_12f6054338afd08b.isXHR(Unknown Source) > at $Request_12f6054338afd04a.isXHR(Unknown Source) > at > org.apache.tapestry5.internal.alerts.AlertManagerImpl.alert(AlertManagerImpl.java:69) > at > org.apache.tapestry5.internal.alerts.AlertManagerImpl.error(AlertManagerImpl.java:62) > at $AlertManager_12f6054338afd088.error(Unknown Source) > at > org.apache.tapestry5.internal.services.ClientDataEncoderImpl.<init>(ClientDataEncoderImpl.java:59) > at > org.apache.tapestry5.ioc.internal.util.ConstructorInvoker.invoke(ConstructorInvoker.java:48) > ... 83 more > ... Removed 34 stack frames > > > regards > Taha > > > On 17-Apr-2013, at 11:43 PM, Kalle Korhonen <kalle.o.korho...@gmail.com> > wrote: > >> On Wed, Apr 17, 2013 at 12:49 AM, Massimo Lusetti <mluse...@gmail.com>wrote: >> >>> On Mon, Apr 15, 2013 at 3:30 PM, Kalle Korhonen >>> <kalle.o.korho...@gmail.com>wrote: >>>> >>> Thanks, going to spin it asap, maybe the weekend. >>> >> >> Thanks Massimo, appreciated! >> >> Kalle > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org > For additional commands, e-mail: dev-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org For additional commands, e-mail: dev-h...@tapestry.apache.org