Skip to content

test s1apsetup encode fail #46

@lester-001

Description

@lester-001

I have tested two ways to add the IE broadcastPLMNs in the SupportedTAs, but the encoder fail at parsing xml nodes.
the first way:

<SupportedTAs>
    <SupportedTAs>
		<tAC>1</tAC>
		<broadcastPLMNs>
		<broadcastPLMNs>
                       <PLMNidentity>00f110</PLMNidentity>
		</broadcastPLMNs>
		</broadcastPLMNs>
	</SupportedTAs>
</SupportedTAs>

MTS reports this error :
CAUSE: Could not find element null, child of broadcastPLMNs

Complete stack :
java.lang.RuntimeException: Could not find element null, child of broadcastPLMNs
com.ericsson.mts.asn1.XMLFormatReader.getChildNode(XMLFormatReader.java:197)
com.ericsson.mts.asn1.XMLFormatReader.bytesValue(XMLFormatReader.java:152)
com.ericsson.mts.asn1.translator.AbstractOctetStringTranslator.encode(AbstractOctetStringTranslator.java:50)
com.ericsson.mts.asn1.translator.AbstractTranslator.encode(AbstractTranslator.java:82)
com.ericsson.mts.asn1.translator.PERSequenceOfTranslator.launchEncode(PERSequenceOfTranslator.java:77)

application.log

the second way :

<SupportedTAs>
   <SupportedTAs>
		<tAC>1</tAC>
		<broadcastPLMNs>
                       <PLMNidentity>00f110</PLMNidentity>
		</broadcastPLMNs>
	</SupportedTAs>
</SupportedTAs>

the encode is fail in this:
CAUSE: Could not find element broadcastPLMNs, child of broadcastPLMNs

Complete stack :
java.lang.RuntimeException: Could not find element broadcastPLMNs, child of broadcastPLMNs
com.ericsson.mts.asn1.XMLFormatReader.getChildNode(XMLFormatReader.java:197)

Here is the ASN.1:

SupportedTAs ::= SEQUENCE (SIZE(1.. maxnoofTACs)) OF SupportedTAs-Item
SupportedTAs-Item ::=	SEQUENCE  {
	tAC					TAC,
	broadcastPLMNs		BPLMNs,
	iE-Extensions		ProtocolExtensionContainer { {SupportedTAs-Item-ExtIEs} } OPTIONAL,
	...
}
BPLMNs ::= SEQUENCE (SIZE(1.. maxnoofBPLMNs)) OF PLMNidentity	

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions