vendredi 18 novembre 2016

Null Pointer Exception

vendredi 18 novembre 2016
Ich habe folgendes Problem bei Ausführung der Methode "Anmeldung". Mir erscheint jedesmal
die Null Pointer Exception. Der Debugger sagt mir auch, dass die Variable bankomatkonto nicht zugewiesen ist. Jedoch wurde sie ja im Konstruktor initialisiert.
Kann mir jemand sagen, wie ich diese Fehlermeldung rausbekomme?

Code (Text):
public class Bankomat
{
    private Konto bankomatkonto;
    private double tageslimit;
    private boolean login;
    /**
     * Konstruktor für Objekte der Klasse Bankomat...
Null Pointer Exception

Null Pointer Exception

0 commentaires:

Enregistrer un commentaire

 
◄Design by Pocket