[ 
https://issues.apache.org/jira/browse/PLC4X-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408772#comment-17408772
 ] 

Christofer Dutz commented on PLC4X-312:
---------------------------------------

Hi [~kdxq],

thanks for finding and reporting this ... I was able to reproduce the problem 
and am currently running the testsuite to ensure this didn't change anything 
else. I am however a bit puzzled that this wasn't spotted any earlier :-/

 

Regarding the release ... we're currently tying up some loose ends and am 
expecting to start the release process soon (Happy you found this bug now so 
you won't have to wait too long for the fix to be released)

>  CAN NOT READ STRING FROM S7 PLC
> --------------------------------
>
>                 Key: PLC4X-312
>                 URL: https://issues.apache.org/jira/browse/PLC4X-312
>             Project: Apache PLC4X
>          Issue Type: Bug
>          Components: Driver-S7
>    Affects Versions: 0.9.0
>            Reporter: liuqiang
>            Priority: Major
>
> i can read all type of data from s7 with out  string type. the follow is the 
> address config format. 
> "%DB145.DBX38:STRING(8)[1]"
> the error as follow:
> ava.lang.IllegalArgumentException: No group with name <memoryArea>
>       at java.util.regex.Matcher.getMatchedGroupIndex(Matcher.java:1316)
>       at java.util.regex.Matcher.group(Matcher.java:572)
>       at org.apache.plc4x.java.s7.readwrite.field.S7Field.of(S7Field.java:176)
>       at 
> org.apache.plc4x.java.s7.readwrite.field.S7PlcFieldHandler.createField(S7PlcFieldHandler.java:30)
>       at 
> org.apache.plc4x.java.spi.messages.DefaultPlcReadRequest$Builder.lambda$addItem$0(DefaultPlcReadRequest.java:147)
>       at 
> org.apache.plc4x.java.spi.messages.DefaultPlcReadRequest$Builder.lambda$build$2(DefaultPlcReadRequest.java:164)
>       at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
>       at 
> org.apache.plc4x.java.spi.messages.DefaultPlcReadRequest$Builder.build(DefaultPlcReadRequest.java:163)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to