Revision history [back]

click to hide/show revision 1
initial version

answered 2009-05-05 07:46:55 +0800

hideokidd gravatar image hideokidd

Hi,

The contraint will cause an exception at runtime, the error appears when page creation. I am using ZK 3.6.1.

java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0
*
^
at java.util.regex.Pattern.error(Pattern.java:1713)
    at java.util.regex.Pattern.sequence(Pattern.java:1878)
    at java.util.regex.Pattern.expr(Pattern.java:1752)
    at java.util.regex.Pattern.compile(Pattern.java:1460)
    at java.util.regex.Pattern.<init>(Pattern.java:1133)
    at java.util.regex.Pattern.compile(Pattern.java:823)
        at org.zkoss.zul.SimpleConstraint.<init>(SimpleConstraint.java:168)
    at org.zkoss.zul.SimpleConstraint.getInstance(SimpleConstraint.java:180)
    at org.zkoss.zul.impl.InputElement.setConstraint(InputElement.java:425)
        ...............

The error message is too long to show all, I just post first several lines.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More