Hi Dev: I reported this on https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-488
I changed the priority to Minor. Regards, Efrem On Wed, Apr 18, 2018 at 8:46 AM, Efrem Mc <efrem...@gmail.com> wrote: > Okay, I am going to look at previous NB 7/8. I am not sure when it > was introduced in NB 8.x? The visual library is something I would > need to test independently as I think it works. > > I need to learn and know how this feature should work. When I have a > really simple program created by GUI Builder with a view controls, I > initiate the popup, select Graphical View, > > > It threw this: > > java.lang.AssertionError > at org.netbeans.api.visual.widget.Widget.addChild(Widget.java:218) > at org.netbeans.api.visual.widget.Widget.addChild(Widget.java:208) > at > org.netbeans.modules.graphicclassview.JavaNodeWidget.<init>(JavaNodeWidget.java:127) > at > org.netbeans.modules.graphicclassview.JavaScene.createWidget(JavaScene.java:98) > at > org.netbeans.modules.graphicclassview.JavaScene.attachNodeWidget(JavaScene.java:187) > at > org.netbeans.modules.graphicclassview.JavaScene.attachNodeWidget(JavaScene.java:20) > at org.netbeans.api.visual.graph.GraphPinScene.addNode(GraphPinScene.java:78) > at > org.netbeans.modules.graphicclassview.JavaScene.buildGraph(JavaScene.java:135) > at > org.netbeans.modules.graphicclassview.JavaScene.access$200(JavaScene.java:20) > at org.netbeans.modules.graphicclassview.JavaScene$CB.done(JavaScene.java:303) > at > org.netbeans.modules.graphicclassview.ModelBuilder$T.run(ModelBuilder.java:58) > at > org.netbeans.modules.graphicclassview.ModelBuilder$T.run(ModelBuilder.java:16) > at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) > at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) > at > org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.runWhenScanFinished(RunWhenScanFinishedSupport.java:123) > at > org.netbeans.modules.parsing.api.ParserManager.parseWhenScanFinished(ParserManager.java:107) > at > org.netbeans.api.java.source.JavaSource.runWhenScanFinished(JavaSource.java:627) > at > org.netbeans.modules.graphicclassview.ModelBuilder.analyze(ModelBuilder.java:90) > at > org.netbeans.modules.graphicclassview.JavaScene$Initializer.run(JavaScene.java:390) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) > Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to > at org.openide.util.RequestProcessor.post(RequestProcessor.java:395) > at org.netbeans.modules.graphicclassview.JavaScene.init(JavaScene.java:88) > at > org.netbeans.modules.graphicclassview.JavaViewComponent.componentOpened(JavaViewComponent.java:173) > at > org.openide.windows.WindowManager.componentOpenNotify(WindowManager.java:282) > at > org.netbeans.core.windows.WindowManagerImpl.notifyTopComponentOpened(WindowManagerImpl.java:1124) > at > org.netbeans.core.windows.Central.addModeOpenedTopComponent(Central.java:773) > at org.netbeans.core.windows.ModeImpl.addOpenedTopComponent(ModeImpl.java:329) > at > org.netbeans.core.windows.WindowManagerImpl.topComponentOpenAtTabPosition(WindowManagerImpl.java:1244) > at > org.netbeans.core.windows.WindowManagerImpl.topComponentOpen(WindowManagerImpl.java:1201) > at org.openide.windows.TopComponent.open(TopComponent.java:472) > at org.openide.windows.TopComponent.open(TopComponent.java:452) > at > org.netbeans.modules.graphicclassview.actions.GraphicViewAction.performAction(GraphicViewAction.java:26) > at > org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:561) > at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70) > at > org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91) > at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74) > at > org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:558) > at > java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) > at > java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) > at > java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) > at > java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) > at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369) > at > java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:980) > at > java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1024) > at java.desktop/java.awt.Component.processMouseEvent(Component.java:6589) > at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) > at java.desktop/java.awt.Component.processEvent(Component.java:6354) > at java.desktop/java.awt.Container.processEvent(Container.java:2260) > at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966) > at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2318) > at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798) > at > java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4906) > at > java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) > at > java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) > at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2304) > at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) > at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798) > at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) > at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) > at java.base/java.security.AccessController.doPrivileged(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) > at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) > at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) > at java.base/java.security.AccessController.doPrivileged(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) > at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) > at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > [catch] at > java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > > > I just checked NB 8.2 and the feature is not there so this might be > new for NB 9.0. Maybe it was an addin plugin for NB 7/8? > > Do you have a working sample? You should be able to reproduce it. I > created a Java App, created a new JFrame Form, added a few controls, > then tried Graphical View. I currently have build 406, and I switched > my default to JDK10, but it does with JDK8 as will. It is something > in the code. I attached a picture. > > Please advise, > > Efrem McCrimon > > > On Wed, Apr 18, 2018 at 8:11 AM, Neil C Smith <neilcsm...@apache.org> wrote: >> Hi Efrem, >> >> On Wed, 18 Apr 2018, 11:12 Efrem Mc, <efrem...@gmail.com> wrote: >> >>> Hi I will try again, I made an attempt to code, this but it also threw an >>> error, I need to turn on some debugging to see the variable state. I will >>> send you what I tried. Also, this feature is also platform dependent, it >>> does exist on MacOS and maybe neither on Linux. It exist on Windows >>> platform. I have verified on Windows and MacOS. >>> >> >> Am I missing something here? What's broken in the visual library? It looks >> like the bug is in the code calling that, and the assertion error is >> correctly being triggered? >> >> Best wishes, >> >> Neil >> >>> -- >> Neil C Smith >> Artist & Technologist >> www.neilcsmith.net >> >> Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists