java.lang.NullPointerException: null


Solutions on the web3

Solution icon of web
via JIRA by Ryan Whitehurst, 1 year ago
null

Solution icon of web
via JIRA by Ryan Whitehurst, 1 year ago
null

Solution icon of github
null

Stack trace

java.lang.NullPointerException: null
	at clojure.core$name.invoke(core.clj:1524)[puppetdb.jar:na]
	at honeysql.format$eval2542$fn__2543.invoke(format.clj:306)[na:na]
	at honeysql.format$eval2496$fn__2497$G__2487__2502.invoke(format.clj:261)[na:na]
	at honeysql.format$to_sql.invoke(format.clj:340)[na:na]
	at honeysql.format$eval2564$fn__2565.invoke(format.clj:295)[na:na]
	at honeysql.format$eval2496$fn__2497$G__2487__2502.invoke(format.clj:261)[na:na]
	at honeysql.format$to_sql.invoke(format.clj:340)[na:na]
	at clojure.core$map$fn__4553.invoke(core.clj:2624)[puppetdb.jar:na]
	at clojure.lang.LazySeq.sval(LazySeq.java:40)[puppetdb.jar:na]
	at clojure.lang.LazySeq.seq(LazySeq.java:49)[puppetdb.jar:na]
	at clojure.lang.ChunkedCons.chunkedNext(ChunkedCons.java:59)[puppetdb.jar:na]
	at clojure.lang.ChunkedCons.next(ChunkedCons.java:43)[puppetdb.jar:na]
	at clojure.lang.LazySeq.next(LazySeq.java:81)[puppetdb.jar:na]
	at clojure.lang.RT.next(RT.java:674)[puppetdb.jar:na]
	at clojure.core$next__4112.invoke(core.clj:64)[puppetdb.jar:na]
	at clojure.string$join.invoke(string.clj:186)[puppetdb.jar:na]
	at honeysql.format$comma_join.invoke(format.clj:12)[na:na]
	at honeysql.format$eval2600$fn__2602.invoke(format.clj:375)[na:na]
	at clojure.lang.MultiFn.invoke(MultiFn.java:233)[puppetdb.jar:na]
	at honeysql.format$_format_clause.invoke(format.clj:364)[na:na]
	at honeysql.format$eval2554$fn__2555$fn__2556$fn__2557.invoke(format.clj:317)[na:na]
	at clojure.core$comp$fn__4495.invoke(core.clj:2438)[puppetdb.jar:na]
	at clojure.core$map$fn__4553.invoke(core.clj:2624)[puppetdb.jar:na]
	at clojure.lang.LazySeq.sval(LazySeq.java:40)[puppetdb.jar:na]
	at clojure.lang.LazySeq.seq(LazySeq.java:49)[puppetdb.jar:na]
	at clojure.lang.LazySeq.first(LazySeq.java:71)[puppetdb.jar:na]
	at clojure.lang.RT.first(RT.java:653)[puppetdb.jar:na]
	at clojure.core$first__4110.invoke(core.clj:55)[puppetdb.jar:na]
	at clojure.string$join.invoke(string.clj:185)[puppetdb.jar:na]
	at honeysql.format$space_join.invoke(format.clj:15)[na:na]
	at honeysql.format$eval2554$fn__2555$fn__2556.invoke(format.clj:316)[na:na]
	at honeysql.format$eval2554$fn__2555.invoke(format.clj:314)[na:na]
	at honeysql.format$eval2496$fn__2497$G__2487__2502.invoke(format.clj:261)[na:na]
	at honeysql.format$to_sql.invoke(format.clj:340)[na:na]
	at honeysql.format$format.doInvoke(format.clj:230)[na:na]
	at clojure.lang.RestFn.invoke(RestFn.java:410)[puppetdb.jar:na]
	at puppetlabs.puppetdb.query_eng.engine$eval18313$sql_from_query__18314$fn__18315.invoke(engine.clj:764)[na:na]
	at puppetlabs.puppetdb.query_eng.engine$eval18313$sql_from_query__18314.invoke(engine.clj:761)[na:na]
	at puppetlabs.puppetdb.query_eng.engine$eval18402$fn__18403.invoke(engine.clj:778)[na:na]
	at puppetlabs.puppetdb.query_eng.engine$eval18343$fn__18344$G__18334__18349.invoke(engine.clj:770)[na:na]
	at puppetlabs.puppetdb.query_eng.engine$plan__GT_sql.invoke(engine.clj:838)[na:na]
	at puppetlabs.puppetdb.query_eng.engine$compile_user_query__GT_sql.doInvoke(engine.clj:1376)[na:na]
	at clojure.lang.RestFn.invoke(RestFn.java:442)[puppetdb.jar:na]
	at puppetlabs.puppetdb.query.events$query__GT_sql.invoke(events.clj:179)[na:na]
	at puppetlabs.puppetdb.query.events$query__GT_sql.invoke(events.clj:163)[na:na]
	at puppetlabs.puppetdb.query_eng$entity__GT_sql_fns$fn__19888.invoke(query_eng.clj:46)[na:na]
	at puppetlabs.puppetdb.query_eng$produce_streaming_body$fn__19898.invoke(query_eng.clj:75)[na:na]
	at puppetlabs.puppetdb.jdbc$with_transacted_connection_fn$fn__6264$fn__6265$fn__6266.invoke(jdbc.clj:233)[na:na]
	at clojure.java.jdbc.deprecated$transaction_STAR_.invoke(deprecated.clj:377)[na:na]
	at puppetlabs.puppetdb.jdbc$with_transacted_connection_fn$fn__6264$fn__6265.invoke(jdbc.clj:233)[na:na]
	at clojure.java.jdbc.deprecated$with_connection_STAR_.invoke(deprecated.clj:307)[na:na]
	at puppetlabs.puppetdb.jdbc$with_transacted_connection_fn$fn__6264.invoke(jdbc.clj:230)[na:na]
	at puppetlabs.puppetdb.jdbc$eval6242$retry_sql_STAR___6243$fn__6244$fn__6245.invoke(jdbc.clj:202)[na:na]
	at puppetlabs.puppetdb.jdbc$eval6242$retry_sql_STAR___6243$fn__6244.invoke(jdbc.clj:201)[na:na]
	at puppetlabs.puppetdb.jdbc$eval6242$retry_sql_STAR___6243.invoke(jdbc.clj:193)[na:na]
	at puppetlabs.puppetdb.jdbc$with_transacted_connection_fn.invoke(jdbc.clj:229)[na:na]
	at puppetlabs.puppetdb.query_eng$produce_streaming_body.invoke(query_eng.clj:73)[na:na]
	at puppetlabs.puppetdb.http.events$routes$fn__20552$fn__20556$fn__20561.invoke(events.clj:54)[na:na]
	at puppetlabs.puppetdb.http.events$routes$fn__20552$fn__20556.invoke(events.clj:49)[na:na]
	at puppetlabs.puppetdb.http.events$routes$fn__20552.invoke(events.clj:49)[na:na]
	at puppetlabs.puppetdb.middleware$verify_accepts_content_type$fn__20305.invoke(middleware.clj:112)[na:na]
	at puppetlabs.puppetdb.middleware$validate_query_params$fn__20316.invoke(middleware.clj:153)[na:na]
	at puppetlabs.puppetdb.middleware$wrap_with_paging_options$fn__20300.invoke(middleware.clj:90)[na:na]
	at puppetlabs.puppetdb.http.v4$v4_app$fn__21467.invoke(v4.clj:21)[na:na]
	at net.cgrand.moustache$alter_request$fn__20436.invoke(moustache.clj:54)[na:na]
	at puppetlabs.puppetdb.http.v4$v4_app.invoke(v4.clj:21)[na:na]
	at puppetlabs.puppetdb.http.server$routes$fn__21568.invoke(server.clj:34)[na:na]
	at net.cgrand.moustache$alter_request$fn__20436.invoke(moustache.clj:54)[na:na]
	at puppetlabs.puppetdb.http.server$routes.invoke(server.clj:34)[na:na]
	at puppetlabs.puppetdb.middleware$wrap_with_metrics_STAR_$fn__20332$fn__20341.invoke(middleware.clj:206)[na:na]
	at puppetlabs.puppetdb.utils.metrics$multitime_BANG__STAR_$fn__19961$fn__19962$fn__19963.invoke(metrics.clj:14)[na:na]
	at puppetlabs.puppetdb.utils.metrics.proxy$java.lang.Object$Callable$7da976d4.call(Unknown Source)[na:na]
	at com.yammer.metrics.core.Timer.time(Timer.java:91)[puppetdb.jar:na]
	at puppetlabs.puppetdb.utils.metrics$multitime_BANG__STAR_$fn__19961$fn__19962.invoke(metrics.clj:14)[na:na]
	at puppetlabs.puppetdb.utils.metrics$multitime_BANG__STAR_$fn__19961$fn__19962$fn__19963.invoke(metrics.clj:14)[na:na]
	at puppetlabs.puppetdb.utils.metrics.proxy$java.lang.Object$Callable$7da976d4.call(Unknown Source)[na:na]
	at com.yammer.metrics.core.Timer.time(Timer.java:91)[puppetdb.jar:na]
	at puppetlabs.puppetdb.utils.metrics$multitime_BANG__STAR_$fn__19961$fn__19962.invoke(metrics.clj:14)[na:na]
	at puppetlabs.puppetdb.utils.metrics$multitime_BANG__STAR_$fn__19961$fn__19962$fn__19963.invoke(metrics.clj:14)[na:na]
	at puppetlabs.puppetdb.utils.metrics.proxy$java.lang.Object$Callable$7da976d4.call(Unknown Source)[na:na]
	at com.yammer.metrics.core.Timer.time(Timer.java:91)[puppetdb.jar:na]
	at puppetlabs.puppetdb.utils.metrics$multitime_BANG__STAR_$fn__19961$fn__19962.invoke(metrics.clj:14)[na:na]
	at puppetlabs.puppetdb.utils.metrics$multitime_BANG__STAR_$fn__19961$fn__19962$fn__19963.invoke(metrics.clj:14)[na:na]
	at puppetlabs.puppetdb.utils.metrics.proxy$java.lang.Object$Callable$7da976d4.call(Unknown Source)[na:na]
	at com.yammer.metrics.core.Timer.time(Timer.java:91)[puppetdb.jar:na]
	at puppetlabs.puppetdb.utils.metrics$multitime_BANG__STAR_$fn__19961$fn__19962.invoke(metrics.clj:14)[na:na]
	at puppetlabs.puppetdb.utils.metrics$multitime_BANG__STAR_.invoke(metrics.clj:17)[na:na]
	at puppetlabs.puppetdb.middleware$wrap_with_metrics_STAR_$fn__20332.invoke(middleware.clj:205)[na:na]
	at puppetlabs.puppetdb.middleware$wrap_with_globals$fn__20296.invoke(middleware.clj:78)[na:na]
	at compojure.core$routing$fn__9579.invoke(core.clj:127)[na:na]
	at clojure.core$some.invoke(core.clj:2570)[puppetdb.jar:na]
	at compojure.core$routing.doInvoke(core.clj:127)[na:na]
	at clojure.lang.RestFn.invoke(RestFn.java:423)[puppetdb.jar:na]
	at puppetlabs.puppetdb.pdb_routing$wrap_with_context$fn__35855.invoke(pdb_routing.clj:27)[na:na]
	at compojure.core$if_context$fn__9641.invoke(core.clj:194)[na:na]
	at compojure.core$routing$fn__9579.invoke(core.clj:127)[na:na]
	at clojure.core$some.invoke(core.clj:2570)[puppetdb.jar:na]
	at compojure.core$routing.doInvoke(core.clj:127)[na:na]
	at clojure.lang.RestFn.applyTo(RestFn.java:139)[puppetdb.jar:na]
	at clojure.core$apply.invoke(core.clj:632)[puppetdb.jar:na]
	at compojure.core$routes$fn__9583.invoke(core.clj:132)[na:na]
	at compojure.core$routing$fn__9579.invoke(core.clj:127)[na:na]
	at clojure.core$some.invoke(core.clj:2570)[puppetdb.jar:na]
	at compojure.core$routing.doInvoke(core.clj:127)[na:na]
	at clojure.lang.RestFn.invoke(RestFn.java:486)[puppetdb.jar:na]
	at puppetlabs.puppetdb.pdb_routing$pdb_app$fn__35868.invoke(pdb_routing.clj:46)[na:na]
	at compojure.core$if_context$fn__9641.invoke(core.clj:194)[na:na]
	at ring.middleware.params$wrap_params$fn__20055.invoke(params.clj:64)[na:na]
	at puppetlabs.puppetdb.middleware$wrap_with_authorization$fn__20283.invoke(middleware.clj:45)[na:na]
	at puppetlabs.puppetdb.middleware$wrap_with_certificate_cn$fn__20288.invoke(middleware.clj:60)[na:na]
	at puppetlabs.puppetdb.middleware$wrap_with_default_body$fn__20292.invoke(middleware.clj:67)[na:na]
	at puppetlabs.puppetdb.middleware$wrap_with_debug_logging$fn__20279.invoke(middleware.clj:29)[na:na]
	at puppetlabs.trapperkeeper.services.webserver.jetty9_core$ring_handler$fn__29420.invoke(jetty9_core.clj:408)[na:na]
	at puppetlabs.trapperkeeper.services.webserver.jetty9_core.proxy$org.eclipse.jetty.server.handler.AbstractHandler$ff19274a.handle(Unknown Source)[na:na]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1129)[puppetdb.jar:na]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1065)[puppetdb.jar:na]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[puppetdb.jar:na]
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)[puppetdb.jar:na]
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)[puppetdb.jar:na]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[puppetdb.jar:na]
	at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95)[puppetdb.jar:na]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[puppetdb.jar:na]
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:159)[puppetdb.jar:na]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[puppetdb.jar:na]
	at org.eclipse.jetty.server.Server.handle(Server.java:497)[puppetdb.jar:na]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[puppetdb.jar:na]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[puppetdb.jar:na]
	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[puppetdb.jar:na]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[puppetdb.jar:na]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[puppetdb.jar:na]
	at java.lang.Thread.run(Thread.java:745)[na:1.8.0_65]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.