Menu

#2569 An enhancement on Java CIM Client logging

closed-fixed
5
2012-12-14
2012-11-19
Anonymous
No

We received an exception as follows, but cannot figure out further what the complaint was about:
WBEMException: CIM_ERR_INVALID_PARAMETER (Type of property or key cannot be a null!)

With the help from CIM client team to log additional info in exception as below, we realized what was missing.
WBEMException: CIM_ERR_INVALID_PARAMETER (Type of property or key cannot be a null! property=SystemCreationClassName, objectpath=root/virt:KVM_ResourcePoolConfigurationService.CreationClassName="KVM_ResourcePoolConfigurationService",Name="RPCS",SystemCreationClassName="",SystemName=""; method=CreateResourceInPool)

Thought that would be a useful enhancement to log the extra text in the exception like above.

Discussion

  • Dave Blaschke

    Dave Blaschke - 2012-11-19

    Bug actually opened by yihchuang

     
  • Dave Blaschke

    Dave Blaschke - 2012-11-19

    Will fix after Thanksgiving holiday

     
  • Dave Blaschke

    Dave Blaschke - 2012-11-19
    • assigned_to: nobody --> blaschke-oss
    • status: open --> open-accepted
     
  • Dave Blaschke

    Dave Blaschke - 2012-11-27
    • status: open-accepted --> open-fixed
     
  • Dave Blaschke

    Dave Blaschke - 2012-11-27

    Patch sent for community review. During a 2 week period any
    exploiter may comment on the patch, request changes or turn it
    down completely (with good reason). For the time being the patch is part of the "Experimental" branch in CVS.

     
  • Dave Blaschke

    Dave Blaschke - 2012-12-11

    Patch against HEAD

     
  • Dave Blaschke

    Dave Blaschke - 2012-12-11

    The community review has completed and we received no substantial criticism. Therefore the patch has been approved and merged into the "HEAD" branch. The next release will pick it up.

     
  • Dave Blaschke

    Dave Blaschke - 2012-12-11
    • status: open-fixed --> pending-fixed
     
  • Dave Blaschke

    Dave Blaschke - 2012-12-14

    The patch was picked up by release 2.2.1 and will therefore be closed.

     
  • Dave Blaschke

    Dave Blaschke - 2012-12-14
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.