defold / defold

Defold is a completely free to use game engine for development of desktop, mobile and web games.
https://www.defold.com
Other
4.05k stars 288 forks source link

Error alert when switching back to Defold editor #8806

Open andrew-flick opened 4 months ago

andrew-flick commented 4 months ago

Expected behaviour

Not throwing up an error alert when switching windows.

Actual behaviour

ERROR: java.lang.ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16

shown after building, running game and command tabbing back to Defold editor.

Steps to reproduce

Switch to the Defold editor after doing anything and this error now comes up.

I recently started using a sym link to some lua modules but don't think this is related.


Build time2024-04-09T14:46:02.417652
Defold channeleditor-alpha
Defold editor shaecdec42bff4ffde46635964bd0b16561b9498216
Defold engine shabf4dc66ab5fbbafd4294d32c2797c08b630c0be5
Defold version1.7.0
Error7c8d6cf05d4f4bfab559323aa73fbf75
GPUApple M1 Max
GPU Driver2.1 Metal - 88
Java version17.0.5+8
OS archaarch64
OS nameMac OS X
OS version14.4.1
AGulev commented 4 months ago

org.eclipse.jgit.dircache.DirCacheTree.namecmp.class java.lang.ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16
    at org.eclipse.jgit.dircache.DirCacheTree.namecmp(DirCacheTree.java:545)
    at org.eclipse.jgit.dircache.DirCacheTree.validate(DirCacheTree.java:454)
    at org.eclipse.jgit.dircache.DirCacheTree.validate(DirCacheTree.java:482)
    at org.eclipse.jgit.dircache.DirCacheTree.validate(DirCacheTree.java:482)
    at org.eclipse.jgit.dircache.DirCache.getCacheTree(DirCache.java:946)
    at org.eclipse.jgit.dircache.DirCacheIterator.<init>(DirCacheIterator.java:118)
    at org.eclipse.jgit.lib.IndexDiff.diff(IndexDiff.java:414)
    at org.eclipse.jgit.lib.IndexDiff.diff(IndexDiff.java:377)
    at org.eclipse.jgit.api.StatusCommand.call(StatusCommand.java:148)
    at editor.git$status.invokeStatic(git.clj:197)
    at editor.git$unified_status.invokeStatic(git.clj:229)
    at editor.changes_view$refresh_BANG_$fn.invoke(changes_view.clj:57)
    at clojure.core$binding_conveyor_fn$fn.invoke(core.clj:2030)
    at clojure.lang.AFn.call(AFn.java:18)
    at java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.lang.Thread.run(Thread.java:833)