netbeans-netcat mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Efrem Mc <efrem...@gmail.com>
Subject Fwd: [jira] [Commented] (NETBEANS-488) AssertionError at org.netbeans.api.visual.widget.Widget.addChild
Date Sun, 22 Apr 2018 00:26:32 GMT
Please review NETBEANS-488 notes.


---------- Forwarded message ----------
From: Tim Boudreau (JIRA) <jira@apache.org>
Date: Sat, Apr 21, 2018 at 4:52 AM
Subject: [jira] [Commented] (NETBEANS-488) AssertionError at
org.netbeans.api.visual.widget.Widget.addChild
To: efremmc2@gmail.com



    [ https://issues.apache.org/jira/browse/NETBEANS-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16446698#comment-16446698
]

Tim Boudreau commented on NETBEANS-488:
---------------------------------------

I've attached a patch, and a built nbm including the patch, based on
the old Mercurial contrib sources.

*HOWEVER:* The current Git trunk does not contain the javac api it
relies on to analyze java sources;  I gather that is coming in some
future source drop.  So it should work in a netbeans.org release, but
not as yet in an Apache build.

> AssertionError at org.netbeans.api.visual.widget.Widget.addChild
> ----------------------------------------------------------------
>
>                 Key: NETBEANS-488
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-488
>             Project: NetBeans
>          Issue Type: Bug
>          Components: ide - Code
>    Affects Versions: 9.0, Next
>         Environment: OS:  Windows 8.1, VM:Java SE RJE 1.8.0.111--b14 64-bit
> VM:   Java HotSpot(TM) 64-Bit Server VM, 25.111-b14, Java(TM) SE Runtime Environment,
1.8.0_111-b14
>            Reporter: efrem mccrimon
>            Priority: Minor
>         Attachments: graphicalclassview.diff, org-netbeans-modules-graphicclassview.nbm
>
>
> AssertionError at org.netbeans.api.visual.widget.Widget.addChild
> Message:  org.openide.util.RequestProcessor$SlowItem: task failed due to: java.lang.AssertionError
> Class:        org.openide.util.RequestProcessor$SlowItem
> org.openide.util.RequestProcessor$SlowItem: task failed due to: java.lang.AssertionError
>         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 javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
>         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
>         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
>         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
>         at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
>         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
>         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
>         at java.awt.Component.processMouseEvent(Component.java:6533)
>         at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
>         at java.awt.Component.processEvent(Component.java:6298)
>         at java.awt.Container.processEvent(Container.java:2236)
>         at java.awt.Component.dispatchEventImpl(Component.java:4889)
>         at java.awt.Container.dispatchEventImpl(Container.java:2294)
>         at java.awt.Component.dispatchEvent(Component.java:4711)
>         at java.awt.LightweightDispatcher.retargetMouseEvent(LightweightDispatcher.java:4888)
>         at java.awt.LightweightDispatcher.processMouseEvent(LightweightDispatcher.java:4525)
>         at java.awt.LightweightDispatcher.dispatchEvent(LightweightDispatcher.java:4466)
>         at java.awt.Container.dispatchEventImpl(Container.java:2280)
>         at java.awt.Window.dispatchEventImpl(Window.java:2746)
>         at java.awt.Component.dispatchEvent(Component.java:4711)
>         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>         at java.awt.EventQueue.access$500(EventQueue.java:97)
>         at java.awt.EventQueue$3.run(EventQueue.java:709)
>         at java.awt.EventQueue$3.run(EventQueue.java:703)
>         at java.security.AccessController.doPrivileged(AccessController.java:0)
>         at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
>         at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
>         at java.awt.EventQueue$4.run(EventQueue.java:731)
>         at java.awt.EventQueue$4.run(EventQueue.java:729)
>         at java.security.AccessController.doPrivileged(AccessController.java:0)
>         at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
>         at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
> 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)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: netcat-unsubscribe@netbeans.apache.org
For additional commands, e-mail: netcat-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Mime
View raw message