Ticket #164 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

NumberFormatException in MaryTTS

Reported by: welberge Owned by:
Priority: major Component: AsapRealizer
Version: 0.9 Keywords:
Cc: Duration:
Planned Date:

Description (last modified by welberge) (diff)

Some speech in MaryTTS results in NumberFormatExceptions, after which the realizer basically locks up (no new behavior can be generated).

To reproduce:

<bml xmlns="http://www.bml-initiative.org/bml/bml-1.0" id="bml1">
<speech id="speech1" start="2">
<text>Hello! This is a basic BML test for the realizer bridge!</text>
</speech>
</bml>

With dfki-pavoque-neutral-hsmm, bits1-hsmm

<warningFeedback characterId="Armandia" id="bml1" type="Scheduling Exception" xmlns="http://www.bml-initiative.org/bml/bml-1.0">Exception scheduling the BML. java.lang.NumberFormatException: For input string: &quot;84.0&quot;
[java.lang.NumberFormatException.forInputString(NumberFormatException.java:65), java.lang.Integer.parseInt(Integer.java:580), java.lang.Integer.parseInt(Integer.java:615), hmi.tts.mary5.prosody.MaryProsodyInfo.parsePhoneme(MaryProsodyInfo.java:173), hmi.tts.mary5.prosody.MaryProsodyInfo.parseSyllable(MaryProsodyInfo.java:141), hmi.tts.mary5.prosody.MaryProsodyInfo.parseWord(MaryProsodyInfo.java:190), hmi.tts.mary5.prosody.MaryProsodyInfo.parsePhrase(MaryProsodyInfo.java:208), hmi.tts.mary5.prosody.MaryProsodyInfo.parsePhrase(MaryProsodyInfo.java:221), hmi.tts.mary5.prosody.MaryProsodyInfo.parsePhrase(MaryProsodyInfo.java:221), hmi.tts.mary5.prosody.MaryProsodyInfo.parsePhrase(MaryProsodyInfo.java:221), hmi.tts.mary5.prosody.MaryProsodyInfo.parseChunk(MaryProsodyInfo.java:232), hmi.tts.mary5.prosody.MaryProsodyInfo.parseChunk(MaryProsodyInfo.java:237), hmi.tts.mary5.prosody.MaryProsodyInfo.parseChunk(MaryProsodyInfo.java:237), hmi.tts.mary5.prosody.MaryProsodyInfo.parseChunk(MaryProsodyInfo.java:242), hmi.tts.mary5.prosody.MaryProsodyInfo.parseChunk(MaryProsodyInfo.java:237), hmi.tts.mary5.prosody.MaryProsodyInfo.parseChunk(MaryProsodyInfo.java:237), hmi.tts.mary5.prosody.MaryProsodyInfo.parse(MaryProsodyInfo.java:251), hmi.tts.mary5.MaryTTSGenerator.getProsodyFromAcousticRealization(MaryTTSGenerator.java:459), hmi.tts.mary5.MaryTTSGenerator.speakBMLToFile(MaryTTSGenerator.java:253), hmi.tts.mary5.MaryTTSGenerator.speakBMLToFile(MaryTTSGenerator.java:74), hmi.tts.BMLTTSBridge.speakToFile(BMLTTSBridge.java:49), asap.speechengine.ttsbinding.TTSBinding.speakToFile(TTSBinding.java:83), asap.speechengine.TimedWavTTSUnit.getTiming(TimedWavTTSUnit.java:193), asap.speechengine.TimedTTSUnit.setup(TimedTTSUnit.java:256), asap.speechengine.TTSPlanner.createSpeechUnit(TTSPlanner.java:125), asap.speechengine.TTSPlanner.resolveSynchs(TTSPlanner.java:152), asap.speechengine.TTSPlanner.resolveSynchs(TTSPlanner.java:1), asap.realizer.DefaultEngine.resolveSynchs(DefaultEngine.java:51), asap.realizer.scheduler.SmartBodySchedulingStrategy.scheduleBehaviour(SmartBodySchedulingStrategy.java:158), asap.realizer.scheduler.SmartBodySchedulingStrategy.schedule(SmartBodySchedulingStrategy.java:74), asap.realizer.scheduler.SortedSmartBodySchedulingStrategy.schedule(SortedSmartBodySchedulingStrategy.java:140), asap.realizer.scheduler.BMLASchedulingHandler.schedule(BMLASchedulingHandler.java:118), asap.realizer.scheduler.BMLASchedulingHandler.schedule(BMLASchedulingHandler.java:107), asap.realizer.scheduler.BMLScheduler.schedule(BMLScheduler.java:518), asap.realizer.AsapRealizer.scheduleBML(AsapRealizer.java:275), asap.realizer.AsapRealizer.scheduleBML(AsapRealizer.java:294), asap.realizer.bridge.ElckerlycRealizerPipe.performBML(ElckerlycRealizerPipe.java:22), asap.bml.bridge.LinkedBlockingQueuePipe$BMLPerformRunner.run(LinkedBlockingQueuePipe.java:99), hmi.util.RuntimeExceptionLoggingRunnable.run(RuntimeExceptionLoggingRunnable.java:52), java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511), java.util.concurrent.FutureTask.run(FutureTask.java:266), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617), java.lang.Thread.run(Thread.java:745)]
</warningFeedback>

Change History

comment:1 Changed 4 years ago by welberge

  • Description modified (diff)

comment:2 Changed 4 years ago by welberge

  • Description modified (diff)

comment:3 Changed 4 years ago by welberge

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.