java.lang.NullPointerException: null

GitHub | fdlk | 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

    GitHub comment 5197#240763993

    GitHub | 6 months ago | fdlk
    java.lang.NullPointerException: null

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at org.molgenis.data.postgresql.PostgreSqlQueryGenerator.getSqlColumnConstraints()
    2. org.molgenis.data
      DataServiceImpl$$FastClassBySpringCGLIB$$2e5f77dc.invoke
      1. org.molgenis.data.postgresql.PostgreSqlQueryGenerator.getSqlColumnConstraints(PostgreSqlQueryGenerator.java:455)[molgenis-data-postgresql-2.0.0-SNAPSHOT.jar:na]
      2. org.molgenis.data.postgresql.PostgreSqlQueryGenerator.getSqlColumn(PostgreSqlQueryGenerator.java:444)[molgenis-data-postgresql-2.0.0-SNAPSHOT.jar:na]
      3. org.molgenis.data.postgresql.PostgreSqlQueryGenerator.getSqlCreateTable(PostgreSqlQueryGenerator.java:149)[molgenis-data-postgresql-2.0.0-SNAPSHOT.jar:na]
      4. org.molgenis.data.postgresql.PostgreSqlRepositoryCollection.createTable(PostgreSqlRepositoryCollection.java:551)[molgenis-data-postgresql-2.0.0-SNAPSHOT.jar:na]
      5. org.molgenis.data.postgresql.PostgreSqlRepositoryCollection.createRepository(PostgreSqlRepositoryCollection.java:105)[molgenis-data-postgresql-2.0.0-SNAPSHOT.jar:na]
      6. org.molgenis.data.RepositoryCollectionDecorator.createRepository(RepositoryCollectionDecorator.java:53)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      7. org.molgenis.data.reindex.ReindexActionRepositoryCollectionDecorator.createRepository(ReindexActionRepositoryCollectionDecorator.java:89)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      8. org.molgenis.data.meta.EntityMetaDataRepositoryDecorator.addEntityMetaData(EntityMetaDataRepositoryDecorator.java:360)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      9. org.molgenis.data.meta.EntityMetaDataRepositoryDecorator.add(EntityMetaDataRepositoryDecorator.java:326)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      10. org.molgenis.data.meta.EntityMetaDataRepositoryDecorator.add(EntityMetaDataRepositoryDecorator.java:52)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      11. org.molgenis.data.EntityReferenceResolverDecorator.add(EntityReferenceResolverDecorator.java:195)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      12. org.molgenis.data.listeners.EntityListenerRepositoryDecorator.add(EntityListenerRepositoryDecorator.java:178)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      13. org.molgenis.data.validation.RepositoryValidationDecorator.add(RepositoryValidationDecorator.java:80)[molgenis-data-validation-2.0.0-SNAPSHOT.jar:na]
      14. org.molgenis.data.AutoValueRepositoryDecorator.add(AutoValueRepositoryDecorator.java:46)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      15. org.molgenis.data.RepositorySecurityDecorator.add(RepositorySecurityDecorator.java:181)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      16. org.molgenis.data.support.DataServiceImpl.add(DataServiceImpl.java:92)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      17. org.molgenis.data.support.DataServiceImpl$$FastClassBySpringCGLIB$$2e5f77dc.invoke(<generated>)[spring-core-4.1.8.RELEASE.jar:na]
      17 frames
    3. Spring Core
      MethodProxy.invoke
      1. org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)[spring-core-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      1 frame
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717)[spring-aop-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      2 frames
    5. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)[spring-tx-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)[spring-tx-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)[spring-tx-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      3 frames
    6. Spring AOP
      CglibAopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      2. org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)[spring-aop-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      2 frames
    7. org.molgenis.data
      RestController.createFromFormPost
      1. org.molgenis.data.support.DataServiceImpl$$EnhancerBySpringCGLIB$$39d0d10d.add(<generated>)[spring-core-4.1.8.RELEASE.jar:na]
      2. org.molgenis.data.rest.RestController.createInternal(RestController.java:1063)[molgenis-data-rest-2.0.0-SNAPSHOT.jar:na]
      3. org.molgenis.data.rest.RestController.createFromFormPost(RestController.java:531)[molgenis-data-rest-2.0.0-SNAPSHOT.jar:na]
      3 frames