Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.willwinder.universalgcodesender.MainWindow.setStatusColorForState(MainWindow.java:2201)
at com.willwinder.universalgcodesender.MainWindow.statusStringListener(MainWindow.java:2552)
at com.willwinder.universalgcodesender.AbstractController.dispatchStatusString(AbstractController.java:757)
at com.willwinder.universalgcodesender.GrblController.handlePositionString(GrblController.java:414)
at com.willwinder.universalgcodesender.GrblController.rawResponseHandler(GrblController.java:126)
at com.willwinder.universalgcodesender.AbstractController.rawResponseListener(AbstractController.java:743)
at com.willwinder.universalgcodesender.AbstractCommunicator.sendEventToListener(AbstractCommunicator.java:198)
at com.willwinder.universalgcodesender.AbstractCommunicator$1.run(AbstractCommunicator.java:165)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
// ———————————————- ———————————————- —- //
>>> G1X12.971Y21.227F100.0
ok
>>> G1Z3.810F50.0
>>> G0X9.103Y15.322
ok
>>> G1Z-1.000F50.0
ok
>>> G1X8.723Y15.527F100.0
ok
>>> G1X8.637Y15.730F100.0
ok
>>> G1X8.579Y16.377F100.0
ok
>>> G1X8.772Y18.148F100.0
ok
ok
>>> G1X9.037Y18.632F100.0
ok
>>> G1X10.608Y19.745F100.0
ok
>>> G1X11.857Y20.455F100.0
你好
最近我在连接到 COM 端口时遇到了这个异常(如下所述)
尝试用新的 GRBL 重新刷新 Arduino – 但似乎没有任何帮助
作为 CNC 的初学者,我尝试了多个 G 代码发送器
(最终决定继续使用通用 G 代码发送器)
我能够无错误地运行 GCode,但似乎缺少步骤(或者响应时间更长)
但它不显示机器位置,工作位置
可视化似乎卡在了它的位置
请帮助,
谢谢!
// ———————————————- ———————————————- —- //