java.lang.NullPointerException: Inflater has been closed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Unknown author, 5 months ago
via JIRA by Michal Malohlava, 1 year ago
Inflater has been closed
via JIRA by Michal Malohlava, 1 year ago
Inflater has been closed
java.lang.NullPointerException: Inflater has been closed
at java.util.zip.Inflater.ensureOpen(Inflater.java:389)
at java.util.zip.Inflater.inflate(Inflater.java:257)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:152)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
at java.io.DataInputStream.readInt(DataInputStream.java:387)
at javassist.bytecode.ClassFile.read(ClassFile.java:777)
at javassist.bytecode.ClassFile.(ClassFile.java:124)
at javassist.CtClassType.getClassFile2(CtClassType.java:192)
at javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:98)
at javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:84)
at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:711)
at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:688)
at javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:157)
at javassist.compiler.ast.CallExpr.accept(CallExpr.java:46)
at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:242)
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:330)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:351)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:292)
at javassist.compiler.CodeGen.atMethodDecl(CodeGen.java:274)
at javassist.compiler.ast.MethodDecl.accept(MethodDecl.java:44)
at javassist.compiler.Javac.compileMethod(Javac.java:169)
at javassist.compiler.Javac.compile(Javac.java:95)
at javassist.CtNewMethod.make(CtNewMethod.java:74)
at javassist.CtNewMethod.make(CtNewMethod.java:45)
at water.Weaver.addMethod(Weaver.java:367)
at water.Weaver.make_body(Weaver.java:360)
at water.Weaver.genIcerClass(Weaver.java:181)
at water.Weaver.javassistLoadClass(Weaver.java:133)
at water.Weaver.genDelegate(Weaver.java:60)
at water.TypeMap.getIcer(TypeMap.java:183)
at water.TypeMap.getIcer(TypeMap.java:170)
at water.Iced.icer(Iced.java:41)
at water.Iced.write(Iced.java:47)
at water.UDPHeartbeat.build_and_multicast(UDPHeartbeat.java:24)
at water.HeartBeatThread.run(HeartBeatThread.java:135)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
30 times, 10 months ago

Know the solutions? Share your knowledge to help other developers to debug faster.