Status: Started
Owner: [email protected]
CC: [email protected], [email protected], [email protected]
Labels: Type-Defect Priority-Medium Component-SS7 Roadmap-Fix
Version-2.0.0.FINAL
New issue 287 by [email protected]: Bug in PDPContextImpl decoding
http://code.google.com/p/jss7/issues/detail?id=287
There is seems to be a bug in the encoding of PDPContextImpl in
2.1.0-SNAPSHOT. It throws an exception if sipToPermission is not specified:
211787 [pool-9-thread-1] ERROR
org.mobicents.protocols.ss7.map.service.mobility.MAPServiceMobilityImpl -
Error processing UpdateGprsLocationRequest: null
java.lang.NullPointerException
at
org.mobicents.protocols.ss7.map.service.mobility.subscriberInformation.PDPContextImpl.encodeData(PDPContextImpl.java:581)
at
org.mobicents.protocols.ss7.map.primitives.SequenceBase.encodeAll(SequenceBase.java:98)
at
org.mobicents.protocols.ss7.map.primitives.SequenceBase.encodeAll(SequenceBase.java:91)
at
org.mobicents.protocols.ss7.map.service.mobility.subscriberManagement.GPRSSubscriptionDataImpl.encodeData(GPRSSubscriptionDataImpl.java:210)
at
org.mobicents.protocols.ss7.map.primitives.SequenceBase.encodeAll(SequenceBase.java:98)
at
org.mobicents.protocols.ss7.map.service.mobility.subscriberManagement.InsertSubscriberDataRequestImpl.encodeData(InsertSubscriberDataRequestImpl.java:1211)
at
org.mobicents.protocols.ss7.map.service.mobility.MAPDialogMobilityImpl.addInsertSubscriberDataRequest(MAPDialogMobilityImpl.java:705)
at
org.mobicents.protocols.ss7.map.service.mobility.MAPDialogMobilityImpl.addInsertSubscriberDataRequest(MAPDialogMobilityImpl.java:633)
at
com.bodytrace.mobile.hlr.MobilityManager.onUpdateGprsLocationRequest(MobilityManager.java:242)
at
org.mobicents.protocols.ss7.map.service.mobility.MAPServiceMobilityImpl.updateGprsLocationRequest(MAPServiceMobilityImpl.java:617)
at
org.mobicents.protocols.ss7.map.service.mobility.MAPServiceMobilityImpl.processComponent(MAPServiceMobilityImpl.java:313)
at
org.mobicents.protocols.ss7.map.MAPProviderImpl.doProcessComponent(MAPProviderImpl.java:1601)
at
org.mobicents.protocols.ss7.map.MAPProviderImpl.processComponents(MAPProviderImpl.java:1471)
at
org.mobicents.protocols.ss7.map.MAPProviderImpl.onTCBegin(MAPProviderImpl.java:642)
at
org.mobicents.protocols.ss7.tcap.TCAPProviderImpl.deliver(TCAPProviderImpl.java:277)
at
org.mobicents.protocols.ss7.tcap.DialogImpl.processBegin(DialogImpl.java:1312)
at
org.mobicents.protocols.ss7.tcap.TCAPProviderImpl.onMessage(TCAPProviderImpl.java:640)
at
org.mobicents.protocols.ss7.sccp.impl.SccpRoutingControl.route(SccpRoutingControl.java:533)
at
org.mobicents.protocols.ss7.sccp.impl.SccpRoutingControl.translationFunction(SccpRoutingControl.java:437)
at
org.mobicents.protocols.ss7.sccp.impl.SccpRoutingControl.routeMssgFromMtp(SccpRoutingControl.java:152)
at
org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl.onMtp3TransferMessage(SccpStackImpl.java:858)
at
org.mobicents.protocols.ss7.mtp.Mtp3UserPartBaseImpl$MsgTransferDeliveryHandler.run(Mtp3UserPartBaseImpl.java:259)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
The issue seems to be in line 581 of
jss7/map/map-impl/src/main/java/org/mobicents/protocols/ss7/map/service/mobility/subscriberInformation/PDPContextImpl.java.
This should be only executed if this.sipToPermission is not null, but it
happens unconditionally, triggering a NullPointerException.
Cheers,
Andy
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.