| Summary: | RuntimeExeptions thrown when no entitlements can be found for products | ||
|---|---|---|---|
| Product: | [Community] Candlepin | Reporter: | Brenton Leanhardt <bleanhar> |
| Component: | candlepin | Assignee: | Bryan Kearney <bkearney> |
| Status: | CLOSED DUPLICATE | QA Contact: | John Sefler <jsefler> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.5 | CC: | calfonso, jomara |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-15 14:22:25 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Just an update on this: We've seen this call fail 183 times this month. Users have successfully made this call 595 times. This appears to be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=708058 filed last May. *** This bug has been marked as a duplicate of bug 708058 *** |
Description of problem: In production we are seeing a number of these exceptions thrown everyday. There were 546 in July and 48 so far this month. Either these cases are exceptional and need to be fixed or they shouldn't return 500s. We're running candlepin-jboss-0.3.14-1.el5. Caused by: java.lang.RuntimeException: No entitlements for products: [69] at org.fedoraproject.candlepin.controller.CandlepinPoolManager.entitleByProducts(CandlepinPoolManager.java:378) at org.fedoraproject.candlepin.controller.CandlepinPoolManager$$EnhancerByGuice$$808fbb68.CGLIB$entitleByProducts$4(<generated>) at org.fedoraproject.candlepin.controller.CandlepinPoolManager$$EnhancerByGuice$$808fbb68$$FastClassByGuice$$630d9dad.invoke(<generated>) at com.google.inject.internal.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at com.google.inject.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:64) at com.wideplay.warp.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:68) at com.google.inject.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:64) at com.google.inject.InterceptorStackCallback.intercept(InterceptorStackCallback.java:44) at org.fedoraproject.candlepin.controller.CandlepinPoolManager$$EnhancerByGuice$$808fbb68.entitleByProducts(<generated>) at org.fedoraproject.candlepin.resource.ConsumerResource.bindByProducts(ConsumerResource.java:489) at org.fedoraproject.candlepin.resource.ConsumerResource.bind(ConsumerResource.java:669) at org.fedoraproject.candlepin.resource.ConsumerResource$$EnhancerByGuice$$72edc4ae.CGLIB$bind$2(<generated>) at org.fedoraproject.candlepin.resource.ConsumerResource$$EnhancerByGuice$$72edc4ae$$FastClassByGuice$$54c158ab.invoke(<generated>) ....