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

2.0.2 issues #4

Open
ghost opened this issue Apr 5, 2013 · 3 comments
Open

2.0.2 issues #4

ghost opened this issue Apr 5, 2013 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 5, 2013

Having some problems with 2.0.2

I can load a resource via setinputstream. e.g. - mWorldView.setInputStream(getResources().openRawResource(R.drawable.centerlogo));

When I call setinputstream again to change the image, it crashes. The inputstream I am feeding it is from the sd card

e.g. - is = (InputStream) new RandomAccessFileInputStream(file);
mWorldView.setInputStream(is);

04-04 23:20:02.820: E/AndroidRuntime(4492): FATAL EXCEPTION: drawThread
04-04 23:20:02.820: E/AndroidRuntime(4492): java.lang.NullPointerException
04-04 23:20:02.820: E/AndroidRuntime(4492): at com.sigseg.android.view.Scene$Cache.update(Scene.java:387)
04-04 23:20:02.820: E/AndroidRuntime(4492): at com.sigseg.android.view.Scene$Viewport.draw(Scene.java:309)
04-04 23:20:02.820: E/AndroidRuntime(4492): at com.sigseg.android.view.Scene.draw(Scene.java:118)
04-04 23:20:02.820: E/AndroidRuntime(4492): at com.sigseg.android.map.ImageSurfaceView$DrawThread.run(ImageSurfaceView.java:213)

@ghost
Copy link
Author

ghost commented Apr 5, 2013

Hi Johnny

Please let me know what else I can do to help you diagnose this problem!

MIke

@ghost
Copy link
Author

ghost commented Apr 11, 2013

Hello Jonny

Have you seen these problems or is it just me?

@johnnylambada
Copy link
Owner

Hey sorry, I have not been able to get to it.

John Lombardo
[email protected]

On Wed, Apr 10, 2013 at 5:39 PM, dirtmike [email protected] wrote:

Hello Jonny

Have you seen these problems or is it just me?


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-16211049
.

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

No branches or pull requests

1 participant