• 2 replies
  • Latest Post - ‏2013-01-15T17:05:15Z by SystemAdmin
1 Post

Pinned topic CQ Hook Exception

‏2013-01-15T00:47:42Z |
1/14/13 13:16:00:580 PST 0000001c SystemErr R com.rational.clearquest.cqjni.CQException: Caught a CQException at the JNI Boundary:
../cqsession.cpp: line 299-Execution of a hook failed during the action Submit. It was the FIELD_DEFAULT_VALUE hook of the field CreatedBy, attached to the Ticket "SDSHD00305812". The reason for the failure was:
Failed condition: m_pPerl != 0

I saw another post that matched this one and an individual asked for the hook code. How do you get the hook code for this action? I tried following the documentation in the info center, but when I double click on the action it doesn't open up any code.

I'm working in a CQ 8.0.0 environment.
  • Lumart
    87 Posts

    Re: CQ Hook Exception

    The error message mentions the FIELD_DEFAULT_VALUE of of the field CreatedBy.
    So you should look for the hook code in the fields table, not in the actions table.
    Can this technote help you?
  • SystemAdmin
    24948 Posts

    Re: CQ Hook Exception

    Googling "m_pPerl != 0" yields: