org.netbeans.modeler.core.exception.InvalidElmentException: Invalid DB Element

GitHub | jGauravGupta | 3 months ago
  1. 0

    Inheritance - ParentEntity relationship

    GitHub | 3 months ago | jGauravGupta
    org.netbeans.modeler.core.exception.InvalidElmentException: Invalid DB Element

    Root Cause Analysis

    1. org.netbeans.modeler.core.exception.InvalidElmentException

      Invalid DB Element

      at org.netbeans.db.modeler.specification.model.util.DBModelerUtil.attachPinWidget()
    2. org.netbeans.db
      DBModelerUtil.attachPinWidget
      1. org.netbeans.db.modeler.specification.model.util.DBModelerUtil.attachPinWidget(DBModelerUtil.java:490)
      2. org.netbeans.db.modeler.specification.model.util.DBModelerUtil.attachPinWidget(DBModelerUtil.java:122)
      2 frames
    3. org.netbeans.modeler
      AbstractPModelerScene.attachPinWidget
      1. org.netbeans.modeler.scene.vmd.AbstractPModelerScene.attachPinWidget(AbstractPModelerScene.java:248)
      2. org.netbeans.modeler.scene.vmd.AbstractPModelerScene.attachPinWidget(AbstractPModelerScene.java:96)
      2 frames
    4. org.netbeans.api
      GraphPinScene.addPin
      1. org.netbeans.api.visual.graph.GraphPinScene.addPin(GraphPinScene.java:197)
      1 frame
    5. org.netbeans.modeler
      PNodeWidget.createPinWidget
      1. org.netbeans.modeler.scene.vmd.AbstractPModelerScene.createPinWidget(AbstractPModelerScene.java:861)
      2. org.netbeans.modeler.widget.node.vmd.PNodeWidget.createPinWidget(PNodeWidget.java:158)
      2 frames
    6. org.netbeans.db
      DBModelerUtil.lambda$loadTable$1
      1. org.netbeans.db.modeler.core.widget.table.TableWidget.create(TableWidget.java:179)
      2. org.netbeans.db.modeler.core.widget.table.TableWidget.addParentAssociationInverseJoinColumn(TableWidget.java:139)
      3. org.netbeans.db.modeler.specification.model.util.DBModelerUtil.lambda$loadTable$1(DBModelerUtil.java:337)
      3 frames
    7. Java RT
      ReferencePipeline$Head.forEach
      1. java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612)
      2. java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
      2 frames
    8. org.netbeans.db
      DBModelerUtil.lambda$loadModelerFileInternal$0
      1. org.netbeans.db.modeler.specification.model.util.DBModelerUtil.loadTable(DBModelerUtil.java:303)
      2. org.netbeans.db.modeler.specification.model.util.DBModelerUtil.lambda$loadModelerFileInternal$0(DBModelerUtil.java:197)
      2 frames
    9. Java RT
      ReferencePipeline$Head.forEach
      1. java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1612)
      2. java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
      2 frames
    10. org.netbeans.db
      DBModelerUtil.loadModelerFile
      1. org.netbeans.db.modeler.specification.model.util.DBModelerUtil.loadModelerFileInternal(DBModelerUtil.java:197)
      2. org.netbeans.db.modeler.specification.model.util.DBModelerUtil.loadModelerFile(DBModelerUtil.java:178)
      2 frames
    11. org.netbeans.modeler
      ModelerFileActionListener.openModelerFile
      1. org.netbeans.modeler.core.NBModelerUtil.loadModelerFile(NBModelerUtil.java:57)
      2. org.netbeans.modeler.specification.model.file.action.ModelerFileActionListener.openModelerFile(ModelerFileActionListener.java:150)
      2 frames
    12. org.netbeans.db
      DBViewerActionListener.init
      1. org.netbeans.db.modeler.specification.model.file.action.DBViewerActionListener.init(DBViewerActionListener.java:59)
      1 frame
    13. org.netbeans.jpa
      ShortcutListener.keyPressed
      1. org.netbeans.jpa.modeler.specification.model.util.JPAModelerUtil.openDBViewer(JPAModelerUtil.java:1767)
      2. org.netbeans.jpa.modeler.listener.ShortcutListener.keyPressed(ShortcutListener.java:43)
      2 frames
    14. Java RT
      EventQueue.dispatchEvent
      1. java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:249)
      2. java.awt.Component.processKeyEvent(Component.java:6493)
      3. javax.swing.JComponent.processKeyEvent(JComponent.java:2832)
      4. java.awt.Component.processEvent(Component.java:6312)
      5. java.awt.Container.processEvent(Container.java:2236)
      6. java.awt.Component.dispatchEventImpl(Component.java:4891)
      7. java.awt.Container.dispatchEventImpl(Container.java:2294)
      8. java.awt.Component.dispatchEvent(Component.java:4713)
      9. java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
      10. java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)
      11. java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)
      12. java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)
      13. java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)
      14. java.awt.Component.dispatchEventImpl(Component.java:4762)
      15. java.awt.Container.dispatchEventImpl(Container.java:2294)
      16. java.awt.Window.dispatchEventImpl(Window.java:2750)
      17. java.awt.Component.dispatchEvent(Component.java:4713)
      18. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
      19. java.awt.EventQueue.access$500(EventQueue.java:97)
      20. java.awt.EventQueue$3.run(EventQueue.java:709)
      21. java.awt.EventQueue$3.run(EventQueue.java:703)
      22. java.security.AccessController.doPrivileged(Native Method)
      23. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      24. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
      25. java.awt.EventQueue$4.run(EventQueue.java:731)
      26. java.awt.EventQueue$4.run(EventQueue.java:729)
      27. java.security.AccessController.doPrivileged(Native Method)
      28. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      29. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
      29 frames
    15. org.netbeans.core
      TimableEventQueue.dispatchEvent
      1. org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
      1 frame
    16. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      6 frames