I'm getting a json object from the screen in my back end like this:
{
"pessoa": {
"nome": "aa",
"nomeSocial": "aa",
"tipoPessoa": "F",
"nomePai":"",
"dataNascimento": "15/06/1983",
"nomeMae":...
I have the following method in the LoginController class
@RequestMapping(value = "/usuarioEntidade", consumes = MediaType.APPLICATION_JSON_UTF8_VALUE, method = RequestMethod.POST)
public Resposta usuarioEntidade(@RequestBody EntidadesAdministr...
I'm trying to bring the data from the database with this method from my DAO class:
public List<Transacoes> listDBPF(){
Connection con = new ConnectionFactory().getConnection();
ResultSet res;
List<Transacoes> arrTrans...
I have a method in controller that has the function to make a query in my database and after returning only one field of this search, however I am taking nullpointer in the first for that I am using. I would like help in tha...
I have a ready-made application that was created procedurally, but for learning purposes I decided to reprogram it using object orientation and the MVC pattern.
While registering for a publisher, I'm getting the error NullPointerException...
I have a class named Users, which has a Sensors-like vector as an attribute
protected Sensors sensors[10];
It also has the setDescription method
public void setDescription (int ind, String description)
{
this.sensors[ind].description...
I'm trying to implement a stack (database), the problem is that I'm not able to send my data to the other Activity's in my application, so when I open another activity to check if the data is there, it I want to be able to access the data in my...
I'm working on creating a Get service in ASP.NET Core, my project contains the following structure:
Certiao.Data - Class Library
Inside it has Dependences , Models : Sexo.cs and DB_SDO_DEVContext.cs
DB_S...
Hi, My problem is in the array following this code:
mesh meshCube;
string[] file = File.ReadAllLines("object.mind");
foreach (string filetext in file)
{
if (filetext.Contains("v"))
{
string ext = filetext.Substring(filetext.Ind...
I'm doing a Quiz on Unity and I'm having an error that I can not solve, I already looked for similar errors but I can not identify, this message appears when I'm running the quiz
NullReferenceException: Object reference not set to an insta...