SMEdit issue

    Joined
    Jul 17, 2013
    Messages
    6
    Reaction score
    0
    • Legacy Citizen 2
    • Legacy Citizen
    Hi, I'm trying to use SMEdit. I have attempted to use it on both of the last two dev builds. After downloading the other jo_sm files, trying to run SMEdit.jar throws the following error;

    The bbcode for spoiler doesn't seem to work, prepare for wall of text...



    C:\DEV\StarMade>java -d64 -Xmx1g -jar SMEdit.jar
    Local: Tue Nov 26 11:09:37 GMT 2013
    Remote: Tue Nov 26 11:09:38 GMT 2013
    Delta: 380
    java.lang.ArithmeticException: / by zero
    at jo.sm.ui.BlockTypeColors.loadTextureMaps(BlockTypeColors.java:621)
    at jo.sm.ui.BlockTypeColors.loadBlockIcons(BlockTypeColors.java:562)
    at jo.sm.factories.planet.comp.MaterialFactory.loadDefinitions(MaterialF
    actory.java:57)
    at jo.sm.factories.planet.comp.MaterialFactory.loadDefinitions(MaterialF
    actory.java:52)
    at jo.sm.factories.planet.comp.MaterialFactory.(MaterialFactory.ja
    va:27)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at jo.sm.logic.StarMadeLogic.addPluginFactory(StarMadeLogic.java:124)
    at jo.sm.logic.StarMadeLogic.loadPlugins(StarMadeLogic.java:87)
    at jo.sm.logic.StarMadeLogic.setBaseDir(StarMadeLogic.java:79)
    at jo.sm.ui.RenderFrame.preLoad(RenderFrame.java:194)
    at jo.sm.ui.RenderFrame.main(RenderFrame.java:199)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at jo.sm.edit.SMEdit.runSMEdit(SMEdit.java:91)
    at jo.sm.edit.SMEdit.run(SMEdit.java:54)
    at jo.sm.edit.SMEdit.main(SMEdit.java:357)
    java.lang.ArithmeticException: / by zero
    at jo.sm.ui.BlockTypeColors.loadTextureMaps(BlockTypeColors.java:621)
    at jo.sm.ui.BlockTypeColors.loadBlockIcons(BlockTypeColors.java:562)
    at jo.sm.factories.planet.veg.VegetationFactory.loadDefinitions(Vegetati
    onFactory.java:58)
    at jo.sm.factories.planet.veg.VegetationFactory.loadDefinitions(Vegetati
    onFactory.java:53)
    at jo.sm.factories.planet.veg.VegetationFactory.(VegetationFactory
    .java:28)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at jo.sm.logic.StarMadeLogic.addPluginFactory(StarMadeLogic.java:124)
    at jo.sm.logic.StarMadeLogic.loadPlugins(StarMadeLogic.java:87)
    at jo.sm.logic.StarMadeLogic.setBaseDir(StarMadeLogic.java:79)
    at jo.sm.ui.RenderFrame.preLoad(RenderFrame.java:194)
    at jo.sm.ui.RenderFrame.main(RenderFrame.java:199)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at jo.sm.edit.SMEdit.runSMEdit(SMEdit.java:91)
    at jo.sm.edit.SMEdit.run(SMEdit.java:54)
    at jo.sm.edit.SMEdit.main(SMEdit.java:357)
    java.lang.ArithmeticException: / by zero
    at jo.sm.ui.BlockTypeColors.loadTextureMaps(BlockTypeColors.java:621)
    at jo.sm.ui.BlockTypeColors.loadBlockIcons(BlockTypeColors.java:562)
    at jo.sm.factories.ship.filter.ViewFilterFactory.loadDefinitions(ViewFil
    terFactory.java:59)
    at jo.sm.factories.ship.filter.ViewFilterFactory.loadDefinitions(ViewFil
    terFactory.java:54)
    at jo.sm.factories.ship.filter.ViewFilterFactory.(ViewFilterFactor
    y.java:29)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at jo.sm.logic.StarMadeLogic.addPluginFactory(StarMadeLogic.java:124)
    at jo.sm.logic.StarMadeLogic.loadPlugins(StarMadeLogic.java:87)
    at jo.sm.logic.StarMadeLogic.setBaseDir(StarMadeLogic.java:79)
    at jo.sm.ui.RenderFrame.preLoad(RenderFrame.java:194)
    at jo.sm.ui.RenderFrame.main(RenderFrame.java:199)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at jo.sm.edit.SMEdit.runSMEdit(SMEdit.java:91)
    at jo.sm.edit.SMEdit.run(SMEdit.java:54)
    at jo.sm.edit.SMEdit.main(SMEdit.java:357)
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at jo.sm.edit.SMEdit.runSMEdit(SMEdit.java:91)
    at jo.sm.edit.SMEdit.run(SMEdit.java:54)
    at jo.sm.edit.SMEdit.main(SMEdit.java:357)
    Caused by: java.lang.ArithmeticException: / by zero
    at jo.sm.ui.BlockTypeColors.loadTextureMaps(BlockTypeColors.java:621)
    at jo.sm.ui.BlockTypeColors.loadBlockIcons(BlockTypeColors.java:562)
    at jo.sm.ui.BlockTypeColors.getBlockImage(BlockTypeColors.java:533)
    at jo.sm.ui.EditPanel.newButton(EditPanel.java:155)
    at jo.sm.ui.EditPanel.(EditPanel.java:65)
    at jo.sm.ui.RenderFrame.(RenderFrame.java:91)
    at jo.sm.ui.RenderFrame.main(RenderFrame.java:200)
    ... 7 more



    Any help is appreciated.

    Thanks
     
    Joined
    Jan 1, 2013
    Messages
    772
    Reaction score
    452
    SMedit is a cool tool, but its a third party program, so you\'ll want to go to its relevant thread to get help with this. If anyone has the link to that handy I\'d appreciate it. If not, just use the forum search function to find SMEdit
     
    Joined
    Jun 28, 2013
    Messages
    574
    Reaction score
    153
    I\'m having exactly the same problem here and i cant seem to find any solutions. Help?
     
    Joined
    Jan 1, 2013
    Messages
    772
    Reaction score
    452
    http://star-made.org/content/offline-ship-editor
    Go here for support