java.lang.reflect.InvocationTargetException: null

Stack Overflow | semenchikus | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Mapping with JPA Annotations in Grails 3.x

    Stack Overflow | 6 months ago | semenchikus
    java.lang.reflect.InvocationTargetException: null

    Root Cause Analysis

    1. groovy.lang.MissingMethodException

      No signature of method: static persistence.postgresql.mapping.DictionaryEntity.count() is applicable for argument types: () values: [] Possible solutions: print(java.lang.Object), print(java.io.PrintWriter), wait(), find(), collect(), any()

      at grails.rest.RestfulController.countResources()
    2. Grails
      RestfulController.index
      1. grails.rest.RestfulController.countResources(RestfulController.groovy:277)
      2. grails.rest.RestfulController.index(RestfulController.groovy:64)
      2 frames
    3. Grails
      GrailsTransactionTemplate$2.doInTransaction
      1. grails.transaction.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:96)
      1 frame
    4. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
      1 frame
    5. Grails
      DefaultGrailsControllerClass.invoke
      1. grails.transaction.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:93)
      2. org.grails.core.DefaultGrailsControllerClass$ReflectionInvoker.invoke(DefaultGrailsControllerClass.java:210)
      3. org.grails.core.DefaultGrailsControllerClass.invoke(DefaultGrailsControllerClass.java:187)
      3 frames
    6. org.grails.web
      UrlMappingsInfoHandlerAdapter.handle
      1. org.grails.web.mapping.mvc.UrlMappingsInfoHandlerAdapter.handle(UrlMappingsInfoHandlerAdapter.groovy:90)
      1 frame
    7. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
      2. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
      3. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
      4. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
      5. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
      5 frames
    8. org.springframework.boot
      ApplicationContextHeaderFilter.doFilterInternal
      1. org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
      1 frame
    9. org.grails.web
      HiddenHttpMethodFilter.doFilterInternal
      1. org.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal(GrailsWebRequestFilter.java:77)
      2. org.grails.web.filters.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:67)
      2 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames