具体错误:

2022-03-01 14:15:33.398 java[50077:153519] Cocoa AWT: Not running on AppKit thread 0 when expected. (0   libawt_lwawt.dylib                  0x0000000124df9b91 -[AWTWindow windowDidResignKey:] + 421   CoreFoundation                      0x00007fff2927e1ac __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 122   CoreFoundation                      0x00007fff2927e09a _CFXRegistrationPost + 4423   CoreFoundation                      0x00007fff2927dde2 ___CFXNotificationPost_block_invoke + 504   CoreFoundation                      0x00007fff2923c972 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 18265   CoreFoundation                      0x00007fff2923ba0c _CFXNotificationPost + 6526   Foundation                          0x00007fff2b314477 -[NSNotificationCenter postNotificationName:object:userInfo:] + 667   AppKit                              0x00007fff26a56c89 -[NSWindow resignKeyWindow] + 8678   AppKit                              0x00007fff2699d888 -[NSWindow _changeKeyAndMainLimitedOK:] + 8479   AppKit                              0x00007fff26a4ae9a -[NSWindow _makeKeyRegardlessOfVisibility] + 10810  AppKit                              0x00007fff269a08f4 NSPerformVisuallyAtomicChange + 14611  AppKit                              0x00007fff26a4add1 -[NSWindow makeKeyAndOrderFront:] + 9012  libSDL2-2.0.0.dylib                 0x000000019f9121b9 Cocoa_ShowWindow + 8913  libSDL2-2.0.0.dylib                 0x000000019f8e43ba SDL_ShowWindow_REAL + 9014  libtsplayercore.dylib               0x00000001a040a18a initPlayerCore + 101815  libtsplayercore.dylib               0x00000001a0412da2 PlayerCore_CreateWithSize + 29016  libtsplayercore.dylib               0x00000001a041398c Java_com_ts_apps_system_TPlayerCore_createWithSize + 15617  ???                                 0x00000001142c2087 0x0 + 463340352718  ???                                 0x00000001142b3a40 0x0 + 463334457619  ???                                 0x00000001142ac4e7 0x0 + 463331453520  libjvm.dylib                        0x000000010e6d66a3 _ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 150121  libjvm.dylib                        0x000000010e70fa10 _ZL17jni_invoke_staticP7JNIEnv_P9JavaValueP8_jobject11JNICallTypeP10_jmethodIDP18JNI_ArgumentPusherP6Thread + 56422  libjvm.dylib                        0x000000010e712471 jni_CallStaticVoidMethod + 39723  java                                0x000000010dadfcde JavaMain + 251424  libsystem_pthread.dylib             0x00007fff50af26c1 _pthread_body + 34025  libsystem_pthread.dylib             0x00007fff50af256d _pthread_body + 026  libsystem_pthread.dylib             0x00007fff50af1c5d thread_start + 13
)
2022-03-01 14:15:33.398 java[50077:153519]  Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
2022-03-01 14:15:33.400 java[50077:153519] Cocoa AWT: Not running on AppKit thread 0 when expected. (0   libawt_lwawt.dylib                  0x0000000124df8d7b -[AWTWindow orderChildWindows:] + 521   CoreFoundation                      0x00007fff2927e1ac __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 122   CoreFoundation                      0x00007fff2927e09a _CFXRegistrationPost + 4423   CoreFoundation                      0x00007fff2927dde2 ___CFXNotificationPost_block_invoke + 504   CoreFoundation                      0x00007fff2923c972 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 18265   CoreFoundation                      0x00007fff2923ba0c _CFXNotificationPost + 6526   Foundation                          0x00007fff2b314477 -[NSNotificationCenter postNotificationName:object:userInfo:] + 667   AppKit                              0x00007fff26a56c89 -[NSWindow resignKeyWindow] + 8678   AppKit                              0x00007fff2699d888 -[NSWindow _changeKeyAndMainLimitedOK:] + 8479   AppKit                              0x00007fff26a4ae9a -[NSWindow _makeKeyRegardlessOfVisibility] + 10810  AppKit                              0x00007fff269a08f4 NSPerformVisuallyAtomicChange + 14611  AppKit                              0x00007fff26a4add1 -[NSWindow makeKeyAndOrderFront:] + 9012  libSDL2-2.0.0.dylib                 0x000000019f9121b9 Cocoa_ShowWindow + 8913  libSDL2-2.0.0.dylib                 0x000000019f8e43ba SDL_ShowWindow_REAL + 9014  libtsplayercore.dylib               0x00000001a040a18a initPlayerCore + 101815  libtsplayercore.dylib               0x00000001a0412da2 PlayerCore_CreateWithSize + 29016  libtsplayercore.dylib               0x00000001a041398c Java_com_ts_apps_system_TPlayerCore_createWithSize + 15617  ???                                 0x00000001142c2087 0x0 + 463340352718  ???                                 0x00000001142b3a40 0x0 + 463334457619  ???                                 0x00000001142ac4e7 0x0 + 463331453520  libjvm.dylib                        0x000000010e6d66a3 _ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 150121  libjvm.dylib                        0x000000010e70fa10 _ZL17jni_invoke_staticP7JNIEnv_P9JavaValueP8_jobject11JNICallTypeP10_jmethodIDP18JNI_ArgumentPusherP6Thread + 56422  libjvm.dylib                        0x000000010e712471 jni_CallStaticVoidMethod + 39723  java                                0x000000010dadfcde JavaMain + 251424  libsystem_pthread.dylib             0x00007fff50af26c1 _pthread_body + 34025  libsystem_pthread.dylib             0x00007fff50af256d _pthread_body + 026  libsystem_pthread.dylib             0x00007fff50af1c5d thread_start + 13
)
2022-03-01 14:15:33.400 java[50077:153519]  Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
2022-03-01 14:15:33.402 java[50077:153519] Cocoa AWT: Not running on AppKit thread 0 when expected. (0   libosxapp.dylib                     0x0000000124ed0150 +[ThreadUtilities getJNIEnv] + 371   libawt_lwawt.dylib                  0x0000000124df8b70 -[AWTWindow isBlocked] + 372   libawt_lwawt.dylib                  0x0000000124df8dcc -[AWTWindow orderChildWindows:] + 1333   CoreFoundation                      0x00007fff2927e1ac __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 124   CoreFoundation                      0x00007fff2927e09a _CFXRegistrationPost + 4425   CoreFoundation                      0x00007fff2927dde2 ___CFXNotificationPost_block_invoke + 506   CoreFoundation                      0x00007fff2923c972 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 18267   CoreFoundation                      0x00007fff2923ba0c _CFXNotificationPost + 6528   Foundation                          0x00007fff2b314477 -[NSNotificationCenter postNotificationName:object:userInfo:] + 669   AppKit                              0x00007fff26a56c89 -[NSWindow resignKeyWindow] + 86710  AppKit                              0x00007fff2699d888 -[NSWindow _changeKeyAndMainLimitedOK:] + 84711  AppKit                              0x00007fff26a4ae9a -[NSWindow _makeKeyRegardlessOfVisibility] + 10812  AppKit                              0x00007fff269a08f4 NSPerformVisuallyAtomicChange + 14613  AppKit                              0x00007fff26a4add1 -[NSWindow makeKeyAndOrderFront:] + 9014  libSDL2-2.0.0.dylib                 0x000000019f9121b9 Cocoa_ShowWindow + 8915  libSDL2-2.0.0.dylib                 0x000000019f8e43ba SDL_ShowWindow_REAL + 9016  libtsplayercore.dylib               0x00000001a040a18a initPlayerCore + 101817  libtsplayercore.dylib               0x00000001a0412da2 PlayerCore_CreateWithSize + 29018  libtsplayercore.dylib               0x00000001a041398c Java_com_ts_apps_system_TPlayerCore_createWithSize + 15619  ???                                 0x00000001142c2087 0x0 + 463340352720  ???                                 0x00000001142b3a40 0x0 + 463334457621  ???                                 0x00000001142ac4e7 0x0 + 463331453522  libjvm.dylib                        0x000000010e6d66a3 _ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 150123  libjvm.dylib                        0x000000010e70fa10 _ZL17jni_invoke_staticP7JNIEnv_P9JavaValueP8_jobject11JNICallTypeP10_jmethodIDP18JNI_ArgumentPusherP6Thread + 56424  libjvm.dylib                        0x000000010e712471 jni_CallStaticVoidMethod + 39725  java                                0x000000010dadfcde JavaMain + 251426  libsystem_pthread.dylib             0x00007fff50af26c1 _pthread_body + 34027  libsystem_pthread.dylib             0x00007fff50af256d _pthread_body + 028  libsystem_pthread.dylib             0x00007fff50af1c5d thread_start + 13
)
2022-03-01 14:15:33.402 java[50077:153519]  Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
2022-03-01 14:15:33.405 java[50077:153519] Apple AWT Internal Exception: java.lang.StackOverflowErrorat com.ts.apps.system.TPlayerCore.createWithSize(Native Method)at com.ts.apps.system.TPlayerCoreFrame.main(TPlayerCoreFrame.java:614)
2022-03-01 14:15:33.405 java[50077:153519] *** Terminating app due to uncaught exception 'JavaNativeException', reason: 'Internal JNF Error: could not find Throwable class'
*** First throw call stack:
(0   CoreFoundation                      0x00007fff292ed32b __exceptionPreprocess + 1711   libobjc.A.dylib                     0x00007fff4fc7b942 objc_exception_throw + 482   CoreFoundation                      0x00007fff292ed279 -[NSException raise] + 93   JavaNativeFoundation                0x00007fff2cdda8a0 JNFCallBooleanMethod + 2184   libawt_lwawt.dylib                  0x0000000124df8bac -[AWTWindow isBlocked] + 975   libawt_lwawt.dylib                  0x0000000124df8dcc -[AWTWindow orderChildWindows:] + 1336   CoreFoundation                      0x00007fff2927e1ac __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 127   CoreFoundation                      0x00007fff2927e09a _CFXRegistrationPost + 4428   CoreFoundation                      0x00007fff2927dde2 ___CFXNotificationPost_block_invoke + 509   CoreFoundation                      0x00007fff2923c972 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 182610  CoreFoundation                      0x00007fff2923ba0c _CFXNotificationPost + 65211  Foundation                          0x00007fff2b314477 -[NSNotificationCenter postNotificationName:object:userInfo:] + 6612  AppKit                              0x00007fff26a56c89 -[NSWindow resignKeyWindow] + 86713  AppKit                              0x00007fff2699d888 -[NSWindow _changeKeyAndMainLimitedOK:] + 84714  AppKit                              0x00007fff26a4ae9a -[NSWindow _makeKeyRegardlessOfVisibility] + 10815  AppKit                              0x00007fff269a08f4 NSPerformVisuallyAtomicChange + 14616  AppKit                              0x00007fff26a4add1 -[NSWindow makeKeyAndOrderFront:] + 9017  libSDL2-2.0.0.dylib                 0x000000019f9121b9 Cocoa_ShowWindow + 8918  libSDL2-2.0.0.dylib                 0x000000019f8e43ba SDL_ShowWindow_REAL + 9019  libtsplayercore.dylib               0x00000001a040a18a initPlayerCore + 101820  libtsplayercore.dylib               0x00000001a0412da2 PlayerCore_CreateWithSize + 29021  libtsplayercore.dylib               0x00000001a041398c Java_com_ts_apps_system_TPlayerCore_createWithSize + 15622  ???                                 0x00000001142c2087 0x0 + 463340352723  ???                                 0x00000001142b3a40 0x0 + 463334457624  ???                                 0x00000001142ac4e7 0x0 + 463331453525  libjvm.dylib                        0x000000010e6d66a3 _ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 150126  libjvm.dylib                        0x000000010e70fa10 _ZL17jni_invoke_staticP7JNIEnv_P9JavaValueP8_jobject11JNICallTypeP10_jmethodIDP18JNI_ArgumentPusherP6Thread + 56427  libjvm.dylib                        0x000000010e712471 jni_CallStaticVoidMethod + 39728  java                                0x000000010dadfcde JavaMain + 251429  libsystem_pthread.dylib             0x00007fff50af26c1 _pthread_body + 34030  libsystem_pthread.dylib             0x00007fff50af256d _pthread_body + 031  libsystem_pthread.dylib             0x00007fff50af1c5d thread_start + 13
)
libc++abi.dylib: terminating with uncaught exception of type JNFException

  在网上搜索了一番,都是关于JDK的BUG,而且已经解决。这个错误来源,其实也简单,就是没有在主线程中进行UI操作(此处是产生窗口)。吾想让发个消息到主线程,让他调用一个函数,一直没有找到资料。最后使用如下办法解决:

