我当时正在研究一个提高Ibovespa证券交易所股票价值的项目,我放弃了好几年,但现在我决定对其进行改进,但是遇到了以下错误。我使用了一个名为Achartengine的旧库。
2019-02-18 09:19:29.984 9885-9885/com.saiko.investmobile E/vetcot itens puxados: semhorariodecotacaoparaconsultar
2019-02-18 09:19:29.984 9885-9885/com.saiko.investmobile D/ConsultaCogtacao: pegadoarraypass
2019-02-18 09:19:29.998 9885-9885/com.saiko.investmobile D/ViewRootImpl@7d341f9[AcoesDetalhes]: dispatchDetachedFromWindow
2019-02-18 09:19:29.998 9885-9885/com.saiko.investmobile D/InputEventReceiver: channel 'f9ca17e com.saiko.investmobile/com.saiko.investmobile.AcoesDetalhes (client)' ~ Disposing input event receiver.
2019-02-18 09:19:29.998 9885-9885/com.saiko.investmobile D/InputEventReceiver: channel 'f9ca17e com.saiko.investmobile/com.saiko.investmobile.AcoesDetalhes (client)' ~NativeInputEventReceiver.
2019-02-18 09:19:30.007 9885-9885/com.saiko.investmobile E/ViewRootImpl: sendUserActionEvent() returned.
2019-02-18 09:19:30.015 9885-9885/com.saiko.investmobile D/AndroidRuntime: Shutting down VM
2019-02-18 09:19:30.019 9885-9885/com.saiko.investmobile E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.saiko.investmobile, PID: 9885
java.lang.IllegalArgumentException: fromKey > toKey
at java.util.TreeMap$NavigableSubMap.<init>(TreeMap.java:1400)
at java.util.TreeMap$AscendingSubMap.<init>(TreeMap.java:1887)
at java.util.TreeMap.subMap(TreeMap.java:940)
at java.util.TreeMap.subMap(TreeMap.java:981)
at org.achartengine.model.XYSeries.getRange(XYSeries.java:205)
at org.achartengine.chart.XYChart.draw(XYChart.java:247)
at org.achartengine.GraphicalView.onDraw(GraphicalView.java:166)
at android.view.View.draw(View.java:20352)
at android.view.View.updateDisplayListIfDirty(View.java:19297)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4405)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4385)
at android.view.View.updateDisplayListIfDirty(View.java:19256)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4405)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4385)
at android.view.View.updateDisplayListIfDirty(View.java:19256)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4405)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4385)
at android.view.View.updateDisplayListIfDirty(View.java:19256)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4405)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4385)
at android.view.View.updateDisplayListIfDirty(View.java:19256)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4405)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4385)
at android.view.View.updateDisplayListIfDirty(View.java:19256)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4405)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4385)
at android.view.View.updateDisplayListIfDirty(View.java:19256)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4405)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4385)
at android.view.View.updateDisplayListIfDirty(View.java:19256)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:686)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:692)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:800)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:3488)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3275)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2810)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1779)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7810)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:911)
at android.view.Choreographer.doCallbacks(Choreographer.java:723)
at android.view.Choreographer.doFrame(Choreographer.java:658)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6938)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)