Calvin's Tech Space

          成于堅忍,毀于浮躁

             :: 首頁 :: 聯系 :: 聚合  :: 管理
          Steps to reproduce the problem:
          + start ddms
          + create a new filter in the logcat view containg a : in the filtername
          such as "myfilter:"
          + stop ddms
          + restart ddms
          => Exception
          30:40 E/ddms: shutting down due to uncaught exception
          30:40 E/ddms: java.lang.NumberFormatException: For input string: ""
          at
          java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
          at java.lang.Integer.parseInt(Integer.java:468)
          at java.lang.Integer.parseInt(Integer.java:497)
          at
          com.android.ddmuilib.logcat.LogFilter.loadFromString(LogFilter.java:134)
          at
          com.android.ddms.UIThread$FilterStorage.getFilterFromStore(UIThread.java:186)
          at
          com.android.ddmuilib.logcat.LogPanel.createFilters(LogPanel.java:1238)
          at
          com.android.ddmuilib.logcat.LogPanel.createControl(LogPanel.java:448)
          at com.android.ddmuilib.Panel.createPanel(Panel.java:29)
          at com.android.ddms.UIThread.createBottomPanel(UIThread.java:1186)
          at com.android.ddms.UIThread.createWidgets(UIThread.java:832)
          at com.android.ddms.UIThread.runUI(UIThread.java:377)
          at com.android.ddms.Main.main(Main.java:97)
          ":" should be allowed in filternames or you should block characters which
          are not allowed. ddms shouldn't crash.
          work around: change the setting
          "com.android.ide.eclipse.ddms.logcat.filters" in ddms.cfg
          this also happens using the eclipse plugin. here you have to change the
          file:
          .metadata/.plugins/org.eclipse.core.runtime/.settings/com.android.ide.eclipse.ddms.prefs
          in the workspace.
          刪掉com.android.ide.eclipse.ddms.logcat.filters即可。
           
          posted on 2010-06-07 18:33 calvin 閱讀(568) 評論(0)  編輯  收藏 所屬分類: Eclipse
          主站蜘蛛池模板: 海门市| 和硕县| 建瓯市| 喜德县| 稻城县| 阿鲁科尔沁旗| 泊头市| 来安县| 卢湾区| 华容县| 夏河县| 社旗县| 什邡市| 玉田县| 博爱县| 光山县| 铜陵市| 多伦县| 霸州市| 丰都县| 通许县| 辽阳县| 武强县| 井研县| 泊头市| 习水县| 九台市| 都匀市| 家居| 沁阳市| 尼玛县| 石楼县| 博兴县| 常宁市| 大安市| 颍上县| 赤壁市| 临沭县| 武夷山市| 尤溪县| 林甸县|