java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • In my application I define a Job with a step, during the start of job occurs this exception: [7/19/10 20:00:02:849 CEST] 000000bc SystemErr R log4j:ERROR Failed to write [[2010-07-19 20:00:02,848], INFO,org.springframework.batch.core.launch.support.SimpleJobLauncher,user[],sessionid[], Job: [FlowJob: [name=racoBalanceJob]] failed unexpectedly and fatally with the following parameters: [{message=racoBalanceJob, currTime=1279562402820}] ]. [7/19/10 20:00:02:857 CEST] 000000bc SystemErr R java.io.IOException: Stream closed [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at sun.nio.cs.StreamEncoder.ensureOpen(StreamEncoder.java:66) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:179) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:196) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at java.io.OutputStreamWriter.write(OutputStreamWriter.java:227) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at java.io.Writer.write(Writer.java:147) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at org.apache.log4j.helpers.QuietWriter.write(QuietWriter.java:39) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:297) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at org.apache.log4j.DailyRollingFileAppender.subAppend(DailyRollingFileAppender.java:343) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at org.apache.log4j.WriterAppender.append(WriterAppender.java:150) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:222) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.apache.log4j.Category.callAppenders(Category.java:190) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.apache.log4j.Category.forcedLog(Category.java:375) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.apache.log4j.Category.log(Category.java:868) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:160) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:115) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:105) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at it.vtfinance.vtpie.commons.scheduledJobs.JobStarter.start(JobStarter.java:56) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at it.vtfinance.vtpie.go.jms.GONotificaEventiListener.execBatch(GONotificaEventiListener.java:196) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at it.vtfinance.vtpie.go.jms.GONotificaEventiListener.onMessage(GONotificaEventiListener.java:139) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:543) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:482) [7/19/10 20:00:02:860 CEST] 000000bc SystemErr R at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:451) [7/19/10 20:00:02:860 CEST] 000000bc SystemErr R at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323) [7/19/10 20:00:02:860 CEST] 000000bc SystemErr R at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261) [7/19/10 20:00:02:860 CEST] 000000bc SystemErr R at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982) [7/19/10 20:00:02:860 CEST] 000000bc SystemErr R at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974) [7/19/10 20:00:02:860 CEST] 000000bc SystemErr R at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876)
    via by Davide,
  • In my application I define a Job with a step, during the start of job occurs this exception: [7/19/10 20:00:02:849 CEST] 000000bc SystemErr R log4j:ERROR Failed to write [[2010-07-19 20:00:02,848], INFO,org.springframework.batch.core.launch.support.SimpleJobLauncher,user[],sessionid[], Job: [FlowJob: [name=racoBalanceJob]] failed unexpectedly and fatally with the following parameters: [{message=racoBalanceJob, currTime=1279562402820}] ]. [7/19/10 20:00:02:857 CEST] 000000bc SystemErr R java.io.IOException: Stream closed [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at sun.nio.cs.StreamEncoder.ensureOpen(StreamEncoder.java:66) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:179) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:196) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at java.io.OutputStreamWriter.write(OutputStreamWriter.java:227) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at java.io.Writer.write(Writer.java:147) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at org.apache.log4j.helpers.QuietWriter.write(QuietWriter.java:39) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:297) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at org.apache.log4j.DailyRollingFileAppender.subAppend(DailyRollingFileAppender.java:343) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at org.apache.log4j.WriterAppender.append(WriterAppender.java:150) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:222) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.apache.log4j.Category.callAppenders(Category.java:190) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.apache.log4j.Category.forcedLog(Category.java:375) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.apache.log4j.Category.log(Category.java:868) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:160) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:115) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:105) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at it.vtfinance.vtpie.commons.scheduledJobs.JobStarter.start(JobStarter.java:56) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at it.vtfinance.vtpie.go.jms.GONotificaEventiListener.execBatch(GONotificaEventiListener.java:196) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at it.vtfinance.vtpie.go.jms.GONotificaEventiListener.onMessage(GONotificaEventiListener.java:139) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:543) [7/19/10 20:00:02:859 CEST] 000000bc SystemErr R at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:482) [7/19/10 20:00:02:860 CEST] 000000bc SystemErr R at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:451) [7/19/10 20:00:02:860 CEST] 000000bc SystemErr R at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323) [7/19/10 20:00:02:860 CEST] 000000bc SystemErr R at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261) [7/19/10 20:00:02:860 CEST] 000000bc SystemErr R at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982) [7/19/10 20:00:02:860 CEST] 000000bc SystemErr R at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974) [7/19/10 20:00:02:860 CEST] 000000bc SystemErr R at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876)
    via by Davide,
    • java.io.IOException: Stream closed [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at sun.nio.cs.StreamEncoder.ensureOpen(StreamEncoder.java:66) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:179) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:196) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at java.io.OutputStreamWriter.write(OutputStreamWriter.java:227) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at java.io.Writer.write(Writer.java:147) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at org.apache.log4j.helpers.QuietWriter.write(QuietWriter.java:39) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:297) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at org.apache.log4j.DailyRollingFileAppender.subAppend(DailyRollingFileAppender.java:343) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at org.apache.log4j.WriterAppender.append(WriterAppender.java:150) [7/19/10 20:00:02:858 CEST] 000000bc SystemErr R at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:222) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57) at org.apache.log4j.Category.callAppenders(Category.java:190) at org.apache.log4j.Category.forcedLog(Category.java:375) at org.apache.log4j.Category.log(Category.java:868) at org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:160) at org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:115) at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49) at org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:105) at it.vtfinance.vtpie.commons.scheduledJobs.JobStarter.start(JobStarter.java:56) at it.vtfinance.vtpie.go.jms.GONotificaEventiListener.execBatch(GONotificaEventiListener.java:196) at it.vtfinance.vtpie.go.jms.GONotificaEventiListener.onMessage(GONotificaEventiListener.java:139) at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:543) at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:482)
    No Bugmate found.