javax.persistence.PersistenceException: net.sf.jpasecurity.jpql.parser.ParseException: Encountered "" at line 1, column 14. Was expecting one of:    

jpasecurity | nurquiza | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    count(*) is unsupported

    jpasecurity | 6 years ago | nurquiza
    javax.persistence.PersistenceException: net.sf.jpasecurity.jpql.parser.ParseException: Encountered "" at line 1, column 14. Was expecting one of:    
  2. 0

    LOWER like LOWER does not work

    jpasecurity | 6 years ago | nurquiza
    javax.persistence.PersistenceException: net.sf.jpasecurity.jpql.parser.ParseException: Encountered " "LOWER" "LOWER "" at line 1, column 40. Was expecting one of:     "(" ...     "(" ...     "(" ...     "(" ...     "(" ...     "(" ...     "(" ...     "(" ...     "(" ...     "(" ...     "(" ...     "(" ...     "(" ...     "(" ...     "(" ...     "(" ...     "(" ...    
  3. 0

    CONCAT is not correctly handled

    jpasecurity | 6 years ago | nurquiza
    javax.persistence.PersistenceException: net.sf.jpasecurity.jpql.parser.ParseException: Encountered " <IDENTIFIER> "cd "" at line 1, column 79. Was expecting:     "(" …    
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.persistence.PersistenceException

      net.sf.jpasecurity.jpql.parser.ParseException: Encountered "" at line 1, column 14. Was expecting one of:    

      at net.sf.jpasecurity.security.EntityFilter.compile()
    2. net.sf.jpasecurity
      EntityManagerInvocationHandler.createNamedQuery
      1. net.sf.jpasecurity.security.EntityFilter.compile(EntityFilter.java:385)
      2. net.sf.jpasecurity.security.EntityFilter.filterQuery(EntityFilter.java:149)
      3. net.sf.jpasecurity.persistence.EntityManagerInvocationHandler.createQuery(EntityManagerInvocationHandler.java:191)
      4. net.sf.jpasecurity.persistence.EntityManagerInvocationHandler.createNamedQuery(EntityManagerInvocationHandler.java:160)
      4 frames
    3. 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
    4. net.sf.jpasecurity
      EntityManagerInvocationHandler.invoke
      1. net.sf.jpasecurity.util.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:55)
      2. net.sf.jpasecurity.util.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:48)
      3. net.sf.jpasecurity.persistence.EntityManagerInvocationHandler.invoke(EntityManagerInvocationHandler.java:302)
      3 frames
    5. Unknown
      $Proxy170.createNamedQuery
      1. $Proxy170.createNamedQuery(Unknown Source)
      1 frame
    6. 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