My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 34: NullPointerException at org.microemu.android.device.AndroidDeviceDisplay.paintDisplayable(AndroidDeviceDisplay.java:253)
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by sonic740606, Mar 17, 2010
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(AndroidDeviceDisplay.java:253)
       at
org.microemu.android.device.AndroidDeviceDisplay.repaint(AndroidDeviceDisplay.java: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
Mar 17, 2010
#1 sonic740606
A simple

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

shows just a black screen.

Powered by Google Project Hosting