java.lang.IllegalArgumentException: Table "i" does not exist

GitHub | vania-pooh | 8 months 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

    Select all from one alias does not work

    GitHub | 8 months ago | vania-pooh
    java.lang.IllegalArgumentException: Table "i" does not exist

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Table "i" does not exist

      at org.meridor.perspective.sql.impl.table.TableName.fromString()
    2. org.meridor.perspective
      SelectTask.lambda$processSelectionMap$18
      1. org.meridor.perspective.sql.impl.table.TableName.fromString(TableName.java:45)
      2. org.meridor.perspective.sql.impl.task.SelectTask.lambda$processSelectionMap$18(SelectTask.java:80)
      2 frames
    3. Java RT
      LinkedHashMap$LinkedKeySet.forEach
      1. java.util.LinkedHashMap$LinkedKeySet.forEach(LinkedHashMap.java:555)
      1 frame
    4. org.meridor.perspective
      SelectTask.init
      1. org.meridor.perspective.sql.impl.task.SelectTask.processSelectionMap(SelectTask.java:72)
      2. org.meridor.perspective.sql.impl.task.SelectTask.init(SelectTask.java:42)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:497)
      3 frames
    6. Spring Beans
      DefaultListableBeanFactory.getBean
      1. org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:354)
      2. org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:305)
      3. org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      8. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
      9. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:219)
      10. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:351)
      10 frames
    7. Spring Context
      AbstractApplicationContext.getBean
      1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1069)
      1 frame
    8. org.meridor.perspective
      QueryResource.lambda$query$8
      1. org.meridor.perspective.sql.impl.QuerySchedulerImpl.schedule(QuerySchedulerImpl.java:91)
      2. org.meridor.perspective.sql.impl.QueryProcessorImpl.parseSQL(QueryProcessorImpl.java:58)
      3. org.meridor.perspective.sql.impl.QueryProcessorImpl.process(QueryProcessorImpl.java:30)
      4. org.meridor.perspective.rest.resources.QueryResource.lambda$query$8(QueryResource.java:37)
      4 frames
    9. Java RT
      ReferencePipeline$7$1.accept
      1. java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267)
      1 frame