Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jonncr

Pages: [1]
1
Graphics / Re: JSFML - NullPointerException for RenderWindow
« on: January 30, 2020, 04:55:47 pm »
Thanks for the reply!
What do you mean with "tries to read the MD5File"?

JSFML isn't maintained anymore so it might be hard to find someone who stills uses it.

Just going by the stack trace after trying to create the object
Code: [Select]
Exception in thread "main" java.lang.NullPointerException
at org.jsfml.internal.SFMLNative.readMD5File(Unknown Source)
at org.jsfml.internal.SFMLNative.loadNativeLibraries(Unknown Source)
at org.jsfml.internal.SFMLNativeObject.<init>(Unknown Source)
at org.jsfml.window.Window.<init>(Unknown Source)
at org.jsfml.graphics.RenderWindow.<init>(Unknown Source)

Its very odd considering it works perfectly on Windows/Linux.

2
Graphics / JSFML - NullPointerException for RenderWindow
« on: January 30, 2020, 12:28:42 pm »
Strange issue, on MacOS whenever I try to create a new RenderWindow object i.e. RenderWindow window = new RenderWindow();
I get a NullPointerException ending when it tries to read the MD5File.

Does anyone have any idea why this could be happening?

Pages: [1]