josmas / openwonderland

Automatically exported from code.google.com/p/openwonderland
GNU General Public License v2.0
3 stars 5 forks source link

PDF Viewer HUD stays around after viewer is deleted #194

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Insert PDF viewer
2. take control
3. close viewer
4. HUD stays
5. Close HUD
6. Stack trace generated

What is the expected output? What do you see instead?
stack trace:
ul 19, 2011 3:24:03 PM org.jdesktop.wonderland.client.jme.JmeClientMain$1 
uncaughtException
WARNING: Uncaught exception
java.lang.NullPointerException
    at org.jdesktop.wonderland.modules.hud.client.HUDView3D.getParentEntity(HUDView3D.java:83)
    at org.jdesktop.wonderland.modules.appbase.client.view.View2DEntity.update(View2DEntity.java:1427)
    at org.jdesktop.wonderland.modules.appbase.client.view.View2DEntity.setOffset(View2DEntity.java:975)
    at org.jdesktop.wonderland.modules.appbase.client.view.View2DEntity.setOffset(View2DEntity.java:964)
    at org.jdesktop.wonderland.modules.hud.client.WonderlandHUDComponentManager.componentMovedWorld(WonderlandHUDComponentManager.java:559)
    at org.jdesktop.wonderland.modules.hud.client.WonderlandHUDComponentManager.componentWorldVisible(WonderlandHUDComponentManager.java:499)
    at org.jdesktop.wonderland.modules.hud.client.WonderlandHUDComponentManager.handleHUDComponentChanged(WonderlandHUDComponentManager.java:707)
    at org.jdesktop.wonderland.modules.hud.client.WonderlandHUDComponentManager.HUDObjectChanged(WonderlandHUDComponentManager.java:773)
    at org.jdesktop.wonderland.modules.hud.client.HUDObject2D.notifyEventListeners(HUDObject2D.java:560)
    at org.jdesktop.wonderland.modules.hud.client.WonderlandHUD.HUDObjectChanged(WonderlandHUD.java:347)
    at org.jdesktop.wonderland.modules.hud.client.HUDObject2D.notifyEventListeners(HUDObject2D.java:560)
    at org.jdesktop.wonderland.modules.hud.client.HUDObject2D.notifyEventListeners(HUDObject2D.java:576)
    at org.jdesktop.wonderland.modules.hud.client.HUDObject2D.setWorldVisible(HUDObject2D.java:327)
    at org.jdesktop.wonderland.modules.pdfviewer.client.PDFViewerWindow$3$1.run(PDFViewerWindow.java:397)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by nnnjo...@gmail.com on 19 Jul 2011 at 7:26

GoogleCodeExporter commented 9 years ago
Turns out this happens when using the affordances hud as well.

Original comment by nnnjo...@gmail.com on 19 Jul 2011 at 7:38