IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

avec Java Discussion :

nullpointer pour le lancement d'une deuxième fenetre


Sujet :

avec Java

  1. #1
    Membre habitué
    Profil pro
    Inscrit en
    Janvier 2008
    Messages
    354
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Janvier 2008
    Messages : 354
    Points : 134
    Points
    134
    Par défaut nullpointer pour le lancement d'une deuxième fenetre
    Bonjour ,

    Je suis toujours sur mon projet de gestion de licence.
    J'ai une classe Recherche.java qui m'affiche un JComboBox dans lequel l'utilisateur sélectionne la licence qu'il veut afficher.
    Je récupere le nom de cette licence sans problème.Après je voudrais donc afficher une fenêtre qui m'affiche toutes les infos concernant la licence.
    ppour celà j'utilise une classe InfoLicence avec un constructeur à 3 arguments.

    = > Je récupère l'argument ,je fais des requêtes pour remplir les JTextField

    Mais j'obtiens un message nullPointerException,j'ai un petit doute sur le code en gras
    que pensez vous ???

    Voici un bout de la classe Recherche qui contient les combobox et qui permet de lancer les informations de licence.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
     validerRecherche.addActionListener(new ActionListener() {
                public void actionPerformed (ActionEvent e)
                {
                        JButton source = (JButton)e.getSource() ;
                    if ( source.equals(validerRecherche))
                    {
                        // Récupérer la valeur d'une liste par getSelectedItem()
                        // Retourne un Object
                      licence = jComboBox1.getSelectedItem().toString() ;
                        
                        System.out.println("Vous avez selectionné"+licence) ;
                       // Appel d'une fenetre infolicence
                        instance = new InfoLicence(Recherche.this,true,licence) ;
                        instance.setVisible(true) ;
                     }
                     }            
            }) ;
    Voici le code de ma classe InfoLicence qui affiche les informations concernant la
    licence.

    Dans cette classe je fais des requêtes pour remplir les JTextField
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
     
    public InfoLicence(javax.swing.JDialog parent, boolean modal,String s) {
            super(parent, modal);
            this.licence = s ;
            try {
                initComponents();
                // On a besoin d'un preparedStatement
     
                instance = new TestUtilPreparedStatment() ;
     
                // On fait deux requetes
                res1 = instance.afficherInfosLicence1(s);
                res2 = instance.afficherInfosLicence2(s);
     
                // Récupération des données
     
                while (res1.next()) {
                    nomLogiciel = res1.getString(1);
                    version = res1.getString(2);
                    editeur = res1.getString(3);
                    fournisseur = res1.getString(4);
                }
     
                // Parcours du résultat de la deuxième requête
                while (res2.next()) {
                    try {
                        dateFinValidite = res2.getString(1);
                        FournisseurSupport = res2.getString(2);
                        contact = res1.getString(3);
                        reference = res1.getString(4);
                    } catch (SQLException ex) {
                        Logger.getLogger(InfoLicence.class.getName()).log(Level.SEVERE, null, ex);
                    }
                }
     
                // Il ne nous reste plus qu'à écrire dans les JtextField
                nom.setText(nomLogiciel);
                editeurLogiciel.setText(editeur);
                fournisseurLogiciel.setText(fournisseur);
                fournisseurSupport.setText(FournisseurSupport);
                datefinValidite.setText(dateFinValidite);
                contactSupport.setText(contact);
                referenceSupport.setText(reference);
            } catch (SQLException ex) {
                Logger.getLogger(InfoLicence.class.getName()).log(Level.SEVERE, null, ex);
            }
     
     
        }
    Avez vous des idées à me proposer.

    Merci

  2. #2
    Membre éclairé

    Étudiant
    Inscrit en
    Octobre 2007
    Messages
    510
    Détails du profil
    Informations personnelles :
    Âge : 38

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Octobre 2007
    Messages : 510
    Points : 803
    Points
    803
    Par défaut
    bonjour,

    Ta classe recherche extends de quoi c'est une JDialog je suppose ?
    le nullPointer exception si cela vient de bien de cette ligne ne peut etre générer que par deux éléments, essaie de les afficher dans la console :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    System.out.println(Recherche.this);
    System.out.println(licence);
    juste avant ta ligne en gras et dis moi ce que tu as .
    "La seule chose dont je sois certain, c'est que je doute"
    j'ai cassé ma boule de cristal veuillez être clair et précis dans vos propos
    compilateur - 1 nayah - 0
    PS : je suis un

  3. #3
    Membre habitué
    Profil pro
    Inscrit en
    Janvier 2008
    Messages
    354
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Janvier 2008
    Messages : 354
    Points : 134
    Points
    134
    Par défaut
    Bonsoir et merci de t'intéresser à mon problème

    Ta classe recherche extends de quoi c'est une JDialog je suppose ?
    oui c'est bien cà


    essaie de les afficher dans la console :


    Code :
    System.out.println(Recherche.this);
    System.out.println(licence);juste avant ta ligne en gras et dis moi ce que tu as .
    voilà ce que j'obtiens

    Recherche[dialog0,0,0,441x342,layout=java.awt.BorderLayout,APPLICATION_MODAL,defaultCloseOperation=DISPOSE_ON_CLOSE,rootPane=javax.swing.JRootPane[,4,30,433x308,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
    et pour le deuxième system.out.println
    j'obtiens
    Logimod
    la valeur de la variable licence
    J'espère que ces indications te parlent.

    Merci d'avance

  4. #4
    Membre éclairé

    Étudiant
    Inscrit en
    Octobre 2007
    Messages
    510
    Détails du profil
    Informations personnelles :
    Âge : 38

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Octobre 2007
    Messages : 510
    Points : 803
    Points
    803
    Par défaut
    hem comment as tu décléré ta variable "instance" ? je vois bien une déclaration d'une variable instance dans ta classe InfoLicence mais rien dans ta classe Recherche.
    "La seule chose dont je sois certain, c'est que je doute"
    j'ai cassé ma boule de cristal veuillez être clair et précis dans vos propos
    compilateur - 1 nayah - 0
    PS : je suis un

  5. #5
    Membre habitué
    Profil pro
    Inscrit en
    Janvier 2008
    Messages
    354
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Janvier 2008
    Messages : 354
    Points : 134
    Points
    134
    Par défaut
    Bonjour ,

    Voilà j'ai fait plusieurs tests celà fonctionne avec le constructeur InfoLicence à deux arguments.
    Mais le problème vient du constructeur à trois arguments. Est ce que tu peux jeter un oeil sur ma classe InfoLicence et surtout sur le constructeur à trois argument c'est celui qui foire.
    Voici le code
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
     
    public class InfoLicence extends javax.swing.JDialog {
     
        // On a besoin d'une instance de TestUtilPreparedStatement pour
        // faire les requêtes
     
        TestUtilPreparedStatment instance ;
     
        // On a besoin de String pour récupérer les données 
        String licence ;
        String nomLogiciel ;
        String version ;
        String editeur ;
       String fournisseur ;
       String dateFinValidite ;
       String FournisseurSupport ;
       String contact ;
        String reference ;
        ResultSet res1 ;
        ResultSet res2 ;
        /** Creates new form InfoLicence */
     
        // Le constructeur à deux arguments
     
         public InfoLicence(javax.swing.JDialog parent, boolean modal) {
            super(parent, modal);
            initComponents();
         }
     
        public InfoLicence(javax.swing.JDialog parent, boolean modal,String licence) {
            super(parent, modal);
            initComponents();
           this.licence = licence ;
            try {
     
                // On a besoin d'un preparedStatement
     
                instance = new TestUtilPreparedStatment() ;
     
                // On fait deux requetes
                res1 = instance.afficherInfosLicence1(licence);
                res2 = instance.afficherInfosLicence2(licence);
     
                // Récupération des données
     
                while (res1.next()) {
                    nomLogiciel = res1.getString(1);
                    version = res1.getString(2);
                    editeur = res1.getString(3);
                    fournisseur = res1.getString(4);
                }
     
                // Parcours du résultat de la deuxième requête
                while (res2.next()) {
     
                        dateFinValidite = res2.getString(1);
                        FournisseurSupport = res2.getString(2);
                        contact = res1.getString(3);
                        reference = res1.getString(4);
                }     // Fin du while
     
     
     
                // Il ne nous reste plus qu'à écrire dans les JtextField
                nom.setText(nomLogiciel);
                editeurLogiciel.setText(editeur);
                fournisseurLogiciel.setText(fournisseur);
                fournisseurSupport.setText(FournisseurSupport);
                datefinValidite.setText(dateFinValidite);
                contactSupport.setText(contact);
                referenceSupport.setText(reference);
            } catch (SQLException ex) {
                Logger.getLogger(InfoLicence.class.getName()).log(Level.SEVERE, null, ex);
            }
     
     
        }
     
     
      /*  private InfoLicence(JFrame jFrame, boolean b) {
            throw new UnsupportedOperationException("Not yet implemented");
        } */
     
      //  private InfoLicence(JFrame jFrame, boolean b) {
      //      throw new UnsupportedOperationException("Not yet implemented");
      //  }
     
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
         */
        // <editor-fold defaultstate="collapsed" desc="Generated Code">                          
        private void initComponents() {
     
            jLabel1 = new javax.swing.JLabel();
            jLabel2 = new javax.swing.JLabel();
            jLabel3 = new javax.swing.JLabel();
            jLabel4 = new javax.swing.JLabel();
            jLabel5 = new javax.swing.JLabel();
            jLabel6 = new javax.swing.JLabel();
            jLabel7 = new javax.swing.JLabel();
            nom = new javax.swing.JTextField();
            editeurLogiciel = new javax.swing.JTextField();
            fournisseurLogiciel = new javax.swing.JTextField();
            datefinValidite = new javax.swing.JTextField();
            fournisseurSupport = new javax.swing.JTextField();
            contactSupport = new javax.swing.JTextField();
            referenceSupport = new javax.swing.JTextField();
            jButton1 = new javax.swing.JButton();
     
            setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
     
            jLabel1.setText("Nom du logiciel");
     
            jLabel2.setText("Editeur");
     
            jLabel3.setText("Fourniseur");
     
            jLabel4.setText("Fin de validité du support");
     
            jLabel5.setText("Fournisseur support");
     
            jLabel6.setText("Contact");
     
            jLabel7.setText("Référence à donner");
     
            nom.setColumns(15);
     
            editeurLogiciel.setColumns(15);
     
            fournisseurLogiciel.setColumns(15);
     
            datefinValidite.setColumns(15);
     
            fournisseurSupport.setColumns(15);
     
            contactSupport.setColumns(15);
     
            referenceSupport.setColumns(15);
     
            jButton1.setText("Ok");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
                }
            });
     
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createSequentialGroup()
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addGroup(layout.createSequentialGroup()
                                    .addComponent(jLabel7)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(referenceSupport, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGroup(layout.createSequentialGroup()
                                    .addComponent(jLabel6)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(contactSupport, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGroup(layout.createSequentialGroup()
                                    .addGap(10, 10, 10)
                                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                            .addComponent(jLabel2)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                            .addComponent(editeurLogiciel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                            .addComponent(jLabel1)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                            .addComponent(nom, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addGroup(layout.createSequentialGroup()
                                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addComponent(jLabel3)
                                                .addComponent(jLabel4)
                                                .addComponent(jLabel5))
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 29, Short.MAX_VALUE)
                                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                                .addComponent(fournisseurSupport, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addComponent(datefinValidite, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addComponent(fournisseurLogiciel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))))
                            .addContainerGap(104, Short.MAX_VALUE))
                        .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                            .addComponent(jButton1)
                            .addGap(130, 130, 130))))
            );
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(23, 23, 23)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel1)
                        .addComponent(nom, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(13, 13, 13)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel2)
                        .addComponent(editeurLogiciel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(12, 12, 12)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel3)
                        .addComponent(fournisseurLogiciel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel4)
                        .addComponent(datefinValidite, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(18, 18, 18)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 17, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(fournisseurSupport, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(18, 18, 18)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel6)
                        .addComponent(contactSupport, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(18, 18, 18)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel7)
                        .addComponent(referenceSupport, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(18, 18, 18)
                    .addComponent(jButton1)
                    .addContainerGap(15, Short.MAX_VALUE))
            );
     
            pack();
        }// </editor-fold>                        
     
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                         
            // TODO add your handling code here:
        }                                        
     
        /**
         * @param args the command line arguments
         */
    /*    public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    InfoLicence dialog = new InfoLicence(new javax.swing.JDialog(), true);
                    dialog.addWindowListener(new java.awt.event.WindowAdapter() {
                        public void windowClosing(java.awt.event.WindowEvent e) {
                            System.exit(0);
                        }
                    });
                    dialog.setVisible(true);
                }
            });
        }*/
     
        // Variables declaration - do not modify                     
        private javax.swing.JTextField contactSupport;
        private javax.swing.JTextField datefinValidite;
        private javax.swing.JTextField editeurLogiciel;
        private javax.swing.JTextField fournisseurLogiciel;
        private javax.swing.JTextField fournisseurSupport;
        private javax.swing.JButton jButton1;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JLabel jLabel3;
        private javax.swing.JLabel jLabel4;
        private javax.swing.JLabel jLabel5;
        private javax.swing.JLabel jLabel6;
        private javax.swing.JLabel jLabel7;
        private javax.swing.JTextField nom;
        private javax.swing.JTextField referenceSupport;
        // End of variables declaration                   
     
        // classe de test
       public static void main (String []argv)
        {
         //   InfoLicence instance = new InfoLicence (this,true,"logiciel1") ;
        }
    }

  6. #6
    Membre éclairé

    Étudiant
    Inscrit en
    Octobre 2007
    Messages
    510
    Détails du profil
    Informations personnelles :
    Âge : 38

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Octobre 2007
    Messages : 510
    Points : 803
    Points
    803
    Par défaut
    bon qu'est ce que c'est que ca : "TestUtilPreparedStatment() "?
    "La seule chose dont je sois certain, c'est que je doute"
    j'ai cassé ma boule de cristal veuillez être clair et précis dans vos propos
    compilateur - 1 nayah - 0
    PS : je suis un

  7. #7
    Membre habitué
    Profil pro
    Inscrit en
    Janvier 2008
    Messages
    354
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Janvier 2008
    Messages : 354
    Points : 134
    Points
    134
    Par défaut
    Merci beaucoup Nayah mon problème venait bien de la classe TestUtilPreparedStatement qui me servait à faire les requetes.
    J'ai réussi à trouver l'erreur à coup de System.out.println .

    Merci beaucoup et surement à bientôt pour d'autres problèmes.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. afficher une deuxiéme fenetre
    Par ami137 dans le forum C#
    Réponses: 4
    Dernier message: 01/04/2011, 09h47
  2. Réponses: 11
    Dernier message: 24/03/2011, 18h30
  3. Réponses: 12
    Dernier message: 14/07/2009, 17h34
  4. Impersonification pour le lancement d'une commande
    Par yridwenn dans le forum Windows Forms
    Réponses: 0
    Dernier message: 06/07/2009, 15h06
  5. script shell pour le lancement d'une appliction
    Par aymen83 dans le forum Shell et commandes GNU
    Réponses: 14
    Dernier message: 26/12/2008, 15h01

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo