org.apache.openjpa.persistence.ArgumentException: Encountered "pa" at character 8, but expected: ["FROM"].

juddi-user | Javier Molina | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    scout 1.2.2 unit tests problems with jUDDI 3.04

    juddi-user | 6 years ago | Javier Molina
    org.apache.openjpa.persistence.ArgumentException: Encountered "pa" at character 8, but expected: ["FROM"].

    Root Cause Analysis

    1. org.apache.openjpa.persistence.ArgumentException

      Encountered "pa" at character 8, but expected: ["FROM"].

      at org.apache.openjpa.kernel.jpql.JPQL.generateParseException()
    2. OpenJPA Aggregate Jar
      QueryImpl.executeUpdate
      1. org.apache.openjpa.kernel.jpql.JPQL.generateParseException(JPQL.java:9501)
      2. org.apache.openjpa.kernel.jpql.JPQL.jj_consume_token(JPQL.java:9378)
      3. org.apache.openjpa.kernel.jpql.JPQL.delete_statement(JPQL.java:185)
      4. org.apache.openjpa.kernel.jpql.JPQL.parseQuery(JPQL.java:69)
      5. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.parse(JPQLExpressionBuilder.java:1740)
      6. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.<init>(JPQLExpressionBuilder.java:1727)
      7. org.apache.openjpa.kernel.jpql.JPQLParser.parse(JPQLParser.java:48)
      8. org.apache.openjpa.kernel.ExpressionStoreQuery.newCompilation(ExpressionStoreQuery.java:149)
      9. org.apache.openjpa.kernel.QueryImpl.newCompilation(QueryImpl.java:657)
      10. org.apache.openjpa.kernel.QueryImpl.compilationFromCache(QueryImpl.java:639)
      11. org.apache.openjpa.kernel.QueryImpl.compileForCompilation(QueryImpl.java:605)
      12. org.apache.openjpa.kernel.QueryImpl.compileForExecutor(QueryImpl.java:667)
      13. org.apache.openjpa.kernel.QueryImpl.getOperation(QueryImpl.java:1492)
      14. org.apache.openjpa.kernel.DelegatingQuery.getOperation(DelegatingQuery.java:123)
      15. org.apache.openjpa.persistence.QueryImpl.executeUpdate(QueryImpl.java:325)
      15 frames
    3. jUDDI Core Services
      UDDIPublicationImpl.setPublisherAssertions
      1. org.apache.juddi.query.DeletePublisherAssertionByBusinessQuery.delete(DeletePublisherAssertionByBusinessQuery.java:47)
      2. org.apache.juddi.api.impl.UDDIPublicationImpl.setPublisherAssertions(UDDIPublicationImpl.java:607)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. Apache CXF Core
      AbstractInvoker.invoke
      1. org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:166)
      2. org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
      2 frames