jbushmaster007 / anyedittools

Automatically exported from code.google.com/p/anyedittools
Other
1 stars 0 forks source link

Split stack trace improvements #97

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The stacks below should be examples.

1. The last character before " at" is eaten by regex
2. Newline is not inserted before "Caused by".

{{{
N/A

java.lang.reflect.InvocationTargetException at 
com.advantest.itee.pt.ui.editors.dialogs.ConfigureLayoutDialogTest.testAddAll(Co
nfigureLayoutDialogTest.java:230) at 
com.verigy.itee.core.test.TestSuite93k.runTest(TestSuite93k.java:135) at 
com.verigy.itee.core.test.TestSuite93k.runTest(TestSuite93k.java:121) at 
com.verigy.itee.testframework.runner.JunitTestRunner$JunitRunnable.run(JunitTest
Runner.java:172) at 
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at 
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at 
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3566) at 
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3215) at 
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at 
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at 
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at 
org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at 
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java
:123) at 
com.verigy.itee.testframework.application.TestFrameworkTestApplication.start(Tes
tFrameworkTestApplication.java:290) at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
 at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecli
pseAppLauncher.java:110) at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.java:79) at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at 
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at 
org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at 
org.eclipse.equinox.launcher.Main.run(Main.java:1410) at 
org.eclipse.equinox.launcher.Main.main(Main.java:1386)Caused by: 
java.lang.IndexOutOfBoundsException: Index: 18, Size: 18 at 
java.util.ArrayList.rangeCheck(ArrayList.java:604) at 
java.util.ArrayList.get(ArrayList.java:382) at 
com.advantest.itee.pt.ui.editors.dialogs.ConfigureLayoutInputModel.getElementFro
mModel(ConfigureLayoutInputModel.java:929) at 
com.advantest.itee.pt.ui.editors.dialogs.ConfigureLayoutOutputModel.addSignals(C
onfigureLayoutOutputModel.java:61) at 
com.advantest.itee.pt.ui.editors.dialogs.ConfigureLayoutDialog.addAll(ConfigureL
ayoutDialog.java:875)
}}}

and 
{{{
    1 unexpected error(s) found in the log. Messages: [Errors occurred while trying to get all problems.].

junit.framework.AssertionFailedError: 1 unexpected error(s) found in the log. 
Messages: [Errors occurred while trying to get all problems.]. at 
com.verigy.itee.core.test.JunitHelper.fail(JunitHelper.java:1373) at 
com.verigy.itee.core.test.JunitHelper.failOn(JunitHelper.java:1093) at 
com.verigy.itee.core.test.JunitHelper.verifyExpectedErrorLogsAndFail(JunitHelper
.java:1006) at 
com.verigy.itee.core.test.JunitHelper.tearDown(JunitHelper.java:618) at 
com.verigy.itee.core.test.TestCase93k.tearDown(TestCase93k.java:444) at 
com.advantest.itee.pt.ui.PtTestCaseBase.tearDown(PtTestCaseBase.java:125) at 
com.advantest.itee.pt.ui.ModifyingPatternTestCaseBase.tearDown(ModifyingPatternT
estCaseBase.java:74) at 
com.advantest.itee.pt.ui.editors.TestProblemAnnotations.tearDown(TestProblemAnno
tations.java:71) at 
com.verigy.itee.core.test.TestSuite93k.runTest(TestSuite93k.java:135) at 
com.verigy.itee.core.test.TestSuite93k.runTest(TestSuite93k.java:121) at 
com.verigy.itee.testframework.runner.JunitTestRunner$JunitRunnable.run(JunitTest
Runner.java:172) at 
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at 
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at 
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3566) at 
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3215) at 
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at 
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at 
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at 
org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at 
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java
:123) at 
com.verigy.itee.testframework.application.TestFrameworkTestApplication.start(Tes
tFrameworkTestApplication.java:290) at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
 at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecli
pseAppLauncher.java:110) at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.java:79) at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at 
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at 
org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at 
org.eclipse.equinox.launcher.Main.run(Main.java:1410) at 
org.eclipse.equinox.launcher.Main.main(Main.java:1386)
}}}

Original issue reported on code.google.com by iloveeclipse on 2 Jul 2014 at 9:14

GoogleCodeExporter commented 8 years ago

Original comment by iloveeclipse on 2 Jul 2014 at 8:18