Bonjour,

je suis débutant dans Lotus Notes,
Je dois développer un petit client java qui serait en mesure de récupérer des données d'une vue bien précise (la 49 comme vous le verrez) mais là je bloque


Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
Session s =  NotesFactory.createSession((String)null,(String)null,pwd);
DbDirectory Dir = s.getDbDirectory("**");
Database db = Dir.openDatabase("**.nsf");
Vector vViews = db.getViews();
View v = (View)vViews.get(49);
ViewEntryCollection vec =  v.getAllEntries();
la dernière ligne me provoque le message suivant

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
Thread=[10F0:0002-136C]
Stack base=0x02F1F290, Stack size = 676 bytes
PANIC: LookupHandle: null handle
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6018eb23, pid=4336, tid=4972
#
# JRE version: 6.0_32-b03
# Java VM: Java HotSpot(TM) Client VM (20.7-b02 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [nnotes.dll+0x18eb23]
#
# An error report file with more information is saved as:
# C:\Documents and Settings\a524570\workspace\ConTest\hs_err_pid4336.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


merci d'avance