muhammadnaveed / syncnotes2google

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

Java Exception Error #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run syncnotes2google.bat
2.
3.

What is the expected output? What do you see instead?
Looks like the process was started OK, but stops with a Java error

What version of the product are you using? On what operating system?
Windows XP Pro ver 2002 SP3, Notes release 7.0.3

Please provide any additional information below.

Here's the syncnotes2google.bat file:

@echo off
rem The path to the notes installation
set notes-path=C:\Program Files\Notes
rem The relative path to the Notes.jar from the notes installation. ex. 
Notes.jar or jvm/lib/ext/Notes.jar
set notes-jar=jvm\lib\ext\notes.jar
set cPath=%CLASSPATH%;.\syncnotes2google.jar
set cPath=%cPath%;%notes-path%\%notes-jar%
set cPath=%cPath%;.\lib\domingo-1.5.1.jar
set cPath=%cPath%;.\lib\gdata-calendar-2.0.jar
set cPath=%cPath%;.\lib\gdata-calendar-meta-2.0.jar
set cPath=%cPath%;.\lib\gdata-client-1.0.jar
set cPath=%cPath%;.\lib\gdata-client-meta-1.0.jar
set cPath=%cPath%;.\lib\gdata-core-1.0.jar
set cPath=%cPath%;.\lib\gdata-media-1.0.jar
set cPath=%cPath%;.\lib\google-collect-1.0-rc1.jar
set path=%path%;%notes-path%
pause
@echo on
java -classpath "%cPath%" com.googlecode.syncnotes2google.SyncNotes2Google
pause

Here's the output from the DOS window:

C:\syncnotes2google>syncnotes2google
Press any key to continue . . .

C:\syncnotes2google>java -classpath "C:\progra~1\OCS-12_0\jConnect-5_2
\classes\jconn2.jar;.;C:\Program Files\IBM\SQLLIB\java\db2java.zip;
C:\Program Files\IBM\SQLLIB\java\db2jcc.jar;C:\Program 
Files\IBM\SQLLIB\java\db2jcc_license_cisuz.jar;C:\Program 
Files\IBM\SQLLIB\java\db
2jcc_license_cu.jar;C:\Program Files\IBM\SQLLIB\BIN\;C:\Program 
Files\IBM\SQLLIB\java\Common.jar;C:\Program Files\Java\jre1.5.0_15\lib\ex
t\QTJava.zip;.\syncnotes2google.jar;C:\Program 
Files\Notes\jvm\lib\ext\notes.jar;.\lib\domingo-1.5.1.jar;.\lib\gdata-
calendar-2.0.jar;.\l
ib\gdata-calendar-meta-2.0.jar;.\lib\gdata-client-1.0.jar;.\lib\gdata-
client-meta-1.0.jar;.\lib\gdata-core-1.0.jar;.\lib\gdata-media-1.0.
jar;.\lib\google-collect-1.0-rc1.jar" 
com.googlecode.syncnotes2google.SyncNotes2Google

SyncNotes2Google has started.
Start notes-to-google to google-to-notes synchronization.

Exception in thread "main" java.lang.NoSuchMethodError: 
java.lang.String.isEmpty()Z
        at com.googlecode.syncnotes2google.dao.NotesCalendarDAO.convDoc
(NotesCalendarDAO.java:240)
        at 
com.googlecode.syncnotes2google.dao.NotesCalendarDAO.getFirstEntry
(NotesCalendarDAO.java:74)
        at com.googlecode.syncnotes2google.SyncService.executeSync
(SyncService.java:14)
        at com.googlecode.syncnotes2google.SyncNotes2Google.main
(SyncNotes2Google.java:23)

C:\syncnotes2google>pause
Press any key to continue . . .

C:\syncnotes2google>

Original issue reported on code.google.com by SLClar...@gmail.com on 18 Apr 2010 at 4:18

GoogleCodeExporter commented 9 years ago
What version do You have of syncnotes2google?
I guesse its 0.0.4 then try 0.0.5.

Original comment by henols on 19 Apr 2010 at 1:41