IBM Support

PM64772: SPECIFYING AN INVALID WMQ NAME WHEN CREATING JMS ADMINISTERED OBJECTS USING THE ADMINCONSOLE RESULTS IN A

Fixes are available

7.0.0.25: WebSphere Application Server V7.0 Fix Pack 25
7.0.0.27: WebSphere Application Server V7.0 Fix Pack 27
7.0.0.29: WebSphere Application Server V7.0 Fix Pack 29
7.0.0.31: WebSphere Application Server V7.0 Fix Pack 31
7.0.0.27: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.33: WebSphere Application Server V7.0 Fix Pack 33
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35
7.0.0.37: WebSphere Application Server V7.0 Fix Pack 37
7.0.0.39: WebSphere Application Server V7.0 Fix Pack 39
7.0.0.41: WebSphere Application Server V7.0 Fix Pack 41
7.0.0.43: WebSphere Application Server V7.0 Fix Pack 43
7.0.0.45: WebSphere Application Server V7.0 Fix Pack 45
7.0.0.25: Java SDK 1.6 SR11 Cumulative Fix for WebSphere Application Server
7.0.0.27: Java SDK 1.6 SR12 Cumulative Fix for WebSphere Application Server
7.0.0.29: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.31: Java SDK 1.6 SR15 Cumulative Fix for WebSphere Application Server
7.0.0.35: Java SDK 1.6 SR16 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server
Obtain the fix for this APAR.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When creating WMQ JMS administered objects using the
    administrative console, if a name is given for a WMQ field that
    contains invalid characters (such as a space character in the
    Queue Manager name), a NullPointerException is generated when
    OK or Apply is clicked:
    .
    java.lang.NullPointerException
    at org.apache.struts.action.RequestProcessor.processExcept
    at org.apache.struts.action.RequestProcessor.processAction
    at org.apache.struts.action.RequestProcessor.process(Unkno
    at org.apache.struts.action.ActionServlet.process(Unknown
    ...
    Caused by: java.lang.NullPointerException
    at
    com.ibm.websphere.management.configservice.ConfigServiceHelper.g
    etConfigDataId(ConfigServiceHelper.java:227)
    at
    com.ibm.ws.console.resources.jms.mqseries.MQQueueDetailAction.
    execute(MQQueueDetailAction.java:239)
    ... 40 more
    ______Additional symptoms reported by some customers______
    - The browser will display HTTP ERROR 500
    - FFDC records generated:
    FFDC Exception:
      com.ibm.ws.messaging.admin.command.AdminCommandException
    SourceId:
      com.ibm.ws.messaging.admin.command.WMQQueueCreateCmd.
      beforeStepsExecuted ProbeId:112 Reporter:
      com.ibm.ws.messaging.admin.command.WMQQueueCreateCmd@76107610
      com.ibm.ws.messaging.admin.command.AdminCommandException:
        CWMSR0003E: The value "RRR.FFFF.CD.CQ. SPACE.000.TOWNIN"
                    is not valid for a WMQ name.
    at com.ibm.ws.messaging.admin.command.WMQCommandHelper.
       validateWMQN ame(WMQCommandHelper.java:309)
    at com.ibm.ws.messaging.admin.command.WMQQueueCreateCmd.
       beforeSteps Executed(WMQQueueCreateCmd.java:145)
    at com.ibm.websphere.management.cmdframework.provider.
       AbstractTaskCommand.executeReal(AbstractTaskCommand.java:835)
    at com.ibm.websphere.management.cmdframework.provider.
       AbstractTaskC ommand.execute(AbstractTaskCommand.java:807)
    at com.ibm.ws.console.resources.jms.mqseries.MQQueueDetailAction
       .execute(MQQueueDetailAction.java:181)
    .
    FFDC Exception:
      javax.servlet.ServletException
    SourceId:
      com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter
    ProbeId:82 Reporter:
      com.ibm.ws.webcontainer.filter.WebAppFilterChain@5d765d76
    javax.servlet.ServletException:
      java.lang.NullPointerException
    at org.apache.struts.action.RequestProcessor.processException(
       Unknown Source)
    at org.apache.struts.action.RequestProcessor.
       processActionPerform(Unknown Source)
    at org.apache.struts.action.RequestProcessor.process(
       Unknown Source)
    at org.apache.struts.action.ActionServlet.process(
       Unknown Source)
    at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
    Caused by: java.lang.NullPointerException
    at com.ibm.ws.sm.workspace.template.impl.RefObjectHelperImpl.
       getRef ID(RefObjectHelperImpl.java:209)
    at com.ibm.ws.console.core.ConfigFileHelper.getXmiId(
       ConfigFileHelper.java:1176)
    at com.ibm.ws.console.resources.jms.mqseries.
       MQQueueDetailAction.execute(MQQueueDetailAction.java:167)
            ... 40 more
    .
    FFDC Exception:
      javax.servlet.ServletException
    SourceId:
      com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest()
    ProbeId:309
    javax.servlet.ServletException:
    java.lang.NullPointerException
    at org.apache.struts.action.RequestProcessor.processException(
       unknown Source)
    at org.apache.struts.action.RequestProcessor.
       processActionPerform(Unknown Source)
    at org.apache.struts.action.RequestProcessor.process(
        Unknown Source)
    at org.apache.struts.action.ActionServlet.process(
        Unknown Source)
    at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
    Caused by: java.lang.NullPointerException
    at com.ibm.ws.sm.workspace.template.impl.RefObjectHelperImpl.
       getRef ID(RefObjectHelperImpl.java:209)
    at com.ibm.ws.console.core.ConfigFileHelper.getXmiId(
       ConfigFileHelper.java:1176)
    at com.ibm.ws.console.resources.jms.mqseries.
       MQQueueDetailAction.ex ecute(MQQueueDetailAction.java:167)
            ... 40 more
    .
    FFDC Exception:
      com.ibm.wsspi.webcontainer.ClosedConnectionException
    SourceId:
      com.ibm.ws.webcontainer.srt.BufferedWriter.writeOut
    ProbeId:416
    Reporter:
      com.ibm.wsspi.webcontainer.util.BufferedWriter@6470647
    com.ibm.wsspi.webcontainer.ClosedConnectionException:
       OutputStream encountered error during write
    at com.ibm.ws.webcontainer.channel.WCCByteBufferOutputStream.
       write(WCCByteBufferOutputStream.java:106)
    at com.ibm.ws.webcontainer.srt.SRTOutputStream.write(
       SRTOutputStrea m.java:97)
    at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(
       StreamEncoder.java :343)
    at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(
       StreamEncoder.java:413)
    at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(
       StreamEncoder.java: 417)
    at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:163)
    at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:263)
    at com.ibm.wsspi.webcontainer.util.BufferedWriter.writeOut(
       Buffered Writer.java:499)
    at com.ibm.wsspi.webcontainer.util.BufferedWriter.flushChars(
       BufferedWriter.java:386)
    at com.ibm.wsspi.webcontainer.util.BufferedWriter.flush(
    BufferedWriter.java:361)
    at java.io.PrintWriter.flush(PrintWriter.java:276)
    invalid WebSphere MQ Queue Name
    

Local fix

  • Remove any invalid characters from the WMQ name field.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.0                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException is encountered   *
    *                      when an invalid WMQ name is specified   *
    *                      for a WMQ JMS administered object.      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A programming error in the handling of invalid WMQ name
    characters results in the NullPointerException.
    

Problem conclusion

  • This APAR prevents the NullPointerException by correcting the
    programming error.
    
    APAR PM64772 is currently targeted for inclusion in Fix
    Pack 7.0.0.25 of WebSphere Application Server V7.0.
    
    Please refer to URL:
    //www.ibm.com/support/docview.wss?rs=404&uid=swg27006970
    for Fix Pack availability.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM64772

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-05-16

  • Closed date

    2012-06-22

  • Last modified date

    2013-11-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R700 PSY UK81738

       UP12/10/04 P F210

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 October 2021