muhammadnaveed / syncnotes2google

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

Receive java.lang.NoSuchMethodError when running syncnotes2google.bat #35

Closed GoogleCodeExporter closed 9 years ago

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

What is the expected output? What do you see instead?
C:\Programs\syncnotes2google>syncnotes2google.bat
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)

What version of the product are you using? On what operating system?
JVM 1.5.0_14
Notes 6.5.4
Windows XP Pro SP3

Please provide any additional information below.

Original issue reported on code.google.com by 1jea...@gmail.com on 2 Apr 2010 at 3:12

GoogleCodeExporter commented 9 years ago
syncnotes2google version is 0.0.4

Original comment by 1jea...@gmail.com on 2 Apr 2010 at 3:15

GoogleCodeExporter commented 9 years ago
java.lang.String.isEmpty() was added for Java 6. I thought syncnotes2google 
would 
run with Java 5. I downloaded the src, updated the code and built it with Java 
5 and 
it seems to run ok for me now. Are you planning to replace the 
java.lang.String.isEmpty() methods with length()==0 so it will run with Java 5?

Original comment by 1jea...@gmail.com on 5 Apr 2010 at 5:21

GoogleCodeExporter commented 9 years ago

Original comment by henols on 8 Apr 2010 at 11:41