When opening a Fusion360 or Carbide Create .nc file, 0 rows are read and a "attr" is null error message #2476
Unanswered
JarkkoJaakkola
asked this question in
Help
Replies: 2 comments
-
The UGS settings might have become corrupt. You could try and close UGS and delete the folders |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, That seemed to help. Now I got the file open and it shows on the visualizer. I was stuck there for quite a while, thanks a lot and respect for your quick help!!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am new in here. I just bought a SainSmart Genmitsu CNC and downloaded UGS and installed it. I got it to connected to my CNC and did the setup wizard without a problem and I can move the CNC manually.
Then I made a really simple piece on Fusion360 and used grbl post processor to test the CNC, but I can't open the file in .nc file on UGS. It says Loaded file: 0 rows and when clicking the red stop sign warning next to the text, it tells me "Unexpected Exception". Cannot invoke "javax.swing.text.AttributeSet.getAttribute(Object)" because "attr" is null.
By clicking the Show and report problem it shows this:
java.lang.NullPointerException: Cannot invoke "javax.swing.text.AttributeSet.getAttribute(Object)" because "attr" is null
at org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.resolveBackColor(CodeFoldingSideBar.java:353)
at org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.updateColors(CodeFoldingSideBar.java:368)
at org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.access$200(CodeFoldingSideBar.java:99)
at org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar$2.preferenceChange(CodeFoldingSideBar.java:231)
at org.netbeans.modules.editor.fold.ui.CodeFoldingSideBar.addNotify(CodeFoldingSideBar.java:287)
at java.desktop/java.awt.Container.addNotify(Unknown Source)
at java.desktop/javax.swing.JComponent.addNotify(Unknown Source)
at org.netbeans.modules.editor.impl.CustomizableSideBar$WestSidebarHolder.addNotify(CustomizableSideBar.java:288)
at java.desktop/java.awt.Container.addNotify(Unknown Source)
at java.desktop/javax.swing.JComponent.addNotify(Unknown Source)
at java.desktop/java.awt.Container.addNotify(Unknown Source)
at java.desktop/javax.swing.JComponent.addNotify(Unknown Source)
at java.desktop/java.awt.Container.addNotify(Unknown Source)
at java.desktop/javax.swing.JComponent.addNotify(Unknown Source)
at java.desktop/java.awt.Container.addImpl(Unknown Source)
at java.desktop/java.awt.Container.add(Unknown Source)
at org.openide.text.CloneableEditorInitializer.initCustomEditor(CloneableEditorInitializer.java:523)
at org.openide.text.CloneableEditorInitializer.initCustomEditorAndDecorationsInEDT(CloneableEditorInitializer.java:573)
[catch] at org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:321)
at org.openide.text.CloneableEditorInitializer.processPendingEDTRequests(CloneableEditorInitializer.java:135)
at org.openide.text.CloneableEditorInitializer.waitForFinishedInitialization(CloneableEditorInitializer.java:103)
at org.openide.text.CloneableEditor.getEditorPane(CloneableEditor.java:673)
at org.netbeans.core.spi.multiview.text.MultiViewEditorElement.getEditorPane(MultiViewEditorElement.java:146)
at com.willwinder.ugs.nbp.editor.SourceMultiviewElement.componentActivated(SourceMultiviewElement.java:81)
at org.netbeans.core.multiview.MultiViewPeer.peerComponentActivated(MultiViewPeer.java:353)
at org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentActivated(MultiViewCloneableTopComponent.java:124)
at org.openide.windows.WindowManager.activateComponent(WindowManager.java:266)
at org.netbeans.core.windows.WindowManagerImpl.lambda$notifyRegistryTopComponentActivated$1(WindowManagerImpl.java:1214)
at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:97)
at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:72)
at org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
at org.openide.util.Mutex.readAccess(Mutex.java:242)
at org.netbeans.core.windows.WindowManagerImpl.notifyRegistryTopComponentActivated(WindowManagerImpl.java:1213)
at org.netbeans.core.windows.Central.activateModeTopComponent(Central.java:1786)
at org.netbeans.core.windows.WindowManagerImpl.topComponentRequestActive(WindowManagerImpl.java:1378)
at org.openide.windows.TopComponent.requestActive(TopComponent.java:837)
at org.openide.windows.CloneableOpenSupport$1.run(CloneableOpenSupport.java:83)
at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:97)
at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:62)
at org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:56)
at org.openide.util.Mutex.writeAccess(Mutex.java:292)
at org.openide.windows.CloneableOpenSupport.open(CloneableOpenSupport.java:79)
at org.openide.text.CloneableEditorSupport.open(CloneableEditorSupport.java:412)
at com.willwinder.ugs.nbp.core.actions.OpenFileAction.actionPerformed(OpenFileAction.java:61)
at com.willwinder.ugs.nbp.core.actions.OpenAction.openFile(OpenAction.java:92)
at java.base/java.util.Optional.ifPresent(Unknown Source)
at com.willwinder.ugs.nbp.core.actions.OpenAction.actionPerformed(OpenAction.java:87)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.desktop/java.awt.Component.processEvent(Unknown Source)
at java.desktop/java.awt.Container.processEvent(Unknown Source)
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
I am using 2.1.5 version with bundled Java in Windows 64-bit with Win 10 Home.
I made a really simple test piece with Carbide Create Pro and post processed it with grbl with the same result. And same result occurs with the sample .nc files that came with the CNC.
I tried to google for an answer and looked other topics in here, but couldn't find a solution. Could someone help me and tell me what am I doing wrong or what might be causing the problem? Attached is a sample .nc file which came with the machine, I just renamed it to a .txt file to be able to attach it here
Wheel.txt
.
Beta Was this translation helpful? Give feedback.
All reactions