我看到了一个关于这个问题的帖子,作者已经解决了我编辑 png 启动文件的问题。但是,在我的情况下,我没有对 png 文件进行任何更改,但是,我在 install4j 中遇到了这个错误。如果有人解决了这个问题,请帮忙。
[install4j] java.lang.IndexOutOfBoundsException
[install4j] at java.io.RandomAccessFile.writeBytes(Native Method)
[install4j] at java.io.RandomAccessFile.write(Unknown Source)
[install4j] at javax.imageio.stream.FileImageOutputStream.write(Unknown Source)
[install4j] at com.sun.media.imageioimpl.plugins.bmp.BMPImageWriter.write(BMPImageWriter.java:513)
[install4j] at javax.imageio.ImageWriter.write(Unknown Source)
[install4j] at javax.imageio.ImageIO.write(Unknown Source)
[install4j] at javax.imageio.ImageIO.write(Unknown Source)
[install4j] at com.A.B.D.W(ejt:2330)
[install4j] at com.A.B.D.Q(ejt:2859)
[install4j] at com.A.B.D.L(ejt:1319)
[install4j] at com.A.B.D.N(ejt:463)
[install4j] at com.A.B.D.d(ejt:555)
[install4j] at com.install4j.C.D.F.B(ejt:833)
[install4j] at com.install4j.C.D.B.R(ejt:629)
[install4j] at com.install4j.C.D.I(ejt:3315)
[install4j] at com.install4j.C.D.C(ejt:776)
[install4j] at com.install4j.C.A.A(ejt:1596)
[install4j] at com.install4j.C.B.¦(ejt:1736)
[install4j] at com.install4j.C.B.+(ejt:3290)
[install4j] at com.install4j.C.B.I(ejt:659)
[install4j] at com.install4j.Install4JApplication.?(ejt:3031)
[install4j] at com.A.L.?(ejt:2517)
[install4j] at com.install4j.Install4JApplication.main(ejt:3481)
[install4j] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[install4j] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[install4j] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[install4j] at java.lang.reflect.Method.invoke(Unknown Source)
[install4j] at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
[install4j] at com.exe4j.runtime.WinLauncher.main(Unknown Source)
[install4j] install4j: compilation failed. Reason: com.A.B.E: com.A.B.E: File Splash.png is not a valid image file.