java.lang.AssertionError: Assert failed: (and (integer? limit) (>= limit 0))

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Imri Zvik, 1 year ago
Assert failed: (and (integer? limit) (>= limit 0))
via JIRA by Imri Zvik, 5 months ago
Assert failed: (and (integer? limit) (>= limit 0))
java.lang.AssertionError: Assert failed: (and (integer? limit) (>= limit 0))
at com.puppetlabs.puppetdb.http.v1.resources$produce_body.invoke(resources.clj:86)
at com.puppetlabs.puppetdb.http.v1.resources$routes$fn__6411$fn__6416.invoke(resources.clj:119)
at com.puppetlabs.puppetdb.http.v1.resources$routes$fn__6411.invoke(resources.clj:113)
at com.puppetlabs.puppetdb.http.v1.resources$routes.invoke(resources.clj:113)
at com.puppetlabs.middleware$verify_accepts_content_type$fn__5903.invoke(middleware.clj:104)
at com.puppetlabs.middleware$validate_query_params$fn__5908.invoke(middleware.clj:131)
at com.puppetlabs.puppetdb.http.v1$v1_app$fn__6801.invoke(v1.clj:12)
at net.cgrand.moustache$alter_request$fn__6156.invoke(moustache.clj:54)
at com.puppetlabs.puppetdb.http.v1$v1_app.invoke(v1.clj:12)
at com.puppetlabs.puppetdb.http.server$deprecated_app.invoke(server.clj:22)
at com.puppetlabs.puppetdb.http.server$deprecated_v1_app.invoke(server.clj:35)
at com.puppetlabs.puppetdb.http.server$routes$fn__9418.invoke(server.clj:41)
at net.cgrand.moustache$alter_request$fn__6156.invoke(moustache.clj:54)
at com.puppetlabs.puppetdb.http.server$routes.invoke(server.clj:41)
at ring.middleware.resource$wrap_resource$fn__9397.invoke(resource.clj:17)
at com.puppetlabs.middleware$wrap_with_authorization$fn__5882.invoke(middleware.clj:37)
at com.puppetlabs.middleware$wrap_with_certificate_cn$fn__5886.invoke(middleware.clj:52)
at com.puppetlabs.middleware$wrap_with_default_body$fn__5890.invoke(middleware.clj:59)
at com.puppetlabs.middleware$wrap_with_metrics_STAR_$fn__5924$fn__5933.invoke(middleware.clj:183)
at com.puppetlabs.utils.metrics$multitime_BANG__STAR_$fn__5861$fn__5862$fn__5863.invoke(metrics.clj:14)
at com.puppetlabs.utils.metrics.proxy$java.lang.Object$Callable$f8c5758f.call(Unknown Source)
at com.puppetlabs.utils.metrics$multitime_BANG__STAR_$fn__5861$fn__5862.invoke(metrics.clj:14)
at com.puppetlabs.utils.metrics$multitime_BANG__STAR_$fn__5861$fn__5862$fn__5863.invoke(metrics.clj:14)
at com.puppetlabs.utils.metrics.proxy$java.lang.Object$Callable$f8c5758f.call(Unknown Source)
at com.puppetlabs.utils.metrics$multitime_BANG__STAR_$fn__5861$fn__5862.invoke(metrics.clj:14)
at com.puppetlabs.utils.metrics$multitime_BANG__STAR_.invoke(metrics.clj:17)
at com.puppetlabs.middleware$wrap_with_metrics_STAR_$fn__5924.invoke(middleware.clj:182)
at com.puppetlabs.middleware$wrap_with_globals$fn__5894.invoke(middleware.clj:70)
at com.puppetlabs.middleware$wrap_with_debug_logging$fn__5878.invoke(middleware.clj:24)
at ring.adapter.jetty$proxy_handler$fn__5781.invoke(jetty.clj:18)
at org.eclipse.jetty.server.handler.GzipHandler.handle(GzipHandler.java:267)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
at org.eclipse.jetty.server.Server.handle(Server.java:349)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:884)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:938)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:634)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:191)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
at java.lang.Thread.run(Thread.java:744)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.