storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sai Dilip Reddy Kiralam <dkira...@aadhya-analytics.com>
Subject psql null point error
Date Tue, 19 Sep 2017 10:36:37 GMT
Hi All,


I'm parsing the json data and inserting required  fields in psql data but
 I don't know it is give me the null point error in my storm uo after some
hours of time.


ERROR:


java.lang.NullPointerException at
org.postgresql.jdbc2.AbstractJdbc2Statement.replaceProcessing(AbstractJdbc2Statement.java:992)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:479)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:361)
at com.zaxxer.hikari.pool.HikariPool.isConnectionAlive(HikariPool.java:451)
at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:182) at
com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:91)
at
com.aail.config.MyConnectionProvider.getConnection(MyConnectionProvider.java:34)
at com.aail.ddl.JdbcClient.executeInsertQuery(JdbcClient.java:37) at
com.aail.storm.bolts.Likes_Insert.execute(Likes_Insert.java:90) at
backtype.storm.daemon.executor$fn__5708$tuple_action_fn__5710.invoke(executor.clj:693)
at
backtype.storm.daemon.executor$mk_task_receiver$fn__5629.invoke(executor.clj:438)
at
backtype.storm.disruptor$clojure_handler$reify__5200.onEvent(disruptor.clj:58)
at
backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:127)
at
backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:106)
at
backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80)
at
backtype.storm.daemon.executor$fn__5708$fn__5721$fn__5772.invoke(executor.clj:821)
at backtype.storm.util$async_loop$fn__545.invoke(util.clj:479) at
clojure.lang.AFn.run(AFn.java:22) at java.lang.Thread.run(Thread.java:745)

*Thanks in advance.*




*Best regards,*

*K.Sai Dilip Reddy.*

Mime
View raw message