Red Hat Bugzilla – Bug 868447
Runtime Error Could not execute JDBC batch update at sun.reflect.NativeConstructorAccessorImpl.newInstance0:-2
Last modified: 2013-10-11 15:36:18 EDT
Description of problem:
I think I had just clicked on Subscribe to attach a subscription to my system (may have clicked Update though). Instead of it doing that, I got a crazy Runtime error "Runtime Error Could not execute JDBC batch update at sun.reflect.NativeConstructorAccessorImpl.newInstance0:-2" which showed up in our standard error dialog format (check rhsm.log for more info. [Error Message]).
This is the first time I've seen such a message. I was registered to prod, and probably trying to subscribe to the Red Hat Partner, Red Hat Employee, or some 60 day RHEV Eval subscription. I'm not sure if/how we can see the prod logs to get more info...
Here's what I got from my logs -
2012-10-19 10:54:22,001 [DEBUG] @connection.py:305 - Loading CA certificate: '/etc/rhsm/ca/candlepin-stage.pem'
2012-10-19 10:54:22,001 [DEBUG] @connection.py:305 - Loading CA certificate: '/etc/rhsm/ca/redhat-uep.pem'
2012-10-19 10:54:22,002 [DEBUG] @connection.py:344 - Making request: GET /subscription/consumers/ebec29a8-d801-42f5-b02f-927213870bf8/owner
2012-10-19 10:54:22,847 [DEBUG] @connection.py:357 - Response status: 500
2012-10-19 10:54:22,848 [ERROR] @utils.py:56 - Runtime Error Could not execute JDBC batch update at sun.reflect.NativeConstructorAccessorImpl.newInstance0:-2
Traceback (most recent call last):
File "/usr/sbin/subscription-manager-gui", line 48, in ?
from dbus.bus import REQUEST_NAME_REPLY_PRIMARY_OWNER
ImportError: No module named bus
2012-10-19 10:54:23,581 [DEBUG] @connection.py:357 - Response status: 200
2012-10-19 10:54:23,588 [DEBUG] @connection.py:323 - Loading CA PEM certificates from: /etc/rhsm/ca/
Not really sure what else I can provide to help, let me know if you need anything. This seems like it could be tough to try and track down.
If it makes any difference, my auto-heal interval was set to 1 at the time :)
Version-Release number of selected component (if applicable):
Could be a once in a blue moon thing, not sure how to reproduce
If it happens again, I'll be sure to update this BZ
Steps to Reproduce:
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release. Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products. This request is not yet committed for inclusion in
Pretty old, and more then likely environmental at the time. Please re-open if you see it again.