Questions tagged as 'nullpointerexception'

0
answers

PTBR FATAL EXCPETION: main java.lang.RuntimeException - window get call back

I'm doing an application that needs to switch between screens and the following error appears: inicio.java: package com.example.deadsec.gerflores; import android.content.Intent; import android.support.v7.app.AppCompatActivity; i...
asked by 11.04.2017 / 22:03
1
answer

NullPointerException when trying to mount an Activity to show a video

My code: public class VideoActivity3 extends Activity { public final static String LOCATION3 = "com.compdigitec.VideoActivity3.location3"; public final static String mFilePath = ""; @Override protected void onCreate(Bundle sa...
asked by 11.02.2017 / 02:57
1
answer

PreferenceActivity # findPreference () returns null

Could anyone help with the error below? I'm a beginner with android and I could not identify where I went wrong. Thank you! Log Error 01-22 11:45:32.722 13037-13037/com.example.android.sunshine.app E/AndroidRuntime: FATAL EXCEPTION: m...
asked by 22.01.2017 / 11:53
1
answer

Android: Custom ListView has an error while simulating

I've implemented a custom, basic ListView, but it's giving the error:    java.lang.RuntimeException: Unable to start activity   ComponentInfo {goodeal.listview / goodeal.listview.MainActivity}:   java.lang.NullPointerException: Attempt to inv...
asked by 03.08.2016 / 05:40
1
answer

NullPointerException error in setMyLocationEnabled ()

I'm developing an app whose main function is to capture the user's location. I have already made a code of the error, I do not know if it is complete, I followed following internet examples: Code: private GoogleMap mMap; public View onCrea...
asked by 30.03.2016 / 07:29
1
answer

I'm having trouble connecting to SQL with java

Well ... I did some classes, and it's time to connect to get a die in the bank; Okay. He had already connected with the DB, but when I did the class to fetch the data, it gets nullException, as if the database did not exist. Take out: public v...
asked by 22.03.2016 / 02:03
2
answers

Error in getWritableDatabase ()

I'm trying to open the database to insert values in class CadSalario , but it's giving me error in dbHelper.getWritableDatabase(); and I looked at the net and I have to call a context , can someone help me? This is the file...
asked by 22.05.2015 / 03:29
1
answer

NullPointerException in WSO2 DSS 3.0.0

I'm having problems with a Data Service in WSO2 DSS 3.0.0. If you run the query directly on the database no error happens. The database is a Sybase 12. Could someone help? DBS <data name="DSProgram" serviceNamespace="http://myschema.or...
asked by 12.05.2015 / 19:18
0
answers

Error NullPointerException [closed]

I have a program that performs biometric authentication in two versions: 1) The user selects the binary file via javax.swing as follows: public class Busca extends javax.swing.JFrame { ... java.io.FileInputStream fis = null; fi...
asked by 04.05.2015 / 18:12
0
answers

Start service with TimerTask [closed]

I'm trying to start an Android notification service with TimerTask but it returns me the following error: 02-03 16:06:00.164 15051-15379/com.celiogarcia.setapp E/AndroidRuntime﹕ FATAL EXCEPTION: Timer-0 java.lang.NullPointerException...
asked by 03.02.2015 / 16:13