The function is:
public Integer[] details;
private void putDetails(Integer l){
if (l != null){
int n = new Integer(0);
n = details[l];
details[l]=n+1;
}
}
The error message say:
java.lang.NullPointerException
at operacional.an_lex.putDetails(an_lex.java:30)
where the line 30 is : n = details[l];
Can you help me?