I get the error java.lang.NullPointerException, but I do not understand why, when I put the static method I did not get the error but I did not increase the% equally, I do not understand what the error is if it is the initialization or some...
I am trying to execute an update query to a database with hibernate but it turns out that it shows me the following transaction exception and does not update me. I'm working with jboss, hibernate.
I've tried to follow up with transaction, begin,...
Good I have a doubt about how I see that sometimes they declare variables in a way that I never saw, that is, I am used to declare variables of type: int , String , double , long , char , float , etc.
But I d...
I'm new to Android and I'm trying to make a 9x9 table that is full of TextViews in each cell.
And I want to put numbers from an array with a setText () in each TextView.
The problem is that I do not know how to make the TextView id automatic....
I have a problem with java and Mysql, I'm doing a web application with java in jsp, On a page I have the method that shows me a list of records in a table with a button to show the detail of each record, The detail I show it in a modal window cr...
I am developing an API Rest with Jersey and
I am using JAXB and with the annotation @XmlRootElement
@XmlRootElement
public class Car {
private int idCar;
private String model;
private String color;
public Car() {
}...
Many greetings to all.
If someone can guide me.
I am developing a module and where alerts are launched by certain criteria.
The alerts are notified by sending emails, without problems.
At this stage the necessity arises that by means of...
I will comment on the problem I have. I have a ComboBox in Java which is connected to a BD (Mysql). The ComboBox loads perfectly the data of the BD, in this case the name of some users. However, when I programmed the 'Save' button I do not know...
I would like to know how to compare the chars of the strings to know how many chars coincide regardless of their position. I'm doing this but it's out of my hands, I do not get the length I should.
/* Panel mostrará los caracteres de "...
I'm working with JasperReport from your IReport plugin.
I have already designed all my form from this plugin but at the moment of running my application it gives me the following exception:
Exception in thread "AWT-EventQueue-0" java.la...