muhammadnaveed / syncnotes2google

Automatically exported from code.google.com/p/syncnotes2google
0 stars 0 forks source link

Invalid access to memory location XxXXXXXX / Cannot find database NULL #59

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This started occurring when I upgradet from 4GB to 8GB RAM. I get two 
alternating error messages: (Every three or four times I run the script, 
everything is fine)

Start notes-to-google to google-to-notes 
synchronization.de.bea.domingo.service.NotesServiceException: User 
CN=Christopher Conradi/OU=Norway/O=IBM cannot find database 
null!!/Users/chris/Library/Application Support/Lotus Notes 
Data/mail04/NO020970.NSF 
    at de.bea.domingo.service.NotesServiceFactory.invoke(NotesServiceFactory.java:384)
    at de.bea.domingo.service.NotesInvocationHandler.invoke(NotesInvocationHandler.java:87)
    at $Proxy0.getDatabase(Unknown Source)
    at com.googlecode.syncnotes2google.Factory.getMailDatabase(Factory.java:102)
(....etc....)

and the other alternating error message:

Start notes-to-google to google-to-notes synchronization.
Invalid memory access of location 0x26 eip=0x9388603e

/Applications/NotesUtilities/syncnotes2google.sh.command: line 27: 32935 Bus 
error               java -d32 -Djava.library.path=${NOTES_HOME} -classpath 
${CLASS_PATH} com.googlecode.syncnotes2google.SyncNotes2Google
logout

I cannot seem to figure our what conditions makes the script crash or run. It 
does seem it helps to close Notes. (but not always)

I am guessing it has something to do with running the script with more than 4GB 
RAM. If the thread happens to end up >4GB it crashes. This is just a guess 
though.

Running on Mac OS X v10.6.4 with Java v10.6

Original issue reported on code.google.com by chriscon...@gmail.com on 23 Jun 2010 at 7:19

GoogleCodeExporter commented 9 years ago
Just realized something. It prompts me with a password every time I run the 
program. When it crashes, I cannot type anything in the text input field. It 
just hangs.

However, when the program doesn't crash and I get password prompted, if I click 
cancel, I get the same error output:

de.bea.domingo.service.NotesServiceException: User CN=Christopher 
Conradi/OU=Norway/O=IBM cannot find database 
null!!/Users/chris/Library/Application Support/Lotus Notes 
Data/mail04/NO020970.NSF 
    at de.bea.domingo.service.NotesServiceFactory.invoke(NotesServiceFactory.java:384)
    at de.bea.domingo.service.NotesInvocationHandler.invoke(NotesInvocationHandler.java:87)
    at $Proxy0.getDatabase(Unknown Source)
    at com.googlecode.syncnotes2google.Factory.getMailDatabase(Factory.java:102)
    at com.googlecode.syncnotes2google.dao.NotesCalendarDAO.getFirstEntry(NotesCalendarDAO.java:39)
    at com.googlecode.syncnotes2google.SyncService.executeSync(SyncService.java:14)
    at com.googlecode.syncnotes2google.SyncNotes2Google.main(SyncNotes2Google.java:23)
Caused by: de.bea.domingo.proxy.NotesProxyException: User CN=Christopher 
Conradi/OU=Norway/O=IBM cannot find database 
null!!/Users/chris/Library/Application Support/Lotus Notes 
Data/mail04/NO020970.NSF 
    at de.bea.domingo.proxy.SessionProxy.getDatabaseIntern(SessionProxy.java:258)
    at de.bea.domingo.proxy.SessionProxy.getDatabase(SessionProxy.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at de.bea.domingo.service.InvocationTask.run(InvocationTask.java:102)
    at de.bea.domingo.threadpool.SimpleThreadPool.run(SimpleThreadPool.java:369)
    at de.bea.domingo.proxy.DNotesThread.run(DNotesThread.java:244)
logout

Don't know if this means anything, just thought I'd share it...

Original comment by chriscon...@gmail.com on 23 Jun 2010 at 7:39

GoogleCodeExporter commented 9 years ago
have the same problem - after the very first run that surprisingly was 
successful, I did not manage to run it again neither with Notes running nor 
without; Notes and Systems restarts do not work.
Any ideas?

btw - I checked all files, permissions, statuses, etc ... it seems OK.

One more thing - I am just verifying whether the mailfile size matters 
(currently it is over 600M)

A.

Original comment by beko...@gmail.com on 3 Jan 2011 at 1:33

GoogleCodeExporter commented 9 years ago
I had the same issue with a different application, also a crash after the 
second run/search of the Notes database. I figured out that it only crashed 
when the database was not full-text indexed. After a full-text index of that 
database it stopped crashing. Hope this helps.

Original comment by fbernh...@gmail.com on 16 May 2012 at 6:16