NullPointerException in Demos > Graphics > Planets #3551

Closed
ewelinka opened this Issue Aug 8, 2015 · 8 comments

Comments

Projects
None yet
4 participants
@ewelinka

ewelinka commented Aug 8, 2015

I

@ewelinka

This comment has been minimized.

Show comment
Hide comment
@ewelinka

ewelinka Aug 8, 2015

I just installed Processing 3 and tried to run Planets example (File->Examples->Demos->Graphic->Planets) and got NullPointerException in the line 113 of Planet.pde:

shape(planet2);

ewelinka commented Aug 8, 2015

I just installed Processing 3 and tried to run Planets example (File->Examples->Demos->Graphic->Planets) and got NullPointerException in the line 113 of Planet.pde:

shape(planet2);

@ewelinka ewelinka changed the title from NullPointerException in Planets example (File->Examples->Demos->Graphic->Planets) to Processing 3 NullPointerException in Planets example (File->Examples->Demos->Graphic->Planets) Aug 8, 2015

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Aug 8, 2015

Member

Working fine here. What system are you running? (Mac/Windows/Linux? 32- or 64-bit?)

Member

benfry commented Aug 8, 2015

Working fine here. What system are you running? (Mac/Windows/Linux? 32- or 64-bit?)

@ewelinka

This comment has been minimized.

Show comment
Hide comment
@ewelinka

ewelinka Aug 8, 2015

Mac Yosemite

ewelinka commented Aug 8, 2015

Mac Yosemite

@ewelinka

This comment has been minimized.

Show comment
Hide comment

ewelinka commented Aug 8, 2015

64 bits

@codeanticode

This comment has been minimized.

Show comment
Hide comment
@codeanticode

codeanticode Aug 9, 2015

Member

I'm getting the NPE in beta1, but working fine after the latest fixes from @JakubValtar. I think we can close it, but we can double check that there is nothing serious behind it.

Member

codeanticode commented Aug 9, 2015

I'm getting the NPE in beta1, but working fine after the latest fixes from @JakubValtar. I think we can close it, but we can double check that there is nothing serious behind it.

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Aug 9, 2015

Member

Sounds good to me. I think I might do a beta 2 this morning to get a few of these out.

Member

benfry commented Aug 9, 2015

Sounds good to me. I think I might do a beta 2 this morning to get a few of these out.

@benfry benfry closed this Aug 9, 2015

@codeanticode

This comment has been minimized.

Show comment
Hide comment
@codeanticode

codeanticode Aug 24, 2015

Member

@JakubValtar Ben is getting NPE, on a 4K retina machine, so reopening it.

Member

codeanticode commented Aug 24, 2015

@JakubValtar Ben is getting NPE, on a 4K retina machine, so reopening it.

@codeanticode codeanticode reopened this Aug 24, 2015

@benfry benfry added the macosx label Aug 24, 2015

@benfry benfry changed the title from Processing 3 NullPointerException in Planets example (File->Examples->Demos->Graphic->Planets) to NullPointerException in Demos > Graphics > Planets Aug 24, 2015

@JakubValtar

This comment has been minimized.

Show comment
Hide comment
@JakubValtar

JakubValtar Aug 24, 2015

Contributor

If you are building processing from the source, please make sure that all the shaders in processing/opengl/shaders on your machine have the same filenames as in the main repository. It turns out that on Ben's machine one of the shader files had lowercase L (Texlightxxx) in the name instead of uppercase one (TexLightxxx) which was used in the code.

Contributor

JakubValtar commented Aug 24, 2015

If you are building processing from the source, please make sure that all the shaders in processing/opengl/shaders on your machine have the same filenames as in the main repository. It turns out that on Ben's machine one of the shader files had lowercase L (Texlightxxx) in the name instead of uppercase one (TexLightxxx) which was used in the code.

@benfry benfry referenced this issue in processing/processing-docs Sep 16, 2015

Closed

Planets and LowLevelGL examples need to be updated (3b4)? #283

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