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)

Spring JIRA | Davide | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    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)

    Spring JIRA | 7 years ago | 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)
  2. 0

    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)

    Spring JIRA | 7 years ago | 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)

    Root Cause Analysis

    1. 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()
    2. Apache Log4j
      Category.log
      1. org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
      2. org.apache.log4j.Category.callAppenders(Category.java:190)
      3. org.apache.log4j.Category.forcedLog(Category.java:375)
      4. org.apache.log4j.Category.log(Category.java:868)
      4 frames
    3. Apache Commons Logging
      Log4JLogger.info
      1. org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:160)
      1 frame
    4. Spring Batch Core
      SimpleJobLauncher$1.run
      1. org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:115)
      1 frame
    5. Spring Core
      SyncTaskExecutor.execute
      1. org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
      1 frame
    6. Spring Batch Core
      SimpleJobLauncher.run
      1. org.springframework.batch.core.launch.support.SimpleJobLauncher.run(SimpleJobLauncher.java:105)
      1 frame
    7. it.vtfinance.vtpie
      GONotificaEventiListener.onMessage
      1. it.vtfinance.vtpie.commons.scheduledJobs.JobStarter.start(JobStarter.java:56)
      2. it.vtfinance.vtpie.go.jms.GONotificaEventiListener.execBatch(GONotificaEventiListener.java:196)
      3. it.vtfinance.vtpie.go.jms.GONotificaEventiListener.onMessage(GONotificaEventiListener.java:139)
      3 frames
    8. Spring Framework
      AbstractMessageListenerContainer.invokeListener
      1. org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:543)
      2. org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:482)
      2 frames