> Hold on - my app is running Tap 5.1.0.5. Is yours? Ah, I'm running bleeding edge 5.3-SNAPSHOT. I suppose since I upgraded the generics support in the property expressions I should probably get openjdk installed on my mac and see exactly see what's happening...
Josh On Tue, Jun 14, 2011 at 7:08 AM, Geoff Callender <geoff.callender.jumpst...@gmail.com> wrote: > Hold on - my app is running Tap 5.1.0.5. Is yours? > > On 15/06/2011, at 12:02 AM, Geoff Callender wrote: > >> Hi Josh, >> >> I've been running a live Tapestry app on Ubuntu server with openjdk-6-jdk >> for some months now without a problem except a clash with ImageJ which was >> resolved by upgrading ImageJ. Like you, the development was on OS X, and >> built on OS X, ie. I don't recompile for Ubuntu. My Ubuntu java looks the >> same as yours... >> >> java version "1.6.0_20" >> OpenJDK Runtime Environment (IcedTea6 1.9.2) (6b20-1.9.2-0ubuntu1~10.04.1) >> OpenJDK Client VM (build 19.0-b09, mixed mode, sharing) >> >> Here's an example that works fine: >> >> @Property >> private List<AdvertMod> _advertMods; >> >> @Property >> private AdvertMod _advertMod; >> >> >> <tr t:type="Loop" t:source="advertMods" t:value="advertMod"> >> >> so I have no idea what's causing your problem. Very odd. A spurious thought: >> maybe calling the variable "list" is confusing it? >> >> Geoff >> >> On 14/06/2011, at 7:21 AM, Josh Canfield wrote: >> >>> I'm getting some errors in the generics support running an app in >>> ubuntu. This app runs fine on OSX. >>> >>> Does anyone have experience with the OpenJDK Runtime and Tapestry apps? >>> It's not a requirement that I use OpenJDK so I'm going to get the Sun >>> JDK installed, but here is the interesting information. >>> >>> The Environment >>> >>> java version "1.6.0_20" >>> OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1~10.04.1) >>> OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode) >>> >>> The Exception >>> >>> org.apache.tapestry5.ioc.internal.OperationException: Exception >>> assembling root component of page admin/Index: Could not convert >>> 'list' into a component parameter binding: Exception generating >>> conduit for expression 'list': >>> java.lang.reflect.GenericSignatureFormatError >>> >>> The Property: >>> >>> @Property >>> private List<Config> list; >>> >>> The TML: >>> >>> <t:loop source="list" value="item">...</t:loop> >>> >>> >>> The meat of the exception. >>> >>> java.lang.reflect.GenericSignatureFormatError >>> at >>> sun.reflect.generics.parser.SignatureParser.error(SignatureParser.java:121) >>> at >>> sun.reflect.generics.parser.SignatureParser.parseFormalParameters(SignatureParser.java:462) >>> at >>> sun.reflect.generics.parser.SignatureParser.parseMethodTypeSignature(SignatureParser.java:454) >>> at >>> sun.reflect.generics.parser.SignatureParser.parseMethodSig(SignatureParser.java:159) >>> at >>> sun.reflect.generics.repository.ConstructorRepository.parse(ConstructorRepository.java:55) >>> at >>> sun.reflect.generics.repository.ConstructorRepository.parse(ConstructorRepository.java:43) >>> at >>> sun.reflect.generics.repository.AbstractRepository.<init>(AbstractRepository.java:74) >>> at >>> sun.reflect.generics.repository.GenericDeclRepository.<init>(GenericDeclRepository.java:48) >>> at >>> sun.reflect.generics.repository.ConstructorRepository.<init>(ConstructorRepository.java:51) >>> at >>> sun.reflect.generics.repository.MethodRepository.<init>(MethodRepository.java:46) >>> at >>> sun.reflect.generics.repository.MethodRepository.make(MethodRepository.java:59) >>> at java.lang.reflect.Method.getGenericInfo(Method.java:112) >>> at java.lang.reflect.Method.getGenericParameterTypes(Method.java:300) >>> at >>> java.beans.FeatureDescriptor.getParameterTypes(FeatureDescriptor.java:385) >>> at java.beans.MethodDescriptor.setMethod(MethodDescriptor.java:116) >>> at java.beans.MethodDescriptor.<init>(MethodDescriptor.java:74) >>> at java.beans.MethodDescriptor.<init>(MethodDescriptor.java:58) >>> at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1196) >>> at java.beans.Introspector.getBeanInfo(Introspector.java:423) >>> at java.beans.Introspector.getBeanInfo(Introspector.java:189) >>> at >>> org.apache.tapestry5.ioc.internal.services.PropertyAccessImpl.buildAdapter(PropertyAccessImpl.java:87) >>> at >>> org.apache.tapestry5.ioc.internal.services.PropertyAccessImpl.getAdapter(PropertyAccessImpl.java:68) >>> >>> >>> >>> Josh >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org