You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Yonas Jongkind (JIRA)" <ta...@jakarta.apache.org> on 2005/09/30 23:50:51 UTC

[jira] Created: (TAPESTRY-683) Tapestry does not show the full stack trace for nested stack traces.

Tapestry does not show the full stack trace for nested stack traces.
--------------------------------------------------------------------

         Key: TAPESTRY-683
         URL: http://issues.apache.org/jira/browse/TAPESTRY-683
     Project: Tapestry
        Type: Bug
  Components: Web  
    Versions: 4.0    
 Environment: tepestry-4-beta7
    Reporter: Yonas Jongkind
    Priority: Minor


Tapestry does not display nested stack traces.  JUnit outputs them like this:

	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: javassist.CannotCompileException: [source error] Method createTestListSubclasses$PetSeq not found in joker.RdfGraph
	at javassist.CtBehavior.setBody(CtBehavior.java:227)
	at javassist.CtBehavior.setBody(CtBehavior.java:196)
	at joker.runtime.RdfIndividualCreator$Instance.emitPropertyGetters(RdfIndividualCreator.java:383)
	at joker.runtime.RdfIndividualCreator$Instance.emitAll(RdfIndividualCreator.java:611)
	at joker.runtime.RdfIndividualCreator.createIndividual(RdfIndividualCreator.java:842)
	... 20 more
Caused by: compile error: Method createTestListSubclasses$PetSeq not found in joker.RdfGraph
	at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:665)
	at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:631)
	at javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:156)
	at javassist.compiler.ast.CallExpr.accept(CallExpr.java:45)
	at javassist.compiler.TypeChecker.atFieldAssign(TypeChecker.java:225)
	at javassist.compiler.JvstTypeChecker.atFieldAssign(JvstTypeChecker.java:83)
	at javassist.compiler.TypeChecker.atAssignExpr(TypeChecker.java:179)
	at javassist.compiler.ast.AssignExpr.accept(AssignExpr.java:38)
	at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:235)
	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:323)
	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344)
	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
	at javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:384)
	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:348)
	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344)
	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344)
	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
	at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:285)
	at javassist.compiler.Javac.compileBody(Javac.java:212)
	at javassist.CtBehavior.setBody(CtBehavior.java:221)
	... 24 more

But tapestry simple ignores the caused by part.





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (TAPESTRY-683) Tapestry does not show the full stack trace for nested stack traces.

Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-683?page=comments#action_12331490 ] 

Howard M. Lewis Ship commented on TAPESTRY-683:
-----------------------------------------------

Actually, Tapestry does something much smarter; it digs down to the deepest exception and displays its stack trace.  It also shows the entire stack of exceptions, well formatted as HTML.

Under what circumstances is Tapestry not providing you with enough information in an exception report?

> Tapestry does not show the full stack trace for nested stack traces.
> --------------------------------------------------------------------
>
>          Key: TAPESTRY-683
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-683
>      Project: Tapestry
>         Type: Bug
>   Components: Web
>     Versions: 4.0
>  Environment: tepestry-4-beta7
>     Reporter: Yonas Jongkind
>     Priority: Minor

>
> Tapestry does not display nested stack traces.  JUnit outputs them like this:
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
> Caused by: javassist.CannotCompileException: [source error] Method createTestListSubclasses$PetSeq not found in joker.RdfGraph
> 	at javassist.CtBehavior.setBody(CtBehavior.java:227)
> 	at javassist.CtBehavior.setBody(CtBehavior.java:196)
> 	at joker.runtime.RdfIndividualCreator$Instance.emitPropertyGetters(RdfIndividualCreator.java:383)
> 	at joker.runtime.RdfIndividualCreator$Instance.emitAll(RdfIndividualCreator.java:611)
> 	at joker.runtime.RdfIndividualCreator.createIndividual(RdfIndividualCreator.java:842)
> 	... 20 more
> Caused by: compile error: Method createTestListSubclasses$PetSeq not found in joker.RdfGraph
> 	at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:665)
> 	at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:631)
> 	at javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:156)
> 	at javassist.compiler.ast.CallExpr.accept(CallExpr.java:45)
> 	at javassist.compiler.TypeChecker.atFieldAssign(TypeChecker.java:225)
> 	at javassist.compiler.JvstTypeChecker.atFieldAssign(JvstTypeChecker.java:83)
> 	at javassist.compiler.TypeChecker.atAssignExpr(TypeChecker.java:179)
> 	at javassist.compiler.ast.AssignExpr.accept(AssignExpr.java:38)
> 	at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:235)
> 	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:323)
> 	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
> 	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344)
> 	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
> 	at javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:384)
> 	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:348)
> 	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
> 	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344)
> 	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
> 	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344)
> 	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
> 	at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:285)
> 	at javassist.compiler.Javac.compileBody(Javac.java:212)
> 	at javassist.CtBehavior.setBody(CtBehavior.java:221)
> 	... 24 more
> But tapestry simple ignores the caused by part.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (TAPESTRY-683) Tapestry does not show the full stack trace for nested stack traces.

