google-code-export / piccolo2d

Automatically exported from code.google.com/p/piccolo2d
2 stars 1 forks source link

Running PFrame full screen on Raspberry Pie (Raspberrian) throws null pointer #256

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Invoke super("Any title", true, null) in Raspberrian/Raspberry pi

What is the expected output? What do you see instead?
I expect a full screen program.

I get a null pointer exception:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: 
        at edu.umd.cs.piccolox.PFrame.getBestDisplayMode(PFrame.java:251)
        at edu.umd.cs.piccolox.PFrame.chooseBestDisplayMode(PFrame.java:231)
        at edu.umd.cs.piccolox.PFrame.switchToFullScreenMode(PFrame.java:204)
        at edu.umd.cs.piccolox.PFrame.setFullScreenMode(PFrame.java:184)
        at edu.umd.cs.piccolox.PFrame.<init>(PFrame.java:131)
        at edu.umd.cs.piccolox.PFrame.<init>(PFrame.java:93)
        at com.humaninference.tagcloud.implementations.PFrameClient.<init>(PFrameClient.java:73)
        at com.humaninference.tagcloud.implementations.PFrameClient.<init>(PFrameClient.java:69)
        at com.humaninference.tagcloud.rmi.baseforrunnables.RemotablePFrameClient.<init>(RemotablePFrameClient.java:41)
        at com.humaninference.tagcloud.rmi.worldofwords.runnables.ClientNode$2.run(ClientNode.java:85)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:673)
        at java.awt.EventQueue.access$300(EventQueue.java:96)
        at java.awt.EventQueue$2.run(EventQueue.java:634)
        at java.awt.EventQueue$2.run(EventQueue.java:632)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:643)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

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

Pi has oracle-java installed

From logon to Pi:
Linux raspberrypi1 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

Original issue reported on code.google.com by anders.j...@gmail.com on 24 Jan 2014 at 1:13

GoogleCodeExporter commented 9 years ago
Thanks for submitting this issue.  A few questions:

What version of java is running?

$ java -version

Is Raspberrian the same thing as Raspbian?

http://www.raspbian.org/RaspbianImages

Does this same code work on other platforms?

Original comment by heue...@gmail.com on 24 Jan 2014 at 5:49

GoogleCodeExporter commented 9 years ago
Hi,

Sorry, I am away from the Pi for the weekend. It's the current version of 
Raspbian (sorry for misspelling it - was in a hurry), just installed yesterday.

The Java is the stock one that comes with Raspbian.

The same code works on Mac and Windows.

I hope this helps, and will get more detailed information on Monday.

Best,
  Anders

Original comment by anders.j...@gmail.com on 24 Jan 2014 at 6:43

GoogleCodeExporter commented 9 years ago
Cool, thanks.

I have a Pi at home doing nothing, so I should be able to replicate.

Original comment by heue...@gmail.com on 24 Jan 2014 at 7:50

GoogleCodeExporter commented 9 years ago
Hi,

Any news on this issue?

Best,
  Anders

Original comment by anders.j...@gmail.com on 13 Feb 2014 at 6:47

GoogleCodeExporter commented 9 years ago
Sorry, still haven't found time to get the Pi up and running.  I will try to 
verify this issue this week.

Original comment by heue...@gmail.com on 17 Feb 2014 at 1:41