java.lang.NullPointerException

JIRA | Martin Boulanger | 7 years ago
  1. 0

    1) Start Opal and log in 2) import -d opal-data -o test small-both.zip <ENTER> 3) import -d opal-data -o test2 small-both.zip <ENTER> You will get the following exception : java.lang.NullPointerException at org.obiba.opal.core.service.impl.OpalPrivateVariableEntityMap.publicEntity(OpalPrivateVariableEntityMap.java:60) at org.obiba.opal.core.magma.PrivateVariableEntityValueTable$2.apply(PrivateVariableEntityValueTable.java:89) at org.obiba.opal.core.magma.PrivateVariableEntityValueTable$2.apply(PrivateVariableEntityValueTable.java:87) at com.google.common.collect.Iterators$8.next(Iterators.java:697) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:135) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:117) at org.obiba.opal.core.service.impl.DefaultImportService.copyParticipantDataAndMetadata(DefaultImportService.java:221) at org.obiba.opal.core.service.impl.DefaultImportService.copyParticipants(DefaultImportService.java:151) at org.obiba.opal.core.service.impl.DefaultImportService.copyValueTables(DefaultImportService.java:130) at org.obiba.opal.core.service.impl.DefaultImportService.importData(DefaultImportService.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy40.importData(Unknown Source) at org.obiba.opal.cli.client.command.ImportCommand.importFiles(ImportCommand.java:59) at org.obiba.opal.cli.client.command.ImportCommand.execute(ImportCommand.java:38) at org.obiba.opal.cli.client.OpalConsole.prompt(OpalConsole.java:136) at org.obiba.opal.cli.client.OpalConsole.<init>(OpalConsole.java:103) at org.obiba.opal.cli.client.OpalConsole.main(OpalConsole.java:185) It seems like importing to different owners doesn't work.

    JIRA | 7 years ago | Martin Boulanger
    java.lang.NullPointerException
  2. 0

    1) Start Opal and log in 2) import -d opal-data -o test small-both.zip <ENTER> 3) import -d opal-data -o test2 small-both.zip <ENTER> You will get the following exception : java.lang.NullPointerException at org.obiba.opal.core.service.impl.OpalPrivateVariableEntityMap.publicEntity(OpalPrivateVariableEntityMap.java:60) at org.obiba.opal.core.magma.PrivateVariableEntityValueTable$2.apply(PrivateVariableEntityValueTable.java:89) at org.obiba.opal.core.magma.PrivateVariableEntityValueTable$2.apply(PrivateVariableEntityValueTable.java:87) at com.google.common.collect.Iterators$8.next(Iterators.java:697) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:135) at org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:117) at org.obiba.opal.core.service.impl.DefaultImportService.copyParticipantDataAndMetadata(DefaultImportService.java:221) at org.obiba.opal.core.service.impl.DefaultImportService.copyParticipants(DefaultImportService.java:151) at org.obiba.opal.core.service.impl.DefaultImportService.copyValueTables(DefaultImportService.java:130) at org.obiba.opal.core.service.impl.DefaultImportService.importData(DefaultImportService.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy40.importData(Unknown Source) at org.obiba.opal.cli.client.command.ImportCommand.importFiles(ImportCommand.java:59) at org.obiba.opal.cli.client.command.ImportCommand.execute(ImportCommand.java:38) at org.obiba.opal.cli.client.OpalConsole.prompt(OpalConsole.java:136) at org.obiba.opal.cli.client.OpalConsole.<init>(OpalConsole.java:103) at org.obiba.opal.cli.client.OpalConsole.main(OpalConsole.java:185) It seems like importing to different owners doesn't work.

    JIRA | 7 years ago | Martin Boulanger
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.obiba.opal.core.service.impl.OpalPrivateVariableEntityMap.publicEntity()
    2. org.obiba.opal
      PrivateVariableEntityValueTable$2.apply
      1. org.obiba.opal.core.service.impl.OpalPrivateVariableEntityMap.publicEntity(OpalPrivateVariableEntityMap.java:60)
      2. org.obiba.opal.core.magma.PrivateVariableEntityValueTable$2.apply(PrivateVariableEntityValueTable.java:89)
      3. org.obiba.opal.core.magma.PrivateVariableEntityValueTable$2.apply(PrivateVariableEntityValueTable.java:87)
      3 frames
    3. Guava
      Iterators$8.next
      1. com.google.common.collect.Iterators$8.next(Iterators.java:697)
      1 frame
    4. org.obiba.magma
      DatasourceCopier.copy
      1. org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:135)
      2. org.obiba.magma.support.DatasourceCopier.copy(DatasourceCopier.java:117)
      2 frames
    5. org.obiba.opal
      DefaultImportService.importData
      1. org.obiba.opal.core.service.impl.DefaultImportService.copyParticipantDataAndMetadata(DefaultImportService.java:221)
      2. org.obiba.opal.core.service.impl.DefaultImportService.copyParticipants(DefaultImportService.java:151)
      3. org.obiba.opal.core.service.impl.DefaultImportService.copyValueTables(DefaultImportService.java:130)
      4. org.obiba.opal.core.service.impl.DefaultImportService.importData(DefaultImportService.java:90)
      4 frames
    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
    7. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    8. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    9. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    10. Unknown
      $Proxy40.importData
      1. $Proxy40.importData(Unknown Source)
      1 frame
    11. org.obiba.opal
      OpalConsole.main
      1. org.obiba.opal.cli.client.command.ImportCommand.importFiles(ImportCommand.java:59)
      2. org.obiba.opal.cli.client.command.ImportCommand.execute(ImportCommand.java:38)
      3. org.obiba.opal.cli.client.OpalConsole.prompt(OpalConsole.java:136)
      4. org.obiba.opal.cli.client.OpalConsole.<init>(OpalConsole.java:103)
      5. org.obiba.opal.cli.client.OpalConsole.main(OpalConsole.java:185)
      5 frames