java -XstartOnFirstThread

全网首发:java[50077:153519] Cocoa AWT: Not running on AppKit thread 0 when expected. libawt_lwawt.dylib相关推荐

  1. [全网首发!超级简单!] iOS开Minecraft:Java版服务端

    iOS开Minecraft:Java版服务器 写在前面 材料准备 一.环境准备 配置环境 1.安装opensssh 2.添加软件源 3.安装Java Runtime Environment 3.寻找J ...

  2. 全网首发2023全新ChatGPT3.5小程序开源源码 全新UI

    源码简介: 2023全新ChatGPT3.5小程序开源源码 全新UI 全网首发 这一版本ui比较好看 回复速度也快了 小程序是java的 带后台 本来准备给你们带上接口的然后么后台是和接口连接的 我改 ...

  3. 2023年全网首发双端完美获取通讯录系统源码

    源码简介: ​ 2023年全网首发双端完美获取通讯录系统源码! 请勿非法使用! 仅供研究学习技术使用!无技术支持! ​ 下载链接 网盘源码   密码:3lev 背景 网络应用程序源码是指用于构建网络应 ...

  4. 全网首发微信二维码引擎Android平台移植

    2011年12月微信3.5版本正式上线"扫一扫"二维码,历经9年蜕变,"扫一扫"从二维码名片到扫码支付.从小程序码到健康码,二维码已经成为一种生活方式,连接着数 ...

  5. 软件测试面试必看,资深测试工程师面试题集锦 全网首发

    全网首发,最牛的全套软件测试  ,自动化测试面试题,这些面试题都在文章末尾,有需要的可以自取 废话少说直接开始咱们今天的整体内容, 1.自我介绍? 我是谁.工作几年.你上家公司做什么.负责什么.你的优 ...

  6. java中接口适配器实现,12.1.8 Java中的应用-AWT事件适配器(接口的适配器模式)...

    12.1.8  Java中的应用-AWT事件适配器(接口的适配器模式) 从以上的学习我们已经了解到,基于接口的适配器模式是采用抽象化接口的方式,来达到节省接口函数的目的,这一特性特别适合于Java A ...

  7. [Python从零到壹] 十四.机器学习之分类算法五万字总结全网首发(决策树、KNN、SVM、分类对比实验)

    欢迎大家来到"Python从零到壹",在这里我将分享约200篇Python系列文章,带大家一起去学习和玩耍,看看Python这个有趣的世界.所有文章都将结合案例.代码和作者的经验讲 ...

  8. [Python从零到壹] 十三.机器学习之聚类算法四万字总结全网首发(K-Means、BIRCH、树状聚类、MeanShift)

    欢迎大家来到"Python从零到壹",在这里我将分享约200篇Python系列文章,带大家一起去学习和玩耍,看看Python这个有趣的世界.所有文章都将结合案例.代码和作者的经验讲 ...

  9. [Python从零到壹] 十二.机器学习之回归分析万字总结全网首发(线性回归、多项式回归、逻辑回归)

    欢迎大家来到"Python从零到壹",在这里我将分享约200篇Python系列文章,带大家一起去学习和玩耍,看看Python这个有趣的世界.所有文章都将结合案例.代码和作者的经验讲 ...

  10. PTA 栈 (20分)(全网首发)(实现一个栈Stack,要求实现Push(出栈)、Pop(入栈)、Min(返回最小值的操作)的时间复杂度为O(1))

    题目描述: 我们知道平凡的栈有几个操作: push(value) 将 value 压入栈 pop() 将栈顶元素弹出, 并返回这个弹出的元素. 现在我们想要在平凡栈的基础上实现以下几个操作: push ...

