java.lang.NullPointerException

Spring JIRA | Stefan Schmidt | 6 years ago
  1. 0

    NPE in DBRE when using the Postgres World sample database (see http://pgfoundry.org/frs/?group_id=1000150&release_id=584): {code} java.lang.NullPointerException at org.springframework.roo.addon.dbre.DbreMetadata.getField(DbreMetadata.java:645) at org.springframework.roo.addon.dbre.DbreMetadata.addOtherFields(DbreMetadata.java:551) at org.springframework.roo.addon.dbre.DbreMetadata.<init>(DbreMetadata.java:125) at org.springframework.roo.addon.dbre.DbreMetadataProviderImpl.getMetadata(DbreMetadataProviderImpl.java:110) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:269) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:148) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:82) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:147) at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:235) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:214) at org.springframework.roo.metadata.AbstractHashCodeTrackingMetadataNotifier.notifyIfRequired(AbstractHashCodeTrackingMetadataNotifier.java:52) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.notify(DbreDatabaseListenerImpl.java:183) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.reverseEngineer(DbreDatabaseListenerImpl.java:169) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.deserializeDatabase(DbreDatabaseListenerImpl.java:104) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.onFileEvent(DbreDatabaseListenerImpl.java:83) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:330) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanNotified(PollingFileMonitorService.java:213) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:189) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:143) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:182) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:373) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:134) at java.lang.Thread.run(Thread.java:680) {code}

    Spring JIRA | 6 years ago | Stefan Schmidt
    java.lang.NullPointerException
  2. 0

    NPE in DBRE when using the Postgres World sample database (see http://pgfoundry.org/frs/?group_id=1000150&release_id=584): {code} java.lang.NullPointerException at org.springframework.roo.addon.dbre.DbreMetadata.getField(DbreMetadata.java:645) at org.springframework.roo.addon.dbre.DbreMetadata.addOtherFields(DbreMetadata.java:551) at org.springframework.roo.addon.dbre.DbreMetadata.<init>(DbreMetadata.java:125) at org.springframework.roo.addon.dbre.DbreMetadataProviderImpl.getMetadata(DbreMetadataProviderImpl.java:110) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:269) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:148) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:82) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:147) at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:235) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:214) at org.springframework.roo.metadata.AbstractHashCodeTrackingMetadataNotifier.notifyIfRequired(AbstractHashCodeTrackingMetadataNotifier.java:52) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.notify(DbreDatabaseListenerImpl.java:183) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.reverseEngineer(DbreDatabaseListenerImpl.java:169) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.deserializeDatabase(DbreDatabaseListenerImpl.java:104) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.onFileEvent(DbreDatabaseListenerImpl.java:83) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:330) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanNotified(PollingFileMonitorService.java:213) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:189) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:143) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:182) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:373) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:134) at java.lang.Thread.run(Thread.java:680) {code}

    Spring JIRA | 6 years ago | Stefan Schmidt
    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.springframework.roo.addon.dbre.DbreMetadata.getField()
    2. Spring Roo - Annotations (ASLv2 Licensed)
      DbreMetadataProviderImpl.getMetadata
      1. org.springframework.roo.addon.dbre.DbreMetadata.getField(DbreMetadata.java:645)
      2. org.springframework.roo.addon.dbre.DbreMetadata.addOtherFields(DbreMetadata.java:551)
      3. org.springframework.roo.addon.dbre.DbreMetadata.<init>(DbreMetadata.java:125)
      4. org.springframework.roo.addon.dbre.DbreMetadataProviderImpl.getMetadata(DbreMetadataProviderImpl.java:110)
      4 frames
    3. org.springframework.roo
      AbstractHashCodeTrackingMetadataNotifier.notifyIfRequired
      1. org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:269)
      2. org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:148)
      3. org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:82)
      4. org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:147)
      5. org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:235)
      6. org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:214)
      7. org.springframework.roo.metadata.AbstractHashCodeTrackingMetadataNotifier.notifyIfRequired(AbstractHashCodeTrackingMetadataNotifier.java:52)
      7 frames
    4. Spring Roo - Annotations (ASLv2 Licensed)
      DbreDatabaseListenerImpl.onFileEvent
      1. org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.notify(DbreDatabaseListenerImpl.java:183)
      2. org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.reverseEngineer(DbreDatabaseListenerImpl.java:169)
      3. org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.deserializeDatabase(DbreDatabaseListenerImpl.java:104)
      4. org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.onFileEvent(DbreDatabaseListenerImpl.java:83)
      4 frames
    5. org.springframework.roo
      JLineShell.run
      1. org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:330)
      2. org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanNotified(PollingFileMonitorService.java:213)
      3. org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:189)
      4. org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:143)
      5. org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47)
      6. org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:182)
      7. org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:373)
      8. org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:134)
      8 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:680)
      1 frame