java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Allen Yeung,
  • 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}
    via by Allen Yeung,
  • Android setContentView problem
    via Stack Overflow by SirHowy
    ,
  • Unable to start activity ComponentInfo
    via by Unknown author,
  • Mocking Android Objects
    via by Adrian,
    • java.lang.NullPointerException at android.view.ViewConfiguration.get(ViewConfiguration.java:262) at android.view.View.<init>(View.java:2380) at android.view.View.<init>(View.java:2423) at android.widget.TextView.<init>(TextView.java:474) at android.widget.TextView.<init>(TextView.java:467) at android.widget.TextView.<init>(TextView.java:462) at ti.modules.titanium.ui.widget.TiUILabel.<init>(TiUILabel.java:39) at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.refreshOldStyleRow(TiTableViewRowProxyItem.java:181) at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:282) at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:84) at ti.modules.titanium.ui.widget.tableview.TiTableView$TTVListAdapter.getView(TiTableView.java:210) at android.widget.AbsListView.obtainView(AbsListView.java:2146) at android.widget.ListView.makeAndAddView(ListView.java:1791) at android.widget.ListView.fillDown(ListView.java:689) at android.widget.ListView.fillSpecific(ListView.java:1347) at android.widget.ListView.layoutChildren(ListView.java:1620) at android.widget.AbsListView.onLayout(AbsListView.java:1976) at android.view.View.layout(View.java:9593) at android.view.ViewGroup.layout(ViewGroup.java:3877) at android.widget.FrameLayout.onLayout(FrameLayout.java:400) at android.view.View.layout(View.java:9593) at android.view.ViewGroup.layout(ViewGroup.java:3877) at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:390) at android.view.View.layout(View.java:9593) at android.view.ViewGroup.layout(ViewGroup.java:3877) at org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:390) at android.view.View.layout(View.java:9593)

    Users with the same issue

    rprp
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,
    brunosatrianibrunosatriani
    13 times, last one,
    4 more bugmates