Another extension problem

Hi, Matthew. Sorry to send so many posts, but I’m getting crazy.
I’m developing another extension that allows the functionallity of the Group By clause of SQL for Tamino. I have created a sequence that uses the extension, but when I execute it I get this exception:
GroupByExtension - ObjectGatewayImpl.modify: Entered[slf5s.MESSAGE]
[slf5s.start]22 sep 2004 16:28:07,484[slf5s.DATE] Thread-4[slf5s.THREAD] DEBUG[slf5s.PRIORITY] xbd[slf5s.CATEGORY] - GroupByExtension - ObjectGatewayImpl.modify: Calling FunctionMessage.process()[slf5s.MESSAGE]
[slf5s.start]22 sep 2004 16:28:07,484[slf5s.DATE] Thread-4[slf5s.THREAD] ERROR[slf5s.PRIORITY] xbd[slf5s.CATEGORY] - GroupByExtension - ObjectGatewayImpl.modify: (java.lang.NullPointerException)[slf5s.MESSAGE]
[slf5s.start]22 sep 2004 16:28:07,484[slf5s.DATE] Thread-4[slf5s.THREAD] ERROR[slf5s.PRIORITY] xbd[slf5s.CATEGORY] - SagSequencer - SEQUENCER ERROR: sequence “file:/C:/SecuenciaPeticion.xml”, line 11, : com.softwareag.xbridge.exceptions.XException: ObjectGatewayImpl.modify: (java.lang.NullPointerException)[slf5s.MESSAGE]
com.softwareag.xbridge.exceptions.XException: ObjectGatewayImpl.modify: (java.lang.NullPointerException)
at com.softwareag.xbridge.objectgateway.ObjectGatewayImpl.modify(DashOB6501:195)
at com.softwareag.xbridge.infrastructure.y.modify(DashOB6501:56)
at com.softwareag.xbridge.sequencer.KeywordSTEP.execute(DashOB6501:148)
at com.softwareag.xbridge.sequencer.SequencerImpl.execute(DashOB6501:573)
at com.softwareag.xbridge.sequencer.SequencerImpl.dispatch(DashOB6501:293)
[slf5s.start]22 sep 2004 16:28:07,578[slf5s.DATE] Thread-4[slf5s.THREAD] INFO [slf5s.PRIORITY] xbd[slf5s.CATEGORY]

I don’t know what’s the problem? Can you help me?
Many thanks.


Please post your log file, sequence and component configuration file.


Hi, Jason.
I send you the .war of the extension and my sequence.
Thanks in advance. (33.9 KB)

There is a coding error in the component configuration document.

The argument names and the argument names in the signature must match.



which matches SAG.GroupBy.main_path which is coded in the signature.

You will also need to edit your sequence. Make sure that the property names and the properties in the signature are in sync.


Hi, Jason. I have changed the Extension config file and the name of the class, but always get the error: Object does not exist.
I send you the new .war and the log.
Thanks in advance.
Javier. (40.6 KB)

Hi Javier,

I think you may be running into a problem we see from time to time in v731. This problem was corrected in PL1 for XBDv731 which was released about two weeks ago. You should upgrade and retry your component in the new version.


- Matthew G.

Hi, Mathew. I’ve installed the PL-1 and now is running OK. Thanks a lot of.
Another question. If my extension uses other libraries, f.e. jdom.jar, what is the way to add this library to the extension.
I add the library in the lib directory of the extension, in the lib directory of the JBoss, in the lib directory of JBoss/server/default and always take the jdom.jar of directory import of mediator.war.?

Replacing jars used in Mediator can lead to unexpected results or even failure of certain components. I do not recommend trying to override the jars we already use.
Our classloader does not allow the overwriting of prescribed jars so no matter where you put it in the App server your jar will not get loaded.
If you insist on getting it into the Component factory, the only way would be to add it to the system classpath. This can be done by copying the jar to the /lib directory of the host installation.
You should however know that altering the installation like this is not supported and could cause other components to stop functioning.


- Matthew G.