Questions tagged as 'java'

6
answers

What is the solution to all present, past and future NullPointerException errors?

I have my Java program and I get a NullPointerException and I have seen other questions but they are from people with other programs and it does not work for my program and I want to leave here the 2,000 lines of my program so that you solve the...
asked by 08.01.2017 / 18:54
0
answers

Problem filling a combo box in java

It turns out that in a mysql database I have some registry and I need to be reflected in a java JComboBox but I can not find the error I have a class that takes care of the connection to the database and inside it I do that method 106 pub...
asked by 26.10.2018 / 07:36
1
answer

Selenium IDE and WebDriver

I have started a project of unit tests of a web. For this I have decided to use Selenium, but I have had a series of doubts and problems. Selenium IDE and the WebDriver are on the web, this second one seems to be a little abandoned, and gives...
asked by 26.10.2018 / 06:53
1
answer

Unit Test Spring Boot

I'm doing unit tests for the first time in Spring Boot. It turns out that it shows me an Error: Field cardRepository in ec.com.alquimiasoft.futgolazoback.service.CardService required a bean of type 'ec.com.alquimiasoft.futgolazoback.repository...
asked by 30.10.2018 / 17:39
0
answers

Loop with lector.hasNextInt ();

Given this code in the second iteration when an erroneous value is entered, the program loops without re-reading a value. I have tried to use "lector.nextLine ();" under "tipusValor = lector.hasNextInt ();", but then the reader is activated "num...
asked by 26.10.2018 / 18:05
1
answer

I can not get and send the data id of a combobox in JAVA pattern MVC to SQL

THIS IS MY JSP "INSERT": <% ProfesionalBE profesional = new ProfesionalBE(); profesional.setNombre(request.getParameter("nombre")); profesional.setApellido(request.getParameter("apellido")); profesional.setCorreo(request....
asked by 26.10.2018 / 23:33
0
answers

Show a Report of JasperReport (Ireport) to a user in java netbeans jsp-servlet

0 vote against Favourite you will see I have a problem, I must from a button in a jsp, send a call to a report that I have made in jasperreport before and be displayed in a pdf window to the user. I have tried several ways but it does not wor...
asked by 30.10.2018 / 05:01
2
answers

Tried POST in AndroidStudio (error 400)

I'm doing an App on Android and I need to connect to an API hosted on localhost. /** Creating Connection **/ URL serverAddress = new URL(link); HttpURLConnection connection = (HttpURLConnectio...
asked by 25.10.2018 / 12:22
6
answers

What is the solution to all present, past and future NullPointerException errors?

I have my Java program and I get a NullPointerException and I have seen other questions but they are from people with other programs and it does not work for my program and I want to leave here the 2,000 lines of my program so that you solve the...
asked by 08.01.2017 / 18:54
0
answers

How can I make JPA not generate a CLASE_PK?

Having a Question table, and having another table called answers. My problem is that when using JPA to be able to do the mapping of the tables, I create the class question and the class answers, apart from that I create an additional class th...
asked by 25.10.2018 / 02:27