Bonjour,
Quelqu'un pourrait-il m'expliquer lire ce type d'erreur, la lecture et où se situe l'erreur?
Merci d'avance
Habiler
Pièce jointe 258834
Version imprimable
Bonjour,
Quelqu'un pourrait-il m'expliquer lire ce type d'erreur, la lecture et où se situe l'erreur?
Merci d'avance
Habiler
Pièce jointe 258834
Salut,
Tout ce que tu nous montres c'est la représentation String d'un MouseEvent ! Qu'est-ce que tu veux qu'on fasse de ça ? Montre-nous une stacktrace de l'exception et le code correspondant (en précisant bien la ligne où ça se passe).
J'ai bidouillé un truc quelque part mais ne sais où.
Cela fonctionnait avant.
Merci
Habiler
Code:
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 Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at java.util.Calendar.setTime(Calendar.java:1770) at decisions.AddDecisionsJFrame1$1.propertyChange(AddDecisionsJFrame1.java:74) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) at java.awt.Component.firePropertyChange(Component.java:8428) at javax.swing.JComponent.removeNotify(JComponent.java:4762) at java.awt.Container.removeNotify(Container.java:2804) at javax.swing.JComponent.removeNotify(JComponent.java:4758) at java.awt.Container.removeNotify(Container.java:2804) at javax.swing.JComponent.removeNotify(JComponent.java:4758) at java.awt.Container.removeNotify(Container.java:2804) at javax.swing.JComponent.removeNotify(JComponent.java:4758) at javax.swing.JRootPane.removeNotify(JRootPane.java:765) at java.awt.Container.removeNotify(Container.java:2804) at java.awt.Window.removeNotify(Window.java:782) at java.awt.Frame.removeNotify(Frame.java:1041) at java.awt.Window$1DisposeAction.run(Window.java:1190) at java.awt.Window.doDispose(Window.java:1206) at java.awt.Window.dispose(Window.java:1147) at javax.swing.JFrame.processWindowEvent(JFrame.java:313) at java.awt.Window.processEvent(Window.java:2013) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Tu dois passer null à la méthode setTime de Calendar, et il n'aime pas. Mais pas de code...