Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 24 Jan 2014 at 1:13

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 24 Jan 2014 at 5:49

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 24 Jan 2014 at 6:43

@GoogleCodeExporter
Copy link
Author

Cool, thanks.

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

Original comment by [email protected] on 24 Jan 2014 at 7:50

@GoogleCodeExporter
Copy link
Author

Hi,

Any news on this issue?

Best,
  Anders

Original comment by [email protected] on 13 Feb 2014 at 6:47

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 17 Feb 2014 at 1:41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant