vim-unstack icon indicating copy to clipboard operation
vim-unstack copied to clipboard

Please add Java

Open vitaly-zdanevich opened this issue 6 years ago • 2 comments

Example stack trace:

Exception in thread "main" marytts.exceptions.MaryConfigurationException: Cannot start MARY server
	at marytts.LocalMaryInterface.<init>(LocalMaryInterface.java:66)
	at Txt2Wav.main(Txt2Wav.java:12)
Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 2
	at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3410)
	at java.base/java.lang.String.substring(String.java:1883)
	at marytts.server.EnvironmentChecks.check(EnvironmentChecks.java:46)
	at marytts.server.Mary.startup(Mary.java:286)
	at marytts.server.Mary.startup(Mary.java:204)
	at marytts.util.MaryRuntimeUtils.ensureMaryStarted(MaryRuntimeUtils.java:72)
	at marytts.LocalMaryInterface.<init>(LocalMaryInterface.java:64)
	... 1 more

vitaly-zdanevich avatar Apr 18 '19 08:04 vitaly-zdanevich

Thanks for the suggestion. This will be tricky to do, as the code currently uses a regex to find the file path, but these stack traces do not contain the file path. I will take a look at the code to see how easily it can be refactored to support this.

mattboehm avatar Apr 18 '19 14:04 mattboehm

https://github.com/simonhicks/stacktrace.vim/blob/master/autoload/stacktrace.vim

DmitrySandalov avatar Nov 12 '20 18:11 DmitrySandalov