我的mapreduce工作失败,原因如下: 全栈:
java.lang.ExceptionInInitializerError
at org.joda.time.chrono.ISOChronology.<clinit>(ISOChronology.java:59)
at org.joda.time.DateTimeUtils.getChronology(DateTimeUtils.java:266)
at org.joda.time.convert.AbstractConverter.getChronology(AbstractConverter.java:82)
at org.joda.time.base.BaseDateTime.<init>(BaseDateTime.java:172)
at org.joda.time.DateTime.<init>(DateTime.java:257)
at com.xxx.myClass(myFile.scala:70)
... 11 more
Caused by: java.lang.NullPointerException
我从scala调用构造函数:
val dateTime: DateTime = new DateTime(long)