1 Reply Latest reply on Oct 29, 2004 1:52 PM by Tware-Oracle

    Dangling meta character exception

    420049
      Hi,

      we get this exception after a readAll query with conformResultsInUnitOfWork. The presence of the "+" in the text seems to confuse toplink.

      Is it a known bug or should we open a TAR?


      java.util.regex.PatternSyntaxException: Dangling meta character '+' near index 0
      +20019G KRUEGER RENATE.*
      ^
      at java.util.regex.Pattern.error(Pattern.java:1528)
      at java.util.regex.Pattern.sequence(Pattern.java:1645)
      at java.util.regex.Pattern.expr(Pattern.java:1545)
      at java.util.regex.Pattern.compile(Pattern.java:1279)
      at java.util.regex.Pattern.<init>(Pattern.java:1035)
      at java.util.regex.Pattern.compile(Pattern.java:779)
      at java.util.regex.Pattern.matches(Pattern.java:865)
      at oracle.toplink.internal.helper.JDK14Platform.conformLike(JDK14Platform.java:51)
      at oracle.toplink.internal.helper.JavaPlatform.conformLike(JavaPlatform.java:57)
      at oracle.toplink.expressions.ExpressionOperator.doesRelationConform(ExpressionOperator.java:769)
      at oracle.toplink.internal.expressions.RelationExpression.doesConform(RelationExpression.java:133)
      at oracle.toplink.publicinterface.UnitOfWork.getAllFromNewObjects(UnitOfWork.java:1493)
      at oracle.toplink.queryframework.ReadAllQuery.conformResult(ReadAllQuery.java:332)
      at oracle.toplink.queryframework.ReadAllQuery.registerObjectInUnitOfWork(ReadAllQuery.java:684)
      at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2222)
      at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1086)
      at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1038)

      --

      We use Toplink 9.0.4.4, jdk 1.4.