什么情况,没办法合成
钓鱼台上的姜芽 发布于2021-03-29 浏览:258 回复:2
0
收藏

2021-03-29 09:49:44.666 4644-4708/com.iflytek.cae I/NonBlockSyntherizer: 合成引擎初始化成功
2021-03-29 09:49:44.666 4644-4708/com.iflytek.cae I/NonBlockSyntherizer: NonBlockSyntherizer 初始化成功

2021-03-29 09:49:45.077 4644-4644/com.iflytek.cae W/AutoCheckMessage: 【请手动检查】【检查包名】 如果您集成过程中遇见离线合成初始化问题,请检查网页上appId:15952638 应用是否开通了合成服务,并且网页上的应用填写了Android包名:com.iflytek.cae
集成自动排查工具: 恭喜没有检测到任何问题

2021-03-29 09:49:55.031 4644-4644/com.iflytek.cae I/NonBlockSyntherizer: isInitied:true
2021-03-29 09:49:55.031 4644-4644/com.iflytek.cae I/NonBlockSyntherizer: speak text:hello, 百度语音合成欢迎您
2021-03-29 09:49:55.046 4644-4828/com.iflytek.cae I/MessageListener: 准备开始合成,序列号:0
2021-03-29 09:49:55.057 4644-4829/com.iflytek.cae I/MessageListener: 播放开始回调, 序列号:0
2021-03-29 09:49:55.068 4644-4830/com.iflytek.cae W/DeviceId: galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy
2021-03-29 09:49:55.068 4644-4830/com.iflytek.cae W/DeviceId: galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy
2021-03-29 09:49:55.068 4644-4830/com.iflytek.cae W/DeviceId: galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy
2021-03-29 09:49:56.436 4644-4828/com.iflytek.cae I/MessageListener: 合成进度回调, progress:2;序列号:02021-03-29 09:49:56.440 4644-4828/com.iflytek.cae W/System.err: java.lang.reflect.UndeclaredThrowableException
2021-03-29 09:49:56.441 4644-4828/com.iflytek.cae W/System.err: at $Proxy1.onSynthesizeDataArrived(Unknown Source)
2021-03-29 09:49:56.442 4644-4828/com.iflytek.cae W/System.err: at com.baidu.tts.a.c.b$1.c(TtsAdapter.java:162)
2021-03-29 09:49:56.442 4644-4828/com.iflytek.cae W/System.err: at com.baidu.tts.b.a.a.a.b(AEngineExecutor.java:197)
2021-03-29 09:49:56.442 4644-4828/com.iflytek.cae W/System.err: at com.baidu.tts.b.a.a.c$1.c(EngineExecutor.java:122)
2021-03-29 09:49:56.442 4644-4828/com.iflytek.cae W/System.err: at com.baidu.tts.b.a.b.a.a(ASynthesizer.java:98)
2021-03-29 09:49:56.442 4644-4828/com.iflytek.cae W/System.err: at com.baidu.tts.b.a.b.f$d.a(OnlineSynthesizer.java:148)
2021-03-29 09:49:56.443 4644-4828/com.iflytek.cae W/System.err: at com.baidu.tts.b.a.b.f.a(OnlineSynthesizer.java:83)
2021-03-29 09:49:56.443 4644-4828/com.iflytek.cae W/System.err: at com.baidu.tts.b.a.a.c$a.a(EngineExecutor.java:232)
2021-03-29 09:49:56.443 4644-4828/com.iflytek.cae W/System.err: at com.baidu.tts.b.a.a.c$a.call(EngineExecutor.java:212)
2021-03-29 09:49:56.443 4644-4828/com.iflytek.cae W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
2021-03-29 09:49:56.443 4644-4828/com.iflytek.cae W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
2021-03-29 09:49:56.444 4644-4828/com.iflytek.cae W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
2021-03-29 09:49:56.444 4644-4828/com.iflytek.cae W/System.err: at java.lang.Thread.run(Thread.java:761)
2021-03-29 09:49:56.444 4644-4828/com.iflytek.cae W/System.err: Caused by: java.lang.reflect.InvocationTargetException
2021-03-29 09:49:56.444 4644-4828/com.iflytek.cae W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2021-03-29 09:49:56.445 4644-4828/com.iflytek.cae W/System.err: at com.baidu.tts.aop.AInterceptorHandler.invoke(AInterceptorHandler.java:69)
2021-03-29 09:49:56.445 4644-4828/com.iflytek.cae W/System.err: at java.lang.reflect.Proxy.invoke(Proxy.java:813)
2021-03-29 09:49:56.445 4644-4828/com.iflytek.cae W/System.err: ... 13 more
2021-03-29 09:49:56.446 4644-4828/com.iflytek.cae W/System.err: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.os.Message android.os.Handler.obtainMessage(int, int, int)' on a null object reference
2021-03-29 09:49:56.446 4644-4828/com.iflytek.cae W/System.err: at com.baidu.tts.listener.UiMessageListener.onSynthesizeDataArrived(UiMessageListener.java:38)
2021-03-29 09:49:56.446 4644-4828/com.iflytek.cae W/System.err: at com.baidu.tts.listener.MessageListener.onSynthesizeDataArrived(MessageListener.java:44)
2021-03-29 09:49:56.446 4644-4828/com.iflytek.cae W/System.err: at com.baidu.tts.a.b.a$1.onSynthesizeDataArrived(SpeechSynthesizerAdapter.java:469)
2021-03-29 09:49:56.447 4644-4828/com.iflytek.cae W/System.err: ... 16 more
2021-03-29 09:49:56.450 4644-4828/com.iflytek.cae E/MessageListener: 错误发生:(-10)online engine call synthesize exception[(cause)java.lang.reflect.UndeclaredThrowableException],错误编码:-10,序列号:0

收藏
点赞
0
个赞
共2条回复 最后由damaym回复于2021-04-01
#2franklyn867回复于2021-03-29

检查是否有中文路径或者合成文本没有gkb编码,请优先测试官方demo看是否有此问题,集成请参考官方demo内 doc_integration_DOCUMENT 目录下的图文集成文档。如果还有问题请到 588369236  QQ群向管理员反馈

0
TOP
切换版块