EXE Builds should be running again

fewyn

Administrator
Staff member
I finally tracked down the issue and they will now be built every Sunday once again (at least until someone messes with the build files at least).
 
Code:
compile-folder:    [javac] Compiling 1 source file to /home/kolmafia/svn/build
      [jar] Updating jar: /home/kolmafia/svn/dist/KoLmafia-14.8.jar
      [jar] Warning: selected jar files include a META-INF/INDEX.LIST which will be replaced by a newly generated one.


jsmooth:
     [move] Moving 1 file to /home/kolmafia/svn/util/windows
  [jsmooth] Executable file is /home/kolmafia/svn/util/windows/../../dist/KoLmafia-14.8.exe
  [jsmooth] java.lang.NegativeArraySizeException
  [jsmooth]     at net.charabia.jsmoothgen.application.ExeCompiler.getQuantizedImage(ExeCompiler.java:284)
  [jsmooth]     at net.charabia.jsmoothgen.application.ExeCompiler.getScaledImage(ExeCompiler.java:421)
  [jsmooth]     at net.charabia.jsmoothgen.application.ExeCompiler.compile(ExeCompiler.java:175)
  [jsmooth]     at net.charabia.jsmoothgen.ant.JSmoothGen.execute(JSmoothGen.java:133)
  [jsmooth]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
  [jsmooth]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  [jsmooth]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [jsmooth]     at java.lang.reflect.Method.invoke(Method.java:597)
  [jsmooth]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  [jsmooth]     at org.apache.tools.ant.Task.perform(Task.java:348)
  [jsmooth]     at org.apache.tools.ant.Target.execute(Target.java:390)
  [jsmooth]     at org.apache.tools.ant.Target.performTasks(Target.java:411)
  [jsmooth]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
  [jsmooth]     at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
  [jsmooth]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  [jsmooth]     at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
  [jsmooth]     at org.apache.tools.ant.Main.runBuild(Main.java:801)
  [jsmooth]     at org.apache.tools.ant.Main.startAnt(Main.java:218)
  [jsmooth]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
  [jsmooth]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
  [jsmooth] jsmoothgen failed: [Error: null]
   [delete] Deleting: /home/kolmafia/svn/util/windows/tmp.build.jsmooth


BUILD SUCCESSFUL
Total time: 5 seconds

I don't see the EXE in the dist folder like it used to be and it's not where it says it is in the jsmooth section. Any ideas?
 
Code:
compile-folder:    [javac] Compiling 1 source file to /home/kolmafia/svn/build
      [jar] Updating jar: /home/kolmafia/svn/dist/KoLmafia-14.8.jar
      [jar] Warning: selected jar files include a META-INF/INDEX.LIST which will be replaced by a newly generated one.


jsmooth:
     [move] Moving 1 file to /home/kolmafia/svn/util/windows
  [jsmooth] Executable file is /home/kolmafia/svn/util/windows/../../dist/KoLmafia-14.8.exe
  [jsmooth] java.lang.NegativeArraySizeException
  [jsmooth]     at net.charabia.jsmoothgen.application.ExeCompiler.getQuantizedImage(ExeCompiler.java:284)
  [jsmooth]     at net.charabia.jsmoothgen.application.ExeCompiler.getScaledImage(ExeCompiler.java:421)
  [jsmooth]     at net.charabia.jsmoothgen.application.ExeCompiler.compile(ExeCompiler.java:175)
  [jsmooth]     at net.charabia.jsmoothgen.ant.JSmoothGen.execute(JSmoothGen.java:133)
  [jsmooth]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
  [jsmooth]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  [jsmooth]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [jsmooth]     at java.lang.reflect.Method.invoke(Method.java:597)
  [jsmooth]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  [jsmooth]     at org.apache.tools.ant.Task.perform(Task.java:348)
  [jsmooth]     at org.apache.tools.ant.Target.execute(Target.java:390)
  [jsmooth]     at org.apache.tools.ant.Target.performTasks(Target.java:411)
  [jsmooth]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
  [jsmooth]     at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
  [jsmooth]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  [jsmooth]     at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
  [jsmooth]     at org.apache.tools.ant.Main.runBuild(Main.java:801)
  [jsmooth]     at org.apache.tools.ant.Main.startAnt(Main.java:218)
  [jsmooth]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
  [jsmooth]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
  [jsmooth] jsmoothgen failed: [Error: null]
   [delete] Deleting: /home/kolmafia/svn/util/windows/tmp.build.jsmooth


BUILD SUCCESSFUL
Total time: 5 seconds

I don't see the EXE in the dist folder like it used to be and it's not where it says it is in the jsmooth section. Any ideas?
That stack trace looks a HELLA lot like Java's failing to parse the size of an image passed into it... say, for the icon, which is probably loaded in as a BufferedImage (which is an array, internally)... if the size isn't known it's assumed to be -1... thus NegativeArraySizeException.

I'll have to test this theory, though.
 
Back
Top