Skip to content

Instantly share code, notes, and snippets.

@psibi

psibi/error.log Secret

Created October 23, 2016 14:53
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save psibi/5bb5387912dec1ca9817cba7de7a1dac to your computer and use it in GitHub Desktop.
Error log
eException in thread "main" java.lang.NoClassDefFoundError: Calendar
at oldzmtimezm1zi1zi0zi3.system.Time$satzus10SQ.thunkEnter(Unknown Source)
at ghcvm.runtime.thunk.StgInd.enter(StgInd.java:19)
at ghcvm.runtime.stg.StgClosure.evaluate(StgClosure.java:20)
at base.text.parsercombinators.ReadP$skipSpaceszuskip.enter(Unknown Source)
at base.ghc.Read$satzus5BWW.enter(Unknown Source)
at ghcvm.runtime.apply.StgFun.apply(StgFun.java:116)
at ghcvm.runtime.apply.Apply$8.enter(Apply.java:75)
at base.text.parsercombinators.ReadP$satzus341G.enter(Unknown Source)
at ghcvm.runtime.apply.StgFun.apply(StgFun.java:116)
at ghcvm.runtime.apply.Apply$8.enter(Apply.java:75)
at base.text.parsercombinators.ReadP$satzus341G.enter(Unknown Source)
at ghcvm.runtime.apply.StgFun.apply(StgFun.java:116)
at ghcvm.runtime.apply.Apply$8.enter(Apply.java:75)
at base.text.parsercombinators.ReadP$run.enter(Unknown Source)
at oldzmtimezm1zi1zi0zi3.system.Time$satzus10SY.thunkEnter(Unknown Source)
at ghcvm.runtime.thunk.StgInd.enter(StgInd.java:19)
at ghcvm.runtime.stg.StgClosure.evaluate(StgClosure.java:20)
at oldzmtimezm1zi1zi0zi3.system.Time$lvl98zus13J8.thunkEnter(Unknown Source)
at ghcvm.runtime.thunk.StgInd.enter(StgInd.java:19)
at ghcvm.runtime.stg.StgClosure.evaluate(StgClosure.java:20)
at base.ghc.Base$zpzp.enter(Unknown Source)
at oldzmtimezm1zi1zi0zi3.system.Time$doFmtzus13PB.enter(Unknown Source)
at oldzmtimezm1zi1zi0zi3.system.Time$lvl112zus13P6.thunkEnter(Unknown Source)
at ghcvm.runtime.thunk.StgInd.enter(StgInd.java:19)
at ghcvm.runtime.stg.StgClosure.evaluate(StgClosure.java:20)
at base.ghc.Base$zpzp.enter(Unknown Source)
at oldzmtimezm1zi1zi0zi3.system.Time$doFmtzus13PB.enter(Unknown Source)
at oldzmtimezm1zi1zi0zi3.system.Time$zdwformatCalendarTime.enter(Unknown Source)
at oldzmtimezm1zi1zi0zi3.system.Time$zdfShowClockTimezuzdcshow.enter(Unknown Source)
at ghcvm.runtime.apply.StgFun.apply(StgFun.java:116)
at ghcvm.runtime.apply.ApP.stackEnter(ApP.java:17)
at ghcvm.runtime.stg.StackFrame.enter(StackFrame.java:43)
at ghcvm.runtime.stg.StgContext.checkForStackFrames(StgContext.java:75)
at base.ghc.io.handle.Text$zdwa7.enter(Unknown Source)
at base.ghc.io.handle.Text$hPutStr2.enter(Unknown Source)
at base.system.IO$print1.enter(Unknown Source)
at base.system.IO$print.enter(Unknown Source)
at ghcvm.runtime.apply.Apply$20.enter(Apply.java:210)
at ghcvm.runtime.apply.StgPAP.apply(StgPAP.java:46)
at ghcvm.runtime.apply.ApV.stackEnter(ApV.java:12)
at ghcvm.runtime.stg.StackFrame.enter(StackFrame.java:43)
at ghcvm.runtime.stg.StackFrame.enter(StackFrame.java:26)
at ghcvm.runtime.stg.StackFrame.enter(StackFrame.java:26)
at ghcvm.runtime.stg.Capability.schedule(Capability.java:245)
at ghcvm.runtime.RtsScheduler.scheduleWaitThread(RtsScheduler.java:57)
at ghcvm.runtime.Rts.evalLazyIO(Rts.java:92)
at ghcvm.runtime.Rts.hsMain(Rts.java:37)
at ghcvm.main.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: Calendar
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 48 more
@sibi::jane { ~/scripts/oldzmtimezm1zi1zi0zi3/system }-> javap -c -v Time\$satzus10SQ.class
Classfile /home/sibi/scripts/oldzmtimezm1zi1zi0zi3/system/Time$satzus10SQ.class
Last modified 23 Oct, 2016; size 1290 bytes
MD5 checksum 500ce4b97107c841f93a617d40713e0e
public final class oldzmtimezm1zi1zi0zi3.system.Time$satzus10SQ extends ghcvm.runtime.thunk.StgInd
minor version: 0
major version: 51
flags: ACC_PUBLIC, ACC_FINAL, ACC_SUPER
Constant pool:
#1 = Utf8 satzus10SQ
#2 = Class #3 // oldzmtimezm1zi1zi0zi3/system/Time
#3 = Utf8 oldzmtimezm1zi1zi0zi3/system/Time
#4 = Class #5 // oldzmtimezm1zi1zi0zi3/system/Time$satzus10SQ
#5 = Utf8 oldzmtimezm1zi1zi0zi3/system/Time$satzus10SQ
#6 = Utf8 CalendarD
#7 = Class #8 // oldzmtimezm1zi1zi0zi3/system/Time$CalendarD
#8 = Utf8 oldzmtimezm1zi1zi0zi3/system/Time$CalendarD
#9 = Class #10 // ghcvm/runtime/thunk/StgInd
#10 = Utf8 ghcvm/runtime/thunk/StgInd
#11 = Utf8 <init>
#12 = Utf8 (Lghcvm/runtime/stg/StgClosure;)V
#13 = Methodref #9.#14 // ghcvm/runtime/thunk/StgInd."<init>":()V
#14 = NameAndType #11:#15 // "<init>":()V
#15 = Utf8 ()V
#16 = Class #17 // ghcvm/runtime/stg/StgClosure
#17 = Utf8 ghcvm/runtime/stg/StgClosure
#18 = Fieldref #4.#19 // oldzmtimezm1zi1zi0zi3/system/Time$satzus10SQ.x1:Lghcvm/runtime/stg/StgClosure;
#19 = NameAndType #20:#21 // x1:Lghcvm/runtime/stg/StgClosure;
#20 = Utf8 x1
#21 = Utf8 Lghcvm/runtime/stg/StgClosure;
#22 = Utf8 thunkEnter
#23 = Utf8 (Lghcvm/runtime/stg/StgContext;)V
#24 = Class #25 // ghcvm/runtime/stg/StgContext
#25 = Utf8 ghcvm/runtime/stg/StgContext
#26 = Methodref #24.#27 // ghcvm/runtime/stg/StgContext.stackTopIndex:()I
#27 = NameAndType #28:#29 // stackTopIndex:()I
#28 = Utf8 stackTopIndex
#29 = Utf8 ()I
#30 = Methodref #24.#31 // ghcvm/runtime/stg/StgContext.stackTop:()Lghcvm/runtime/stg/StackFrame;
#31 = NameAndType #32:#33 // stackTop:()Lghcvm/runtime/stg/StackFrame;
#32 = Utf8 stackTop
#33 = Utf8 ()Lghcvm/runtime/stg/StackFrame;
#34 = Class #35 // ghcvm/runtime/stg/StackFrame
#35 = Utf8 ghcvm/runtime/stg/StackFrame
#36 = Methodref #16.#37 // ghcvm/runtime/stg/StgClosure.evaluate:(Lghcvm/runtime/stg/StgContext;)V
#37 = NameAndType #38:#23 // evaluate:(Lghcvm/runtime/stg/StgContext;)V
#38 = Utf8 evaluate
#39 = Methodref #24.#40 // ghcvm/runtime/stg/StgContext.checkForStackFrames:(ILghcvm/runtime/stg/StackFrame;)Z
#40 = NameAndType #41:#42 // checkForStackFrames:(ILghcvm/runtime/stg/StackFrame;)Z
#41 = Utf8 checkForStackFrames
#42 = Utf8 (ILghcvm/runtime/stg/StackFrame;)Z
#43 = Methodref #24.#44 // ghcvm/runtime/stg/StgContext.R:(I)Lghcvm/runtime/stg/StgClosure;
#44 = NameAndType #45:#46 // R:(I)Lghcvm/runtime/stg/StgClosure;
#45 = Utf8 R
#46 = Utf8 (I)Lghcvm/runtime/stg/StgClosure;
#47 = Fieldref #7.#48 // oldzmtimezm1zi1zi0zi3/system/Time$CalendarD.x1:Ljava/util/Calendar;
#48 = NameAndType #20:#49 // x1:Ljava/util/Calendar;
#49 = Utf8 Ljava/util/Calendar;
#50 = Class #51 // java/util/Calendar
#51 = Utf8 java/util/Calendar
#52 = Fieldref #53.#55 // Calendar.MILLISECOND:I
#53 = Class #54 // Calendar
#54 = Utf8 Calendar
#55 = NameAndType #56:#57 // MILLISECOND:I
#56 = Utf8 MILLISECOND
#57 = Utf8 I
#58 = Methodref #50.#59 // java/util/Calendar.get:(I)I
#59 = NameAndType #60:#61 // get:(I)I
#60 = Utf8 get
#61 = Utf8 (I)I
#62 = Methodref #63.#65 // ghcvm/oldtime/Utils.getDayOfWeek:(J)Ljava/lang/String;
#63 = Class #64 // ghcvm/oldtime/Utils
#64 = Utf8 ghcvm/oldtime/Utils
#65 = NameAndType #66:#67 // getDayOfWeek:(J)Ljava/lang/String;
#66 = Utf8 getDayOfWeek
#67 = Utf8 (J)Ljava/lang/String;
#68 = Class #69 // java/lang/String
#69 = Utf8 java/lang/String
#70 = Methodref #24.#71 // ghcvm/runtime/stg/StgContext.O:(ILjava/lang/Object;)V
#71 = NameAndType #72:#73 // O:(ILjava/lang/Object;)V
#72 = Utf8 O
#73 = Utf8 (ILjava/lang/Object;)V
#74 = Class #75 // java/lang/Object
#75 = Utf8 java/lang/Object
#76 = Fieldref #77.#79 // ghczmprim/ghc/CString.unpackCStringzh_closure:Lghcvm/runtime/stg/StgClosure;
#77 = Class #78 // ghczmprim/ghc/CString
#78 = Utf8 ghczmprim/ghc/CString
#79 = NameAndType #80:#21 // unpackCStringzh_closure:Lghcvm/runtime/stg/StgClosure;
#80 = Utf8 unpackCStringzh_closure
#81 = Methodref #16.#82 // ghcvm/runtime/stg/StgClosure.enter:(Lghcvm/runtime/stg/StgContext;)V
#82 = NameAndType #83:#23 // enter:(Lghcvm/runtime/stg/StgContext;)V
#83 = Utf8 enter
#84 = Utf8 Code
#85 = Utf8 StackMapTable
#86 = Utf8 InnerClasses
{
public ghcvm.runtime.stg.StgClosure x1;
descriptor: Lghcvm/runtime/stg/StgClosure;
flags: ACC_PUBLIC
public oldzmtimezm1zi1zi0zi3.system.Time$satzus10SQ(ghcvm.runtime.stg.StgClosure);
descriptor: (Lghcvm/runtime/stg/StgClosure;)V
flags: ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
0: aload_0
1: invokespecial #13 // Method ghcvm/runtime/thunk/StgInd."<init>":()V
4: aload_0
5: aload_1
6: putfield #18 // Field x1:Lghcvm/runtime/stg/StgClosure;
9: return
public void thunkEnter(ghcvm.runtime.stg.StgContext);
descriptor: (Lghcvm/runtime/stg/StgContext;)V
flags: ACC_PUBLIC
Code:
stack=4, locals=9, args_size=2
0: aload_1
1: invokevirtual #26 // Method ghcvm/runtime/stg/StgContext.stackTopIndex:()I
4: aload_1
5: invokevirtual #30 // Method ghcvm/runtime/stg/StgContext.stackTop:()Lghcvm/runtime/stg/StackFrame;
8: aload_0
9: getfield #18 // Field x1:Lghcvm/runtime/stg/StgClosure;
12: aload_1
13: invokevirtual #36 // Method ghcvm/runtime/stg/StgClosure.evaluate:(Lghcvm/runtime/stg/StgContext;)V
16: aload_1
17: dup_x2
18: pop
19: invokevirtual #39 // Method ghcvm/runtime/stg/StgContext.checkForStackFrames:(ILghcvm/runtime/stg/StackFrame;)Z
22: ifeq 26
25: return
26: aload_1
27: iconst_1
28: invokevirtual #43 // Method ghcvm/runtime/stg/StgContext.R:(I)Lghcvm/runtime/stg/StgClosure;
31: astore_2
32: aload_2
33: checkcast #7 // class oldzmtimezm1zi1zi0zi3/system/Time$CalendarD
36: dup
37: getfield #47 // Field oldzmtimezm1zi1zi0zi3/system/Time$CalendarD.x1:Ljava/util/Calendar;
40: astore_3
41: pop
42: getstatic #52 // Field Calendar.MILLISECOND:I
45: istore 4
47: aload_3
48: iload 4
50: invokevirtual #58 // Method java/util/Calendar.get:(I)I
53: istore 5
55: iload 5
57: i2l
58: lstore 6
60: lload 6
62: invokestatic #62 // Method ghcvm/oldtime/Utils.getDayOfWeek:(J)Ljava/lang/String;
65: astore 8
67: aload_1
68: iconst_1
69: aload 8
71: invokevirtual #70 // Method ghcvm/runtime/stg/StgContext.O:(ILjava/lang/Object;)V
74: getstatic #76 // Field ghczmprim/ghc/CString.unpackCStringzh_closure:Lghcvm/runtime/stg/StgClosure;
77: aload_1
78: invokevirtual #81 // Method ghcvm/runtime/stg/StgClosure.enter:(Lghcvm/runtime/stg/StgContext;)V
81: return
StackMapTable: number_of_entries = 1
frame_type = 26 /* same */
}
InnerClasses:
public static #6= #7 of #2; //CalendarD=class oldzmtimezm1zi1zi0zi3/system/Time$CalendarD of class oldzmtimezm1zi1zi0zi3/system/Time
public static #1= #4 of #2; //satzus10SQ=class oldzmtimezm1zi1zi0zi3/system/Time$satzus10SQ of class oldzmtimezm1zi1zi0zi3/system/Time
let {
sat_s10SQ [Occ=Once] :: GHC.Base.String
[LclId, Str=DmdType] =
\u srt:SRT:[] []
case cal_s10RH of _ [Occ=Dead] {
System.Time.Calendar ds1_s10SC [Occ=Once] ->
case
__pkg_ccall old-time-1.1.0.3@old-time-1.1.0.3 @static @field Calendar.MILLISECOND [GHC.Prim.realWorld#]
of
_ [Occ=Dead]
{ (#,#) _ [Occ=Dead, OS=OneShot] ds3_s10SG [Occ=Once] ->
case
__pkg_ccall old-time-1.1.0.3@old-time-1.1.0.3 get [ds1_s10SC
ds3_s10SG
GHC.Prim.realWorld#]
of
_ [Occ=Dead]
{ (#,#) _ [Occ=Dead, OS=OneShot] ds5_s10SK [Occ=Once] ->
case intToInt64# [ds5_s10SK] of sat_s10SM {
__DEFAULT ->
case
__pkg_ccall old-time-1.1.0.3@old-time-1.1.0.3 @static ghcvm.oldtime.Utils.getDayOfWeek [sat_s10SM
GHC.Prim.realWorld#]
of
_ [Occ=Dead]
{ (#,#) _ [Occ=Dead, OS=OneShot]
ds7_s10SP [Occ=Once] ->
GHC.CString.unpackCString# ds7_s10SP;
};
};
};
};
};
} in
case
Text.ParserCombinators.ReadP.run
System.Time.$fShowClockTime8 sat_s10SQ
of
sat_s10SR
{ __DEFAULT ->
case Text.Read.readEither6 sat_s10SR of _ [Occ=Dead] {
[] -> System.Time.$fShowClockTime7;
: x_s10ST [Occ=Once] ds_s10SU [Occ=Once!] ->
case ds_s10SU of _ [Occ=Dead] {
[] -> x_s10ST;
: _ [Occ=Dead] _ [Occ=Dead] -> System.Time.$fShowClockTime6;
};
};
}; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment