Bug 868447 - Runtime Error Could not execute JDBC batch update at sun.reflect.NativeConstructorAccessorImpl.newInstance0:-2
Runtime Error Could not execute JDBC batch update at sun.reflect.NativeConstr...
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager (Show other bugs)
7.0
Unspecified Unspecified
unspecified Severity unspecified
: beta
: 7.0
Assigned To: candlepin-bugs
IDM QE LIST
:
Depends On:
Blocks: rhsm-rhel70
  Show dependency treegraph
 
Reported: 2012-10-19 17:38 EDT by Matt Reid
Modified: 2013-10-11 15:36 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-10-11 15:36:18 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Matt Reid 2012-10-19 17:38:16 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):
subscription-manager-1.1.2-1.git.83.76f3b7f

How reproducible:
????
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:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 RHEL Product and Program Management 2012-10-19 17:58:12 EDT
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
a release.
Comment 2 Bryan Kearney 2013-10-11 15:36:18 EDT
Pretty old, and more then likely environmental at the time. Please re-open if you see it again.

Note You need to log in before you can comment on or make changes to this bug.