pydio / pydio-sync-java

[DEPRECATED] Synchronization Client of the Pydio project. Based on the Java SDK.
GNU General Public License v3.0
35 stars 15 forks source link

Crash of Windows Sync client 0.8.3 while uploading #27

Closed Jackson90 closed 11 years ago

Jackson90 commented 11 years ago

The "ajxp_errors.out":

2440340 [AjaXplorerScheduler_Worker-1] ERROR root - Synchro java.lang.Exception: Empty Http response at info.ajaxplorer.client.http.RestRequest.getStringContent(RestRequest.java:391) at info.ajaxplorer.synchro.SyncJob.synchronousUP(SyncJob.java:1292) at info.ajaxplorer.synchro.SyncJob.applyChanges(SyncJob.java:590) at info.ajaxplorer.synchro.SyncJob.run(SyncJob.java:350) at info.ajaxplorer.synchro.SyncJob.execute(SyncJob.java:163) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 2441790 [AjaXplorerScheduler_Worker-1] ERROR root - Synchro java.lang.NullPointerException at info.ajaxplorer.client.http.RestRequest.getNotConsumedResponseEntity(RestRequest.java:432) at info.ajaxplorer.synchro.SyncJob.uriContentToFile(SyncJob.java:1365) at info.ajaxplorer.synchro.SyncJob.synchronousUP(SyncJob.java:1222) at info.ajaxplorer.synchro.SyncJob.applyChanges(SyncJob.java:590) at info.ajaxplorer.synchro.SyncJob.run(SyncJob.java:350) at info.ajaxplorer.synchro.SyncJob.execute(SyncJob.java:163) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 6042053 [AjaXplorerScheduler_Worker-1] ERROR root - Synchro java.lang.NullPointerException at info.ajaxplorer.client.http.RestRequest.getNotConsumedResponseEntity(RestRequest.java:432) at info.ajaxplorer.synchro.SyncJob.uriContentToFile(SyncJob.java:1365) at info.ajaxplorer.synchro.SyncJob.synchronousUP(SyncJob.java:1222) at info.ajaxplorer.synchro.SyncJob.applyChanges(SyncJob.java:590) at info.ajaxplorer.synchro.SyncJob.run(SyncJob.java:350) at info.ajaxplorer.synchro.SyncJob.execute(SyncJob.java:163) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 9008958 [AjaXplorerScheduler_Worker-1] ERROR org.quartz.core.JobRunShell - Job sync.2 threw an unhandled Exception: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Unknown Source) at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source) at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source) at java.lang.AbstractStringBuilder.append(Unknown Source) at java.lang.StringBuffer.append(Unknown Source) at java.lang.StringBuffer.append(Unknown Source) at java.util.regex.Matcher.appendReplacement(Unknown Source) at java.util.regex.Matcher.replaceAll(Unknown Source) at java.lang.String.replace(Unknown Source) at info.ajaxplorer.synchro.SyncJob.listDirRecursive(SyncJob.java:1016) at info.ajaxplorer.synchro.SyncJob.listDirRecursive(SyncJob.java:1021) at info.ajaxplorer.synchro.SyncJob.listDirRecursive(SyncJob.java:1021) at info.ajaxplorer.synchro.SyncJob.listDirRecursive(SyncJob.java:1021) at info.ajaxplorer.synchro.SyncJob$4.call(SyncJob.java:961) at info.ajaxplorer.synchro.SyncJob$4.call(SyncJob.java:1) at com.j256.ormlite.stmt.StatementExecutor.callBatchTasks(StatementExecutor.java:464) at com.j256.ormlite.dao.BaseDaoImpl.callBatchTasks(BaseDaoImpl.java:598) at info.ajaxplorer.synchro.SyncJob.takeLocalSnapshot(SyncJob.java:956) at info.ajaxplorer.synchro.SyncJob.loadLocalChanges(SyncJob.java:975) at info.ajaxplorer.synchro.SyncJob.run(SyncJob.java:307) at info.ajaxplorer.synchro.SyncJob.execute(SyncJob.java:163) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 9009036 [AjaXplorerScheduler_Worker-1] ERROR org.quartz.core.ErrorLogger - Job (sync.2 threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Java heap space] at org.quartz.core.JobRunShell.run(JobRunShell.java:224) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) Caused by: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Unknown Source) at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source) at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source) at java.lang.AbstractStringBuilder.append(Unknown Source) at java.lang.StringBuffer.append(Unknown Source) at java.lang.StringBuffer.append(Unknown Source) at java.util.regex.Matcher.appendReplacement(Unknown Source) at java.util.regex.Matcher.replaceAll(Unknown Source) at java.lang.String.replace(Unknown Source) at info.ajaxplorer.synchro.SyncJob.listDirRecursive(SyncJob.java:1016) at info.ajaxplorer.synchro.SyncJob.listDirRecursive(SyncJob.java:1021) at info.ajaxplorer.synchro.SyncJob.listDirRecursive(SyncJob.java:1021) at info.ajaxplorer.synchro.SyncJob.listDirRecursive(SyncJob.java:1021) at info.ajaxplorer.synchro.SyncJob$4.call(SyncJob.java:961) at info.ajaxplorer.synchro.SyncJob$4.call(SyncJob.java:1) at com.j256.ormlite.stmt.StatementExecutor.callBatchTasks(StatementExecutor.java:464) at com.j256.ormlite.dao.BaseDaoImpl.callBatchTasks(BaseDaoImpl.java:598) at info.ajaxplorer.synchro.SyncJob.takeLocalSnapshot(SyncJob.java:956) at info.ajaxplorer.synchro.SyncJob.loadLocalChanges(SyncJob.java:975) at info.ajaxplorer.synchro.SyncJob.run(SyncJob.java:307) at info.ajaxplorer.synchro.SyncJob.execute(SyncJob.java:163) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) ... 1 more 9062248 [AjaXplorerScheduler_Worker-1] ERROR org.quartz.core.JobRunShell - Job sync.2 threw an unhandled Exception: java.lang.OutOfMemoryError: Java heap space at java.util.regex.Pattern.compile(Unknown Source) at java.util.regex.Pattern.<init>(Unknown Source) at java.util.regex.Pattern.compile(Unknown Source) at java.lang.String.replace(Unknown Source) at info.ajaxplorer.synchro.SyncJob.listDirRecursive(SyncJob.java:1016) at info.ajaxplorer.synchro.SyncJob.listDirRecursive(SyncJob.java:1021) at info.ajaxplorer.synchro.SyncJob.listDirRecursive(SyncJob.java:1021) at info.ajaxplorer.synchro.SyncJob.listDirRecursive(SyncJob.java:1021) at info.ajaxplorer.synchro.SyncJob$4.call(SyncJob.java:961) at info.ajaxplorer.synchro.SyncJob$4.call(SyncJob.java:1) at com.j256.ormlite.stmt.StatementExecutor.callBatchTasks(StatementExecutor.java:464) at com.j256.ormlite.dao.BaseDaoImpl.callBatchTasks(BaseDaoImpl.java:598) at info.ajaxplorer.synchro.SyncJob.takeLocalSnapshot(SyncJob.java:956) at info.ajaxplorer.synchro.SyncJob.loadLocalChanges(SyncJob.java:975) at info.ajaxplorer.synchro.SyncJob.run(SyncJob.java:307) at info.ajaxplorer.synchro.SyncJob.execute(SyncJob.java:163) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 9062248 [AjaXplorerScheduler_Worker-1] ERROR org.quartz.core.ErrorLogger - Job (sync.2 threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Java heap space] at org.quartz.core.JobRunShell.run(JobRunShell.java:224) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) Caused by: java.lang.OutOfMemoryError: Java heap space at java.util.regex.Pattern.compile(Unknown Source) at java.util.regex.Pattern.<init>(Unknown Source) at java.util.regex.Pattern.compile(Unknown Source) at java.lang.String.replace(Unknown Source) at info.ajaxplorer.synchro.SyncJob.listDirRecursive(SyncJob.java:1016) at info.ajaxplorer.synchro.SyncJob.listDirRecursive(SyncJob.java:1021) at info.ajaxplorer.synchro.SyncJob.listDirRecursive(SyncJob.java:1021) at info.ajaxplorer.synchro.SyncJob.listDirRecursive(SyncJob.java:1021) at info.ajaxplorer.synchro.SyncJob$4.call(SyncJob.java:961) at info.ajaxplorer.synchro.SyncJob$4.call(SyncJob.java:1) at com.j256.ormlite.stmt.StatementExecutor.callBatchTasks(StatementExecutor.java:464) at com.j256.ormlite.dao.BaseDaoImpl.callBatchTasks(BaseDaoImpl.java:598) at info.ajaxplorer.synchro.SyncJob.takeLocalSnapshot(SyncJob.java:956) at info.ajaxplorer.synchro.SyncJob.loadLocalChanges(SyncJob.java:975) at info.ajaxplorer.synchro.SyncJob.run(SyncJob.java:307) at info.ajaxplorer.synchro.SyncJob.execute(SyncJob.java:163) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) ... 1 more 9115491 [AjaXplorerScheduler_Worker-1] ERROR org.quartz.core.JobRunShell - Job sync.2 threw an unhandled Exception: java.lang.OutOfMemoryError: Java heap space 9115491 [AjaXplorerScheduler_Worker-1] ERROR org.quartz.core.ErrorLogger - Job (sync.2 threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Java heap space] at org.quartz.core.JobRunShell.run(JobRunShell.java:224) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) Caused by: java.lang.OutOfMemoryError: Java heap space 9170028 [AjaXplorerScheduler_Worker-1] ERROR org.quartz.core.JobRunShell - Job sync.2 threw an unhandled Exception: java.lang.OutOfMemoryError: Java heap space 9170028 [AjaXplorerScheduler_Worker-1] ERROR org.quartz.core.ErrorLogger - Job (sync.2 threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Java heap space] at org.quartz.core.JobRunShell.run(JobRunShell.java:224) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) Caused by: java.lang.OutOfMemoryError: Java heap space 9216002 [AjaXplorerScheduler_Worker-1] ERROR org.quartz.core.JobRunShell - Job sync.2 threw an unhandled Exception: java.lang.OutOfMemoryError: Java heap space 9216002 [AjaXplorerScheduler_Worker-1] ERROR org.quartz.core.ErrorLogger - Job (sync.2 threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Java heap space] at org.quartz.core.JobRunShell.run(JobRunShell.java:224) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) Caused by: java.lang.OutOfMemoryError: Java heap space 9227780 [AjaXplorerScheduler_Worker-1] ERROR org.quartz.core.JobRunShell - Job sync.2 threw an unhandled Exception: java.lang.OutOfMemoryError: Java heap space 9227780 [AjaXplorerScheduler_Worker-1] ERROR org.quartz.core.ErrorLogger - Job (sync.2 threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Java heap space] at org.quartz.core.JobRunShell.run(JobRunShell.java:224) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) Caused by: java.lang.OutOfMemoryError: Java heap space 9281849 [AjaXplorerScheduler_Worker-1] ERROR org.quartz.core.JobRunShell - Job sync.2 threw an unhandled Exception: java.lang.OutOfMemoryError: Java heap space 9281849 [AjaXplorerScheduler_Worker-1] ERROR org.quartz.core.ErrorLogger - Job (sync.2 threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Java heap space] at org.quartz.core.JobRunShell.run(JobRunShell.java:224) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) Caused by: java.lang.OutOfMemoryError: Java heap space

cdujeu commented 11 years ago

OutOfMemory error, we have to change the .ini default values to let the java process gain more memory (see AjaXplorerSynchronizer.ini in the program folder, change -Xmx16m to -Xmx32m and relaunch.