gerritjvv / bigstreams

bigstreams big data kafka hadoop and file based imports
Eclipse Public License 1.0
3 stars 3 forks source link

NullPointerException in FileOutputStreamPoolImpl checkFilesForRollover #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
java.lang.NullPointerException
        at org.streams.collector.write.impl.FileOutputStreamPoolImpl.checkFilesForRollover(FileOutputStreamPoolImpl.java:297)
        at org.streams.collector.write.impl.FileOutputStreamPoolFactoryImpl.checkFilesForRollover(FileOutputStreamPoolFactoryImpl.java:59)
        at org.streams.collector.write.impl.LocalLogFileWriter$RolloverChecker.run(LocalLogFileWriter.java:253)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
2011-06-14/10:21:32.272/CEST ERROR LocalFileWriter-LogRolloverCheck 
org.streams.collector.write.impl.FileOutputStreamPoolImpl - 
java.lang.NullPointerException

Original issue reported on code.google.com by gerritjvv@gmail.com on 14 Jun 2011 at 8:27

GoogleCodeExporter commented 8 years ago
This error is caused by 

2011-06-14/10:21:40.375/CEST ERROR New I/O server worker #1-12 
org.streams.collector.server.impl.LogWriterHandler - 
org.streams.collector.write.WriterException: java.io.IOException: No 
compression resource available for 
org.streams.collector.write.impl.CompressedStreamCreator@5651e202
org.streams.collector.write.WriterException: java.io.IOException: No 
compression resource available for 
org.streams.collector.write.impl.CompressedStreamCreator@5651e202
        at org.streams.collector.write.RollBackOutputStream.<init>(RollBackOutputStream.java:56)
        at org.streams.collector.write.impl.FileOutputStreamPoolImpl.getOutputStream(FileOutputStreamPoolImpl.java:234)
        at org.streams.collector.write.impl.FileOutputStreamPoolImpl.open(FileOutputStreamPoolImpl.java:132)
        at org.streams.collector.write.impl.LocalLogFileWriter.write(LocalLogFileWriter.java:120)
        at org.streams.collector.server.impl.LogWriterHandler.messageReceived(LogWriterHandler.java:268)
        at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
        at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
        at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:754)
        at org.jboss.netty.channel.SimpleChannelHandler.messageReceived(SimpleChannelHandler.java:154)
        at org.streams.commons.metrics.impl.MetricChannel.messageReceived(MetricChannel.java:90)
        at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:100)
        at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
        at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:754)
        at org.jboss.netty.handler.timeout.ReadTimeoutHandler.messageReceived(ReadTimeoutHandler.java:186)
        at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
        at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
        at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:754)
        at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:302)
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndfireMessageReceived(ReplayingDecoder.java:526)
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:507)
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:444)
        at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
        at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
        at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:540)
        at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274)
        at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261)
        at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:350)
        at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:281)
        at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:201)
        at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
        at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)

Original comment by gerritjvv@gmail.com on 14 Jun 2011 at 9:18

GoogleCodeExporter commented 8 years ago

Original comment by gerritjvv@gmail.com on 14 Jun 2011 at 1:11