Code links in TeamCity plugin

I'm using IDEA 8.1, Team City 4.0.0 is loaded on my server. The plugin
is current as far as I know.

In the "Log" tab of the TeamCity plugin window: for a build that runs a
JUnit task there are some stack traces (see below). Why aren't there
clickable links to my source code?

Donald


java.lang.NullPointerException
at edu.stsci.db.DBSession.lock(DBSession.java:103)
at
edu.stsci.astromodel.AstroModelNode.getCanonicalObject(AstroModelNode.java:96)
at
edu.stsci.astromodel.AstroModelFactory.createExpression(AstroModelFactory.java:49)
at
edu.stsci.astromodel.AstroModelRangeSuite$AstroModelRangeTest.run(AstroModelRangeSuite.java:291)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)
java.lang.NullPointerException
at edu.stsci.db.DBSession.createQuery(DBSession.java:71)
at
edu.stsci.astromodel.AstroModelNode.doGetCanonical(AstroModelNode.java:341)
at
edu.stsci.astromodel.AstroModelNode.getCanonicalObject(AstroModelNode.java:102)
at
edu.stsci.astromodel.AstroModelFactory.createExpression(AstroModelFactory.java:49)
at
edu.stsci.astromodel.AstroModelRangeSuite$AstroModelRangeTest.run(AstroModelRangeSuite.java:291)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)
java.lang.NullPointerException
at edu.stsci.db.DBSession.clear(DBSession.java:351)
at
edu.stsci.astromodel.AstroModelRangeSuite$AstroModelRangeTest.run(AstroModelRangeSuite.java:309)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)

1 comment
Comment actions Permalink

Donald,

This question actually belongs to TeamCity forum.

Turning stacktraces into links is simply not implemented yet. I've failed a feature to address this: http://jetbrains.net/tracker/issue/TW-7176

Usually we use "failed test" view for a build to investigate failures: the view provides list of the failed tests with details including stacktrace with links to the code.

--
Best regards,

Yegor Yarko
Project Manager (TeamCity)
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.