Posted by "Yonas Jongkind (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-683?page=comments#action_12330994 ] 

Yonas Jongkind commented on TAPESTRY-683:
-----------------------------------------

In Tapestry the stack trace above would be:

 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

Having truncated all of the deeper stack traces.

> Tapestry does not show the full stack trace for nested stack traces.
> --------------------------------------------------------------------
>
>          Key: TAPESTRY-683
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-683
>      Project: Tapestry
>         Type: Bug
>   Components: Web
>     Versions: 4.0
>  Environment: tepestry-4-beta7
>     Reporter: Yonas Jongkind
>     Priority: Minor

>
> Tapestry does not display nested stack traces.  JUnit outputs them like this:
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
> Caused by: javassist.CannotCompileException: [source error] Method createTestListSubclasses$PetSeq not found in joker.RdfGraph
> 	at javassist.CtBehavior.setBody(CtBehavior.java:227)
> 	at javassist.CtBehavior.setBody(CtBehavior.java:196)
> 	at joker.runtime.RdfIndividualCreator$Instance.emitPropertyGetters(RdfIndividualCreator.java:383)
> 	at joker.runtime.RdfIndividualCreator$Instance.emitAll(RdfIndividualCreator.java:611)
> 	at joker.runtime.RdfIndividualCreator.createIndividual(RdfIndividualCreator.java:842)
> 	... 20 more
> Caused by: compile error: Method createTestListSubclasses$PetSeq not found in joker.RdfGraph
> 	at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:665)
> 	at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:631)
> 	at javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:156)
> 	at javassist.compiler.ast.CallExpr.accept(CallExpr.java:45)
> 	at javassist.compiler.TypeChecker.atFieldAssign(TypeChecker.java:225)
> 	at javassist.compiler.JvstTypeChecker.atFieldAssign(JvstTypeChecker.java:83)
> 	at javassist.compiler.TypeChecker.atAssignExpr(TypeChecker.java:179)
> 	at javassist.compiler.ast.AssignExpr.accept(AssignExpr.java:38)
> 	at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:235)
> 	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:323)
> 	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
> 	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344)
> 	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
> 	at javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:384)
> 	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:348)
> 	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
> 	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344)
> 	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
> 	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344)
> 	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
> 	at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:285)
> 	at javassist.compiler.Javac.compileBody(Javac.java:212)
> 	at javassist.CtBehavior.setBody(CtBehavior.java:221)
> 	... 24 more
> But tapestry simple ignores the caused by part.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Resolved: (TAPESTRY-683) Tapestry does not show the full stack trace for nested stack traces.

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-683?page=all ]
     
Jesse Kuhnert resolved TAPESTRY-683:
------------------------------------

    Resolution: Cannot Reproduce

> Tapestry does not show the full stack trace for nested stack traces.
> --------------------------------------------------------------------
>
>          Key: TAPESTRY-683
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-683
>      Project: Tapestry
>         Type: Bug
>   Components: Web
>     Versions: 4.0
>  Environment: tepestry-4-beta7
>     Reporter: Yonas Jongkind
>     Priority: Minor

>
> Tapestry does not display nested stack traces.  JUnit outputs them like this:
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
> Caused by: javassist.CannotCompileException: [source error] Method createTestListSubclasses$PetSeq not found in joker.RdfGraph
> 	at javassist.CtBehavior.setBody(CtBehavior.java:227)
> 	at javassist.CtBehavior.setBody(CtBehavior.java:196)
> 	at joker.runtime.RdfIndividualCreator$Instance.emitPropertyGetters(RdfIndividualCreator.java:383)
> 	at joker.runtime.RdfIndividualCreator$Instance.emitAll(RdfIndividualCreator.java:611)
> 	at joker.runtime.RdfIndividualCreator.createIndividual(RdfIndividualCreator.java:842)
> 	... 20 more
> Caused by: compile error: Method createTestListSubclasses$PetSeq not found in joker.RdfGraph
> 	at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:665)
> 	at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:631)
> 	at javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:156)
> 	at javassist.compiler.ast.CallExpr.accept(CallExpr.java:45)
> 	at javassist.compiler.TypeChecker.atFieldAssign(TypeChecker.java:225)
> 	at javassist.compiler.JvstTypeChecker.atFieldAssign(JvstTypeChecker.java:83)
> 	at javassist.compiler.TypeChecker.atAssignExpr(TypeChecker.java:179)
> 	at javassist.compiler.ast.AssignExpr.accept(AssignExpr.java:38)
> 	at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:235)
> 	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:323)
> 	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
> 	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344)
> 	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
> 	at javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:384)
> 	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:348)
> 	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
> 	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344)
> 	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
> 	at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344)
> 	at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
> 	at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:285)
> 	at javassist.compiler.Javac.compileBody(Javac.java:212)
> 	at javassist.CtBehavior.setBody(CtBehavior.java:221)
> 	... 24 more
> But tapestry simple ignores the caused by part.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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