Questions tagged as 'nullpointerexception'

1
answer

java.lang.NullPointerException on chat system

I'm doing a HelpDesk chat project with JSF 2.0 and Primefaces, but an error is thrown when I try to connect the Attendant or user in the chat. In atendente.xhtml and index.xhtml has a form that sends the information to...
asked by 08.02.2014 / 16:59
2
answers

NullPointerException while getting latitude and longitude

I'm developing a mobile app with Android Studio that aims to get the latitude and longitude information and use the Google Geocoder service to return the address of the geographic position. However, I am not able to capture the latitude and long...
asked by 15.12.2017 / 15:03
1
answer

Problem in calling a method on a jlabel [duplicate]

Well I'm trying to make an application on 2 screens the first one to set the values and the second screen to get the values the first isworkingnormalCode:/**Tochangethislicenseheader,chooseLicenseHeadersinProjectProperties.*Tochangethistempla...
asked by 26.11.2018 / 14:35
0
answers

Attempt to invoke virtual method 'void android.widget.ImageView.setImageResource (int)' on a null object reference

Good evening. I'm having trouble with this error, I'm not able to find out why the object is null. The error is in the last line of the code. I'm using it in a fragment. @Override public void onItemClick(AdapterView<?> parent, View view,...
asked by 26.11.2018 / 23:00
1
answer

AsyncTask and Adapter for conflicting ListView

I'm creating a chat app using socket and after developing the entire layout I decided to get into the connection part ... the problem is that when I get messages the app closes and it shows some errors ... I went through the debug and it tells m...
asked by 17.11.2018 / 13:43
0
answers

I am trying to list the requests of a client but have a DAO error which I can not identify

Button that calls the page that lists the requests: <p:commandButton value="Avançar" id="avancar" action="#{clienteMB.avancarPedido(pedido)}" styleClass="ui-priority-primary" ajax="false"/> Next Request Method in Manageable Bean:...
asked by 18.09.2018 / 17:25
0
answers

Error in Android application NullPointerException

I'm trying to create an android application that dynamically generates buttons on the screen, but I'm getting a NullPointerException error and I do not know how to treat it. Someone who has patience in explaining obvious things to me, becaus...
asked by 20.07.2018 / 18:41
0
answers

java.lang.NullPointerException - Having add a user in the database but points this exception [duplicate]

Here is the code for the connection to the database, the user class, and the code already in the jframe: /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Te...
asked by 29.06.2018 / 00:25
0
answers

NullPointerException error in GoogleMap of Fragment

A Fragment (of the map) that lies within an activity, when I click on From Activity, can you change properties of the map that is in the Fragment? By clicking on the Navigation Drawer Map item it performs the following method: public...
asked by 14.06.2018 / 15:54
1
answer

Java.Lang.NullPoinerException when trying to insert database data into a JComboBox [duplicate]

Today my team and I encountered a problem when trying to do something seemingly simple: display the surname of an official in a JComboBox. The problem is that at the time of opening the screen we receive a NullPointerException and the Combo is...
asked by 23.02.2018 / 20:27