This occurs relatively often:
Er zijn problemen jouw regel:
Sorry, an error occurred trying to check your rule: Cannot invoke method size() on null object
Zorg s.v.p. dat je de juiste taal hebt gekozen voor jouw regel – Jouw keuze was: Dutch
This occurs relatively often:
Er zijn problemen jouw regel:
Sorry, an error occurred trying to check your rule: Cannot invoke method size() on null object
Zorg s.v.p. dat je de juiste taal hebt gekozen voor jouw regel – Jouw keuze was: Dutch
Is there XML that lets me reproduce the issue?
<rule id="ONVERBOGEN_VERBOGEN" name="Onverbogen vorm hoort verbogen te zijn">
<antipattern>
<token>een</token>
<token>tijd</token>
<token>lang</token>
</antipattern>
<pattern>
<marker>
<token postag_regexp="yes" postag="BNW:STL:ONV"><exception postag_regexp="yes" postag=".*VRB|VRZ|BYW|ZNW.*"/><exception regexp="yes">paar|veel</exception></token>
</marker>
<token postag_regexp="yes" postag="ZNW.*DE_" regexp="yes">[a-z].*<exception regexp="yes">weer|acht|weg|was|chirurg|kampioen|voetballer|directeur|internationals?|.*coach</exception></token>
</pattern>
<message>Als \1 echt op \2 slaat, dan hoort \1 verbogen te zijn.</message>
<suggestion><match no="1" postag="BNW:STL:VRB"></match></suggestion>
<example correction="impopulaire">De regering neemt niet graag <marker>impopulair</marker> maatregelen.</example>
</rule>
Thanks, I can reproduce this. The [a-z].*
seems to create a very memory-hungry query. I have no idea how to fix that, though.
I will check wether adding an antipattern improves this.
Fixed. Maybe the error message should be more clear…