Cannot define ECspec in fosstrak webclient

5 views
Skip to first unread message

Saxon TSE

unread,
Nov 3, 2025, 1:30:11 PM (3 days ago) Nov 3
to fosstrak
Hi Everyone,

I have no idea what happen that I cannot define the ECspec in fosstrak webclient

ecspec.gif


I just copy the xml from fosstrak website and replace the reader name to my logical reader name, but it returns  NullPointerException

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:ECSpec xmlns:ns2="urn:epcglobal:ale:xsd:1">
    <logicalReaders>
        <logicalReader>LLRP_1</logicalReader>
    </logicalReaders>
    <boundarySpec>
        <repeatPeriod unit="MS">15000</repeatPeriod>
        <duration unit="MS">10000</duration>
        <stableSetInterval unit="MS">0</stableSetInterval>
    </boundarySpec>
    <reportSpecs>
        <reportSpec>
            <reportSet set="ADDITIONS"/>
            <output includeRawHex="true" includeRawDecimal="true" includeEPC="true"/>
        </reportSpec>
    </reportSpecs>
</ns2:ECSpec>


Could anyone tell what happen? I have chceck on internet but no solution I can find. Thank you.

Saxon

Saxon TSE

unread,
Nov 4, 2025, 8:04:58 AM (3 days ago) Nov 4
to fosstrak
Hi all,

Finally I found the problem is about the XML file, here is the answer:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:ECSpec xmlns:ns2="urn:epcglobal:ale:xsd:1">
    <logicalReaders>
        <logicalReader>LLRP_1</logicalReader>
    </logicalReaders>
    <boundarySpec>
        <repeatPeriod unit="MS">10000</repeatPeriod>
        <duration unit="MS">9500</duration>

        <stableSetInterval unit="MS">0</stableSetInterval>
    </boundarySpec>
    <reportSpecs>
        <reportSpec reportName="Cycle_1" reportIfEmpty="true"
                        reportOnlyOnChange="false" includeSpecInReports="true">
            <reportSet set="CURRENT"/>
            <output includeRawHex="true" includeRawDecimal="true" includeEPC="true" includeTag="true"/>
        </reportSpec>
    </reportSpecs>
</ns2:ECSpec>

Saxon TSE 在 2025年11月4日 星期二凌晨2:30:11 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages