只有一些用户报告和QUOT;资源未找到"错误。这是否有意义? [英] Only some users reporting "Resource Not Found" error. Does this make sense?
问题描述
我看到AA情侣错误的Crittercism来了(崩溃报告服务),为我发表的Android应用程序。跟踪如下:
I am seeing a a couple of errors coming up on Crittercism (Crash reporting service) for my published Android app. The trace is the following:
0 java.io.IOException: Resource not found: "org/joda/time/tz/data/ZoneInfoMap" ClassLoader: dalvik.system.PathClassLoader@45908320
1 at org.joda.time.tz.ZoneInfoProvider.openResource(ZoneInfoProvider.java:211)
2 at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:123)
3 at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:82)
4 at org.joda.time.DateTimeZone.getDefaultProvider(DateTimeZone.java:462)
5 at org.joda.time.DateTimeZone.setProvider0(DateTimeZone.java:416)
6 at org.joda.time.DateTimeZone.<clinit>(DateTimeZone.java:115)
7 at org.joda.time.chrono.GregorianChronology.<clinit>(GregorianChronology.java:71)
8 at org.joda.time.chrono.ISOChronology.<clinit>(ISOChronology.java:66)
9 at org.joda.time.base.BaseDateTime.<init>(BaseDateTime.java:61)
10 at org.joda.time.DateTime.<init>(DateTime.java:155)
在搜索显示这这通常是(通常是,乔达时库未添加到构建路径或某事),但为什么只有4用户出了一对夫妇一千看到这个错误编译问题?
Searching shows this this is usually a compiling problem (Usually that the Joda Time Library was not added to the build path or something), but then why would only about 4 users out of a couple thousand see this error?
我唯一的猜测是,有人试图反编译的应用程序,以海盗它(它是一种相当流行的付费应用程序),并认为这种错误时,他们错误地重新编译。在这种情况下,我很高兴他们所看到的错误,我不需要担心这个问题。
My only guess is that someone is trying to decompile the app to pirate it (Its a fairly popular paid app), and sees this error when they incorrectly re-compiled. In that case I am glad they are seeing errors and I dont need to worry about this.
另外奇怪的是,code引起的问题被包围一个try / catch,它没有似乎抓住它:
The other weird thing is that the code causing the problem was surrounded by a try/catch, which didnt seem to catch it:
try {
DateTime dt = new DateTime();
DateTimeFormatter fmt = ISODateTimeFormat.dateTime();
return fmt.print(dt);
} catch (Exception e) {
//Report issue to Analytics service
}
这对我来说,使它看起来更不太可能,这样的错误将显示在Crittercism,因为它应该已经被抓。任何人都可以解释一下吗?
Which to me, makes it seem even more unlikely that this error would show up on Crittercism, since it should've been caught. Can anyone explain this?
推荐答案
这可能的情况下发生的,你错过的初始化:
This can happen in the case you miss initialization:
JodaTimeAndroid.init(this);
这篇关于只有一些用户报告和QUOT;资源未找到&QUOT;错误。这是否有意义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!