ata4 / disunity

An experimental toolset for Unity asset and asset bundle files.
The Unlicense
2.7k stars 659 forks source link

Self-suppression not permitted #173

Open XN1TE opened 8 years ago

XN1TE commented 8 years ago

While trying to unpack I encountered the following error:


[error] DisUnityCli: Fatal error, caused by java.lang.IllegalArgumentException:
Self-suppression not permitted
        at java.lang.Throwable.addSuppressed(Unknown Source)
        at info.ata4.disunity.cli.command.bundle.BundleUnpack.runFile(BundleUnpa
ck.java:105)
        at info.ata4.disunity.cli.command.FileCommand$$Lambda$2/30125492.accept(
Unknown Source)
        at java.util.ArrayList.forEach(Unknown Source)
        at info.ata4.disunity.cli.command.FileCommand.run(FileCommand.java:32)
        at info.ata4.disunity.cli.command.Command.run(Command.java:50)
        at info.ata4.disunity.cli.command.Command.run(Command.java:50)
        at info.ata4.disunity.cli.command.DisUnityRoot.run(DisUnityRoot.java:62)

        at info.ata4.disunity.cli.DisUnityCli.main(DisUnityCli.java:46)
Caused by: java.io.IOException: Stream is too short
        at info.ata4.io.lzma.LzmaDecoderProps.fromInputStream(LzmaDecoderProps.j
ava:31)
        at net.contrapunctus.lzma.DecoderThread.run(DecoderThread.java:53)

Any ideas what might be causing this or what the fix is

MakuraYami commented 8 years ago

It's a newer version that disunity does not support yet, I'm having this issue too with bundles or assets of version 5.3.2f1

Puggyblue999 commented 8 years ago

I'm having a similar error, however I'm trying to unpack a bundle of Unity 2.x.x. I tried using v0.4 and v0.5 but neither worked.

liszto commented 8 years ago

I tried to patch all of this... But too painful and now I'm in the same behaviour than you have.

I had the possibility to manage UnityFS format but now i'm stuck with this LZMA issue...

Anyone has solved this ?

liszto commented 8 years ago

I'm progressing.... But I never used LZMA libraries and didn't use such low level libraries and java (so it's quite painful) to do stuff like this. Now I have invalid LZMA properties. Even when I compile the code base of LZMA libraries (quite weird)