narfman0 / GDXWorld

2D world editor for libGDX. Has an overhead map/level layout designer, which may drill into a level and intelligently place physics bodies, enemies and pathing, and other objects.
Other
36 stars 10 forks source link

JSPF Serializer Null #31

Closed droidinteractive closed 10 years ago

droidinteractive commented 10 years ago

Launching on Windows 7 64 bit I get the following error: GDXWorld.save: Detected serializer failed: null GDXWorld.save: Default serializer failed: null

Steps to reproduce:

  1. Launch GDXWorld
  2. Click 'New' Receive error: GDXWorld.save: Detected serializer failed: null GDXWorld.save: Default serializer failed: null
  3. Click anywhere in world to add level
  4. Click 'Edit' Can't open LevelEditorScreen

program crashes due to null serializers.

java.lang.NullPointerException at PluginUtil.getPlugins(PluginUtil.java:34) at GDXWorld.save(GDXWorld.java:59)

I've tried this on 2 different Windows 7 machines, both 64 bit using Eclipse Luna and libGDX 1.2.0

narfman0 commented 10 years ago

I didn't notice this issue until just now, thanks for reporting! I believe the serializer issue was fixed a few weeks ago, and I did include a fix to successfully perform your steps 1-4 above.