最新文章

  1. Entity Framework 5中遇到的 mysql tinyint(1) 转换为 bool 的问题 (我用的是VS2013中的EF5版本)...
  2. jmeter 正则表达式
  3. Redis Labs再次修改许可,没用几个月的Commons Clause或被删除
  4. 苹果iphone手机上input的button按钮颜色显示有问题,安卓却没问题
  5. MySQL 常用SQL优化
  6. 汉仪尚巍手书_官宣,汉仪字库入选“十大著作权合作伙伴”啦!
  7. thread local storage
  8. prometheus实战:
  9. 支持回调处理 php函数,PHP支持回调的函数有哪些?
  10. 使用WebDeployment Project改善VS2005发布网站
  11. 【人人都是极客】精选文章汇总
  12. 秒抢红包和欧巴江南style红遍全球的背后都是HOOK的功劳!
  13. 线下活动 | 聚焦分布式高可用的消息队列
  14. Carte服务器配置以及出现错误综述
  15. android群英传不完整,Android群英传小总结
  16. android 6.0开机后自动播放U盘视频
  17. s15.一键安装java脚本
  18. 说说SEO论坛百度快速排名优化,网站被K了怎么办,最好的SEO视频教程
  19. 喵喵电影-前端页面开发
  20. javplayer手机版怎么用_JavPlayer软件 1.03 免费版

热门文章

  1. 【紫书第十章】数论与概率入门
  2. 2020电信最新套餐一览表_最新!2020年宁波中学排名一览表
  3. linux c语言播放midi,C语言实现--计算MIDI音符的频率
  4. 耳挂式蓝牙耳机原理_专为运动而生的DOSS T63无线蓝牙耳挂式运动耳机
  5. android的findviewbyid,Android开发中如何简化findViewById类型转换
  6. 如何分辨高仿和原装VGA线(图文教程)_对比赛打分进行现场硬件连线产品参考_[评委计分系统-双屏版]使用参考
  7. mac 启用root用户
  8. mysql 几个超时参数(timeout)解释
  9. Java EE 8终于给出即将完成的迹象
  10. 最后的答辩之银行电话营销响应模型