Uploaded image for project: 'BlueJ'
  1. BlueJ
  2. BLUEJ-1110

java NullPointerException reported by the user

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.1.2
    • Component/s: None
    • Sprint:
      4.1.2

      Description

      This is found in the user debug log who reported a problem of not being able to run music player example on BlueJ:

      Debug log contents:

      BlueJ run started: Tue Oct 17 19:18:01 CEST 2017
      BlueJ version 4.1.1
      Java version 1.8.0_131
      Virtual machine: Java HotSpot(TM) 64-Bit Server VM 25.131-b11 (Oracle Corporation)
      Running on: Linux 4.4.0-97-generic (amd64)
      Java Home: /usr/lib/jvm/jdk1.8.0_131/jre
      ----
      Opening project: /media/theo/_DEV_SDA3/OO-Programming/BlueJ_projekten/projects/chapter04/music-organizer-v2
      1508260729179: Listening for JDWP connection on address: 127.0.0.1:38758
      Connected to debug VM via dt_socket transport...
      Communication with debug VM fully established.
      Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
              at bluej.collect.DataCollectorImpl.inspectorClassShow(DataCollectorImpl.java:1005)
              at bluej.collect.DataCollector.inspectorClassShow(DataCollector.java:649)
              at bluej.pkgmgr.Project.getClassInspectorInstance(Project.java:1030)
              at bluej.debugmgr.inspector.ObjectInspector.showClass(ObjectInspector.java:338)
              at bluej.debugmgr.inspector.ObjectInspector.lambda$makeFrame$0(ObjectInspector.java:188)
              at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
              at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
              at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
              at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
              at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
              at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
              at javafx.event.Event.fireEvent(Event.java:198)
              at javafx.scene.Node.fireEvent(Node.java:8413)
              at javafx.scene.control.Button.fire(Button.java:185)
              at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:182)
              at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:96)
              at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89)
              at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
              at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
              at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
              at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
              at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
              at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
              at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
              at javafx.event.Event.fireEvent(Event.java:198)
              at javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
              at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
              at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
              at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
              at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:381)
              at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295)
              at java.security.AccessController.doPrivileged(Native Method)
              at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(GlassViewEventHandler.java:417)
              at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
              at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:416)
              at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
              at com.sun.glass.ui.View.notifyMouse(View.java:937)
              at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
              at com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139)
              at java.lang.Thread.run(Thread.java:748)
      Problem code: 422
      

        Attachments

          Activity

            People

            • Assignee:
              davmac Davin McCall
              Reporter:
              hitech Hamza Hamza
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: