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

NullPointerException at org.microemu.android.device.AndroidDeviceDisplay.paintDisplayable(AndroidDeviceDisplay.java:253) #34

Open
GoogleCodeExporter opened this issue Mar 21, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Install
http://www.dashandyticket.de/portals/download/1/1.0/49/dasHandyTicket.jar
2. Buy a ticket - Not very feasible, I know  :-/
3. View ticket, press menu key, "Show Barcode".

What is the expected output?
The barcode shown alone.

What do you see instead?
java.lang.NullPointerException
       at
org.microemu.android.device.AndroidDeviceDisplay.paintDisplayable(AndroidDeviceD
isplay.java:253)
       at
org.microemu.android.device.AndroidDeviceDisplay.repaint(AndroidDeviceDisplay.ja
va:226)
       at
org.microemu.device.ui.EventDispatcher$PaintEvent.run(EventDispatcher.java:185)
       at org.microemu.device.ui.EventDispatcher.post(EventDispatcher.java:164)
       at org.microemu.device.ui.EventDispatcher.run(EventDispatcher.java:95)
       at java.lang.Thread.run(Thread.java:1096)

What version of the product are you using? On what operating system?
microemu-android trunk on Nexus One

Original issue reported on code.google.com by sonic740606 on 17 Mar 2010 at 1:22

@GoogleCodeExporter
Copy link
Author

A simple

DisplayRepaintListener d=displayRepaintListeners.get(i);
if(d!=null) d.repaintInvoked(rectangle);

shows just a black screen.

Original comment by sonic740606 on 17 Mar 2010 at 1:24

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