When creating a new TableModel, method getRowCount is called before constructor

Bug #132345 reported by Dany
2
Affects Status Importance Assigned to Milestone
sun-java6 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

It is working #1 with my Windows computer so this problem seems to be related to Ubuntu's java version only.

When I'm creating a new TableModel
// Global variable
private TableModel tm_departement = null;

// In my methods
tm_departement = new FormatModel(2, "departement", trace);

Instead of going in the constructor, it goes directly to a method called getRowCount (inherited from AbstractTableModel). getRowCount exists but since my variables are not initialized I got some null pointer exception.

Revision history for this message
Dany (dany-darkstorm) wrote :

I'm doing with Netbeans 5.5

Revision history for this message
Dany (dany-darkstorm) wrote :

Please close this ticket. I found the problem. My fault. I'm very sorry.

Matthias Klose (doko)
Changed in sun-java6:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.