You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Sachin Tendulkar <te...@rocketmail.com> on 2013/02/28 05:26:24 UTC

Re: tapestry 5.2.5 to 5.3.6 org/chenillekit/tapestry/core/base/EventMixin error

I am trying to build chenillekit from source. "git checkout RELEASE_1.3.3" and then move EventMixin from org.chenillekit/tapestry/core/base package

 to org.chenillekit/tapestry/core/internal. The original jar built from source itself is not working.
latest version also doesn't work.




thanks



________________________________
 From: Sachin Tendulkar <te...@rocketmail.com>
To: Tapestry users <us...@tapestry.apache.org>; Sachin Tendulkar <te...@rocketmail.com> 
Sent: Wednesday, February 27, 2013 11:17 PM
Subject: Re: tapestry 5.2.5 to 5.3.6 upgrade comments section ( 5.4)
 
that issue got resolved "tapestry.compatibility.unknown-component-id-check-enabled" to false , and it worked.

But getting this error now :

java.lang.ClassFormatError
Illegal field modifiers in class org/chenillekit/tapestry/core/base/EventMixin: 0x12

I had to upgrade from chenillekit-tapestry 1.3.0 to 1.3.3. Is that some issue?

thanks



________________________________
From: Sachin Tendulkar <te...@rocketmail.com>
To: "users@tapestry.apache.org" <us...@tapestry.apache.org> 
Sent: Thursday, February 28, 2013 4:03 AM
Subject: tapestry 5.2.5 to 5.3.6 upgrade comments section ( 5.4)

hi,
    tapestry 5.2.5 app had commented <t:actionlink> actionlink  , which is referenced in java class "Object actionFromXXLink()" method.
This threw error in tapestry 5.3.6(not in 5.2.5). is this because comments are parsed in 5.3.6?
how to make comments behave like 5.2.5, if that is the case.

Also what is eta for tapestry 5.4?

thanks

Re: tapestry 5.2.5 to 5.3.6 prototype.js error

Posted by Sachin Tendulkar <te...@rocketmail.com>.
hi,

componentResources.triggerEventis used to do MultiZoneUpdate.

Following error is got in tapestery-5.3.6.jar

parseJSON@http://localhost:8080/proj/assets/33eaa76321764399/core/scriptaculous_1_9_0/prototype.js:720 Ajax.Response<._getResponseJSON@http://localhost:8080/proj/assets/33eaa76321764399/core/scriptaculous_1_9_0/prototype.js:1733 Ajax.Response<.initialize@http://localhost:8080/proj/assets/33eaa76321764399/core/scriptaculous_1_9_0/prototype.js:1681 klass@http://localhost:8080/proj/assets/33eaa76321764399/core/scriptaculous_1_9_0/prototype.js:101 Ajax.Request<.respondToReadyState@http://localhost:8080/proj/assets/33eaa76321764399/core/scriptaculous_1_9_0/prototype.js:1595 Ajax.Request<.onStateChange@http://localhost:8080/proj/assets/33eaa76321764399/core/scriptaculous_1_9_0/prototype.js:1545 bind/<@http://localhost:8080/proj/assets/33eaa76321764399/core/scriptaculous_1_9_0/prototype.js:391

Ajax failure: Status for : SyntaxError: JSON.parse: unexpected character



This is a internationalized application.
scriptaculous 1_9_0 directory in tapestry-core 5.3.6 is causing this error. So replaced it with contents of scriptaculous 1_8_2 of tapestry 5.2.5, and it worked.


What is the right fix for this error.

thanks,

Re: tapestry 5.2.5 to 5.3.6 org/chenillekit/core/resources/URIResource error

Posted by Sachin Tendulkar <te...@rocketmail.com>.
After refactoring EventMixin  to internal package, and doing full build of chenillekit (tag RELEASE_1.3.3), previous error stopped coming.


now this error is coming:


org.apache.tapestry5.ioc.internal.OperationException: Error invoking constructor public org.apache.tapestry5.internal.services.AssetSourceImpl(org.apache.tapestry5.ioc.services.ThreadLocale,java.util.Map,org.apache.tapestry5.ioc.services.SymbolSource): org/chenillekit/core/resources/URIResource
    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)




Caused by: java.lang.ClassNotFoundException: org.chenillekit.core.resources.URIResource
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)



thanks,



________________________________
 From: Sachin Tendulkar <te...@rocketmail.com>
To: Tapestry users <us...@tapestry.apache.org> 
Sent: Thursday, February 28, 2013 3:26 PM
Subject: Re: tapestry 5.2.5 to 5.3.6  org/chenillekit/tapestry/core/base/EventMixin error
 
I am trying to build chenillekit from source. "git checkout RELEASE_1.3.3" and then move EventMixin from org.chenillekit/tapestry/core/base package

 to org.chenillekit/tapestry/core/internal. The original jar built from source itself is not working.
latest version also doesn't work.




thanks



________________________________
From: Sachin Tendulkar <te...@rocketmail.com>
To: Tapestry users <us...@tapestry.apache.org>; Sachin Tendulkar <te...@rocketmail.com> 
Sent: Wednesday, February 27, 2013 11:17 PM
Subject: Re: tapestry 5.2.5 to 5.3.6 upgrade comments section ( 5.4)

that issue got resolved "tapestry.compatibility.unknown-component-id-check-enabled" to false , and it worked.

But getting this error now :

java.lang.ClassFormatError
Illegal field modifiers in class org/chenillekit/tapestry/core/base/EventMixin: 0x12

I had to upgrade from chenillekit-tapestry 1.3.0 to 1.3.3. Is that some issue?

thanks



________________________________
From: Sachin Tendulkar <te...@rocketmail.com>
To: "users@tapestry.apache.org" <us...@tapestry.apache.org> 
Sent: Thursday, February 28, 2013 4:03 AM
Subject: tapestry 5.2.5 to 5.3.6 upgrade comments section ( 5.4)

hi,
    tapestry 5.2.5 app had commented <t:actionlink> actionlink  , which is referenced in java class "Object actionFromXXLink()" method.
This threw error in tapestry 5.3.6(not in 5.2.5). is this because comments are parsed in 5.3.6?
how to make comments behave like 5.2.5, if that is the case.

Also what is eta for tapestry 5.4?

thanks