Fix PropertyConduitSourceImplTest --------------------------------- Key: TAP5-767 URL: https://issues.apache.org/jira/browse/TAP5-767 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.2 Reporter: Igor Drobiazko
------------------------------------------------------------------------------- Test set: TestSuite ------------------------------------------------------------------------------- Tests run: 1401, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 371.469 sec <<< FAILURE! list_as_method_argument(org.apache.tapestry5.internal.services.PropertyConduitSourceImplTest) Time elapsed: 0.031 sec <<< FAILURE! java.lang.RuntimeException: Unable to add method java.lang.Object get(java.lang.Object) to class $PropertyConduit_12257586b97: [source error] ) is missing at org.apache.tapestry5.ioc.internal.services.ClassFabImpl.addMethod(ClassFabImpl.java:216) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createGetter(PropertyConduitSourceImpl.java:714) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createGetterAndSetter(PropertyConduitSourceImpl.java:424) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createAccessors(PropertyConduitSourceImpl.java:407) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createInstance(PropertyConduitSourceImpl.java:260) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build(PropertyConduitSourceImpl.java:1205) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create(PropertyConduitSourceImpl.java:1080) at $PropertyConduitSource_12257586b25.create($PropertyConduitSource_12257586b25.java) at org.apache.tapestry5.internal.services.PropertyConduitSourceImplTest.list_as_method_argument(PropertyConduitSourceImplTest.java:363) Caused by: javassist.CannotCompileException: [source error] ) is missing at javassist.CtBehavior.setBody(CtBehavior.java:368) at javassist.CtBehavior.setBody(CtBehavior.java:334) at org.apache.tapestry5.ioc.internal.services.ClassFabImpl.addMethod(ClassFabImpl.java:209) ... 37 more Caused by: compile error: ) is missing at javassist.compiler.Parser.parseArgumentList(Parser.java:1337) at javassist.compiler.Parser.parseMethodCall(Parser.java:1177) at javassist.compiler.Parser.parsePostfix(Parser.java:1034) at javassist.compiler.Parser.parseUnaryExpr(Parser.java:887) at javassist.compiler.Parser.parseBinaryExpr(Parser.java:774) at javassist.compiler.Parser.parseConditionalExpr(Parser.java:718) at javassist.compiler.Parser.parseExpression(Parser.java:698) at javassist.compiler.Parser.parseDeclarationOrExpression(Parser.java:590) at javassist.compiler.Parser.parseStatement(Parser.java:276) at javassist.compiler.Parser.parseBlock(Parser.java:288) at javassist.compiler.Parser.parseStatement(Parser.java:242) at javassist.compiler.Javac.compileBody(Javac.java:213) at javassist.CtBehavior.setBody(CtBehavior.java:360) ... 39 more method_invocation_with_double_argument(org.apache.tapestry5.internal.services.PropertyConduitSourceImplTest) Time elapsed: 0.015 sec <<< FAILURE! java.lang.RuntimeException: Unable to add method java.lang.Object get(java.lang.Object) to class $PropertyConduit_12257586b9c: [source error] ) is missing at org.apache.tapestry5.ioc.internal.services.ClassFabImpl.addMethod(ClassFabImpl.java:216) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createGetter(PropertyConduitSourceImpl.java:714) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createGetterAndSetter(PropertyConduitSourceImpl.java:424) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createAccessors(PropertyConduitSourceImpl.java:407) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createInstance(PropertyConduitSourceImpl.java:260) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build(PropertyConduitSourceImpl.java:1205) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create(PropertyConduitSourceImpl.java:1080) at $PropertyConduitSource_12257586b25.create($PropertyConduitSource_12257586b25.java) at org.apache.tapestry5.internal.services.PropertyConduitSourceImplTest.method_invocation_with_double_argument(PropertyConduitSourceImplTest.java:299) Caused by: javassist.CannotCompileException: [source error] ) is missing at javassist.CtBehavior.setBody(CtBehavior.java:368) at javassist.CtBehavior.setBody(CtBehavior.java:334) at org.apache.tapestry5.ioc.internal.services.ClassFabImpl.addMethod(ClassFabImpl.java:209) ... 37 more Caused by: compile error: ) is missing at javassist.compiler.Parser.parseArgumentList(Parser.java:1337) at javassist.compiler.Parser.parseMethodCall(Parser.java:1177) at javassist.compiler.Parser.parsePostfix(Parser.java:1034) at javassist.compiler.Parser.parseUnaryExpr(Parser.java:887) at javassist.compiler.Parser.parseCast(Parser.java:917) at javassist.compiler.Parser.parseUnaryExpr(Parser.java:885) at javassist.compiler.Parser.parseBinaryExpr(Parser.java:774) at javassist.compiler.Parser.parseConditionalExpr(Parser.java:718) at javassist.compiler.Parser.parseExpression(Parser.java:698) at javassist.compiler.Parser.parseReturn(Parser.java:506) at javassist.compiler.Parser.parseStatement(Parser.java:268) at javassist.compiler.Parser.parseBlock(Parser.java:288) at javassist.compiler.Parser.parseStatement(Parser.java:242) at javassist.compiler.Javac.compileBody(Javac.java:213) at javassist.CtBehavior.setBody(CtBehavior.java:360) ... 39 more top_level_list(org.apache.tapestry5.internal.services.PropertyConduitSourceImplTest) Time elapsed: 0 sec <<< FAILURE! java.lang.RuntimeException: Unable to add method java.lang.Object get(java.lang.Object) to class $PropertyConduit_12257586b9d: [source error] ) is missing at org.apache.tapestry5.ioc.internal.services.ClassFabImpl.addMethod(ClassFabImpl.java:216) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createListGetter(PropertyConduitSourceImpl.java:502) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createGetterAndSetter(PropertyConduitSourceImpl.java:445) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createAccessors(PropertyConduitSourceImpl.java:407) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl$PropertyConduitBuilder.createInstance(PropertyConduitSourceImpl.java:260) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build(PropertyConduitSourceImpl.java:1205) at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create(PropertyConduitSourceImpl.java:1080) at $PropertyConduitSource_12257586b25.create($PropertyConduitSource_12257586b25.java) at org.apache.tapestry5.internal.services.PropertyConduitSourceImplTest.top_level_list(PropertyConduitSourceImplTest.java:337) Caused by: javassist.CannotCompileException: [source error] ) is missing at javassist.CtBehavior.setBody(CtBehavior.java:368) at javassist.CtBehavior.setBody(CtBehavior.java:334) at org.apache.tapestry5.ioc.internal.services.ClassFabImpl.addMethod(ClassFabImpl.java:209) ... 37 more Caused by: compile error: ) is missing at javassist.compiler.Parser.parseArgumentList(Parser.java:1337) at javassist.compiler.Parser.parseMethodCall(Parser.java:1177) at javassist.compiler.Parser.parsePostfix(Parser.java:1034) at javassist.compiler.Parser.parseUnaryExpr(Parser.java:887) at javassist.compiler.Parser.parseBinaryExpr(Parser.java:774) at javassist.compiler.Parser.parseConditionalExpr(Parser.java:718) at javassist.compiler.Parser.parseExpression(Parser.java:698) at javassist.compiler.Parser.parseDeclarationOrExpression(Parser.java:590) at javassist.compiler.Parser.parseStatement(Parser.java:276) at javassist.compiler.Parser.parseBlock(Parser.java:288) at javassist.compiler.Parser.parseStatement(Parser.java:242) at javassist.compiler.Javac.compileBody(Javac.java:213) at javassist.CtBehavior.setBody(CtBehavior.java:360) ... 39 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.