Does the screen variable have a value of null? If so any use of screen will cause the error.
You need to find out where the screen variable gets the null value from!!!
Type: Posts; User: Norm
Does the screen variable have a value of null? If so any use of screen will cause the error.
You need to find out where the screen variable gets the null value from!!!
In post #4 I asked:
Have you read the API doc for the createVolatileImage() method?
When does it return a null value?
Why is the value of screen null? Where does it get its value from?
What was its value when you print it out for debugging?
What variable has the null value? Why does it have a null value?
What variable has the null value?
Have you read the API doc for the createVolatileImage() method?
Can you copy the full text of the error message and paste it here?