java.lang.NullPointerException

Appcelerator JIRA | Allen Yeung | 5 years ago
  1. 0

    UI / Android UI drillbit tests are failing in Rhino when the screen is off. The following error shows up: {code} E/TiApplication(20896): (main) [2166,4798] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 1.8.0.1,2011/11/20 22:58,673fe51 E/TiApplication(20896): java.lang.NullPointerException E/TiApplication(20896): at android.view.ViewConfiguration.get(ViewConfiguration.java:262) E/TiApplication(20896): at android.view.View.<init>(View.java:2380) E/TiApplication(20896): at android.view.View.<init>(View.java:2423) E/TiApplication(20896): at android.widget.TextView.<init>(TextView.java:474) E/TiApplication(20896): at android.widget.TextView.<init>(TextView.java:467) E/TiApplication(20896): at android.widget.TextView.<init>(TextView.java:462) E/TiApplication(20896): at ti.modules.titanium.ui.widget.TiUILabel.<init>(TiUILabel.java:39) E/TiApplication(20896): at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.refreshOldStyleRow(TiTableViewRowProxyItem.java:181) E/TiApplication(20896): at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:282) E/TiApplication(20896): at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:84) E/TiApplication(20896): at ti.modules.titanium.ui.widget.tableview.TiTableView$TTVListAdapter.getView(TiTableView.java:210) E/TiApplication(20896): at android.widget.AbsListView.obtainView(AbsListView.java:2146) E/TiApplication(20896): at android.widget.ListView.makeAndAddView(ListView.java:1791) E/TiApplication(20896): at android.widget.ListView.fillDown(ListView.java:689) E/TiApplication(20896): at android.widget.ListView.fillSpecific(ListView.java:1347) E/TiApplication(20896): at android.widget.ListView.layoutChildren(ListView.java:1620) E/TiApplication(20896): at android.widget.AbsListView.onLayout(AbsListView.java:1976) E/TiApplication(20896): at android.view.View.layout(View.java:9593) E/TiApplication(20896): at android.view.ViewGroup.layout(ViewGroup.java:3877) E/TiApplication(20896): at android.widget.FrameLayout.onLayout(FrameLayout.java:400) E/TiApplication(20896): at android.view.View.layout(View.java:9593) E/TiApplication(20896): at android.view.ViewGroup.layout(ViewGroup.java:3877) E/TiApplication(20896): at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:390) E/TiApplication(20896): at android.view.View.layout(View.java:9593) E/TiApplication(20896): at android.view.ViewGroup.layout(ViewGroup.java:3877) E/TiApplication(20896): at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:390) E/TiApplication(20896): at android.view.View.layout(View.java:9593) {code}

    Appcelerator JIRA | 5 years ago | Allen Yeung
    java.lang.NullPointerException
  2. 0

    UI / Android UI drillbit tests are failing in Rhino when the screen is off. The following error shows up: {code} E/TiApplication(20896): (main) [2166,4798] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 1.8.0.1,2011/11/20 22:58,673fe51 E/TiApplication(20896): java.lang.NullPointerException E/TiApplication(20896): at android.view.ViewConfiguration.get(ViewConfiguration.java:262) E/TiApplication(20896): at android.view.View.<init>(View.java:2380) E/TiApplication(20896): at android.view.View.<init>(View.java:2423) E/TiApplication(20896): at android.widget.TextView.<init>(TextView.java:474) E/TiApplication(20896): at android.widget.TextView.<init>(TextView.java:467) E/TiApplication(20896): at android.widget.TextView.<init>(TextView.java:462) E/TiApplication(20896): at ti.modules.titanium.ui.widget.TiUILabel.<init>(TiUILabel.java:39) E/TiApplication(20896): at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.refreshOldStyleRow(TiTableViewRowProxyItem.java:181) E/TiApplication(20896): at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:282) E/TiApplication(20896): at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:84) E/TiApplication(20896): at ti.modules.titanium.ui.widget.tableview.TiTableView$TTVListAdapter.getView(TiTableView.java:210) E/TiApplication(20896): at android.widget.AbsListView.obtainView(AbsListView.java:2146) E/TiApplication(20896): at android.widget.ListView.makeAndAddView(ListView.java:1791) E/TiApplication(20896): at android.widget.ListView.fillDown(ListView.java:689) E/TiApplication(20896): at android.widget.ListView.fillSpecific(ListView.java:1347) E/TiApplication(20896): at android.widget.ListView.layoutChildren(ListView.java:1620) E/TiApplication(20896): at android.widget.AbsListView.onLayout(AbsListView.java:1976) E/TiApplication(20896): at android.view.View.layout(View.java:9593) E/TiApplication(20896): at android.view.ViewGroup.layout(ViewGroup.java:3877) E/TiApplication(20896): at android.widget.FrameLayout.onLayout(FrameLayout.java:400) E/TiApplication(20896): at android.view.View.layout(View.java:9593) E/TiApplication(20896): at android.view.ViewGroup.layout(ViewGroup.java:3877) E/TiApplication(20896): at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:390) E/TiApplication(20896): at android.view.View.layout(View.java:9593) E/TiApplication(20896): at android.view.ViewGroup.layout(ViewGroup.java:3877) E/TiApplication(20896): at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:390) E/TiApplication(20896): at android.view.View.layout(View.java:9593) {code}

    Appcelerator JIRA | 5 years ago | Allen Yeung
    java.lang.NullPointerException
  3. 0

    Android setContentView problem

    Stack Overflow | 5 years ago | SirHowy
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.chrisdev.geturltry1/com.chrisdev.geturltry1.Chrisgeturltry1Activity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to start activity ComponentInfo

    android-hilfe.de | 1 year ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{de.test/de.test.Main}: java.lang.NullPointerException
  6. 0

    Mocking Android Objects

    Google Groups | 2 years ago | Adrian
    java.lang.NullPointerException

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at android.view.ViewConfiguration.get()
    2. Android Platform
      TextView.<init>
      1. android.view.ViewConfiguration.get(ViewConfiguration.java:262)
      2. android.view.View.<init>(View.java:2380)
      3. android.view.View.<init>(View.java:2423)
      4. android.widget.TextView.<init>(TextView.java:474)
      5. android.widget.TextView.<init>(TextView.java:467)
      6. android.widget.TextView.<init>(TextView.java:462)
      6 frames
    3. ti.modules.titanium
      TiTableView$TTVListAdapter.getView
      1. ti.modules.titanium.ui.widget.TiUILabel.<init>(TiUILabel.java:39)
      2. ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.refreshOldStyleRow(TiTableViewRowProxyItem.java:181)
      3. ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:282)
      4. ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:84)
      5. ti.modules.titanium.ui.widget.tableview.TiTableView$TTVListAdapter.getView(TiTableView.java:210)
      5 frames
    4. Android Platform
      ViewGroup.layout
      1. android.widget.AbsListView.obtainView(AbsListView.java:2146)
      2. android.widget.ListView.makeAndAddView(ListView.java:1791)
      3. android.widget.ListView.fillDown(ListView.java:689)
      4. android.widget.ListView.fillSpecific(ListView.java:1347)
      5. android.widget.ListView.layoutChildren(ListView.java:1620)
      6. android.widget.AbsListView.onLayout(AbsListView.java:1976)
      7. android.view.View.layout(View.java:9593)
      8. android.view.ViewGroup.layout(ViewGroup.java:3877)
      9. android.widget.FrameLayout.onLayout(FrameLayout.java:400)
      10. android.view.View.layout(View.java:9593)
      11. android.view.ViewGroup.layout(ViewGroup.java:3877)
      11 frames
    5. org.appcelerator.titanium
      TiCompositeLayout.onLayout
      1. org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:390)
      1 frame
    6. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:9593)
      2. android.view.ViewGroup.layout(ViewGroup.java:3877)
      2 frames
    7. org.appcelerator.titanium
      TiCompositeLayout.onLayout
      1. org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:390)
      1 frame
    8. Android Platform
      View.layout
      1. android.view.View.layout(View.java:9593)
      1 frame