Bonjour,
Lors d'un acces à une base de données dbase, Java effectue la lecture partielle. Arrivé à un enregistement il m'affiche cette erreur :
Est ce que qqun pourrait m'aider
Merci

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
        while (_dbfreader2.hasNextRecord()) {
 
            Object line[] = _dbfreader2.nextRecord(Charset.forName("GBK"));
        }
        /*  //
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
mars 18, 2015 4:01:00 PM sofiex.Forms.SofiexMainForm LoadButtonActionPerformed
SEVERE: null
com.hexiong.jdbf.JDBFException: For input string: "."
java.lang.NumberFormatException: For input string: "."
	at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1241)
	at java.lang.Double.valueOf(Double.java:504)
	at java.lang.Double.<init>(Double.java:597)
	at com.hexiong.jdbf.JDBField.parse(JDBField.java:235)
	at com.hexiong.jdbf.DBFReader.nextRecord(DBFReader.java:254)
	at sofiex.Infrastructure.DBFGateway.dbf2_in_arraylist(DBFGateway.java:202)
	at sofiex.Infrastructure.DBFGateway.Load(DBFGateway.java:92)
	at sofiex.Forms.SofiexMainForm.LoadButtonActionPerformed(SofiexMainForm.java:153)
	at sofiex.Forms.SofiexMainForm.access$100(SofiexMainForm.java:41)
	at sofiex.Forms.SofiexMainForm$2.actionPerformed(SofiexMainForm.java:90)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
	at java.awt.Component.processMouseEvent(Component.java:6505)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
	at java.awt.Component.processEvent(Component.java:6270)
	at java.awt.Container.processEvent(Container.java:2229)
	at java.awt.Component.dispatchEventImpl(Component.java:4861)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Component.dispatchEvent(Component.java:4687)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
	at java.awt.Container.dispatchEventImpl(Container.java:2273)
	at java.awt.Window.dispatchEventImpl(Window.java:2719)
	at java.awt.Component.dispatchEvent(Component.java:4687)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:694)
	at java.awt.EventQueue$3.run(EventQueue.java:692)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.awt.EventQueue$4.run(EventQueue.java:708)
	at java.awt.EventQueue$4.run(EventQueue.java:706)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
 
BUILD STOPPED (total time: 3 minutes 41 seconds)