java.lang.NullPointerException

Spring JIRA | Peter Kleinmann | 5 years ago
  1. 0

    Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER. @jbbarquero: Good job @gdickens @RooInAction MEAP is complete! Great job @KRrimp le, Srini Penchikala. Learn @SpringRoo @ManningBooks http://t.co/8eVszZSr roo> ERROR: Bundle org.springframework.roo.process.manager [54] EventDispatcher: Error during dispatch. (java.lang.NullPointerException) java.lang.NullPointerException at org.springframework.roo.process.manager.internal.DefaultProcessManage r.logException(DefaultProcessManager.java:264) at org.springframework.roo.process.manager.internal.DefaultProcessManage r.completeStartup(DefaultProcessManager.java:146) at org.springframework.roo.process.manager.internal.DefaultProcessManage r.access$100(DefaultProcessManager.java:35) at org.springframework.roo.process.manager.internal.DefaultProcessManage r$1.frameworkEvent(DefaultProcessManager.java:68) at org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListen erCallback(EventDispatcher.java:774) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately( EventDispatcher.java:725) at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.j ava:949) at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispa tcher.java:54) at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher .java:106) at java.lang.Thread.run(Unknown Source) roo> version ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.2.1.RELEASE [rev 6eae723] BTW, is there a command that dumps all aspects of the roo environment, e.g., jdk version, classpath, chipset, etc.? I looked for one in the docs but id not see one. (and maybe I did not look hard enough)

    Spring JIRA | 5 years ago | Peter Kleinmann
    java.lang.NullPointerException
  2. 0

    Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER. @jbbarquero: Good job @gdickens @RooInAction MEAP is complete! Great job @KRrimp le, Srini Penchikala. Learn @SpringRoo @ManningBooks http://t.co/8eVszZSr roo> ERROR: Bundle org.springframework.roo.process.manager [54] EventDispatcher: Error during dispatch. (java.lang.NullPointerException) java.lang.NullPointerException at org.springframework.roo.process.manager.internal.DefaultProcessManage r.logException(DefaultProcessManager.java:264) at org.springframework.roo.process.manager.internal.DefaultProcessManage r.completeStartup(DefaultProcessManager.java:146) at org.springframework.roo.process.manager.internal.DefaultProcessManage r.access$100(DefaultProcessManager.java:35) at org.springframework.roo.process.manager.internal.DefaultProcessManage r$1.frameworkEvent(DefaultProcessManager.java:68) at org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListen erCallback(EventDispatcher.java:774) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately( EventDispatcher.java:725) at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.j ava:949) at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispa tcher.java:54) at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher .java:106) at java.lang.Thread.run(Unknown Source) roo> version ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.2.1.RELEASE [rev 6eae723] BTW, is there a command that dumps all aspects of the roo environment, e.g., jdk version, classpath, chipset, etc.? I looked for one in the docs but id not see one. (and maybe I did not look hard enough)

    Spring JIRA | 5 years ago | Peter Kleinmann
    java.lang.NullPointerException
  3. 0

    Several of my "non-roo" utility files now get parsing errors (since upgrading to rev 43c185c) .../javaparser/CompilationUnitServices.java | 3 + .../javaparser/JavaParserClassMetadata.java | 14 +- .../javaparser/JavaParserMetadataProvider.java | 6 +- ...vaParserMutableClassOrInterfaceTypeDetails.java | 459 +++++++++-- .../roo/classpath/javaparser/JavaParserUtils.java | 210 +++--- .../details/JavaParserConstructorMetadata.java | 8 +- .../details/JavaParserFieldMetadata.java | 15 +- .../details/JavaParserInnerTypeMetadata.java | 609 +++++++++++++ .../details/JavaParserMethodMetadata.java | 43 +- .../roo/classpath/MetadataCommands.java | 18 +- Each file fails to parse twice: :myProject>roo-dev ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.1.1.RELEASE [rev 43c185c] Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER. [FelixDispatchQueue] Parsing failure for 'C:\Data\Programs\java\myProject\src\main\java\com\myproj\mypkg\util\EmailSender.java' (development mode diagnostics) java.lang.NullPointerException at org.springframework.roo.classpath.javaparser.details.JavaParserInnerTypeMetadata.<init>(JavaParserInnerTypeMetadata.java:201) at org.springframework.roo.classpath.javaparser.JavaParserMutableClassOrInterfaceTypeDetails.<init>(JavaParserMutableClassOrInterfaceTypeDetails.java:269) at org.springframework.roo.classpath.javaparser.JavaParserClassMetadata.<init>(JavaParserClassMetadata.java:69) at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.get(JavaParserMetadataProvider.java:160) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:179) at org.springframework.roo.classpath.TypeLocationServiceImpl.getClassOrInterfaceTypeDetails(TypeLocationServiceImpl.java:137) at org.springframework.roo.classpath.TypeLocationServiceImpl.processTypesWithAnnotation(TypeLocationServiceImpl.java:88) at org.springframework.roo.classpath.TypeLocationServiceImpl.findClassesOrInterfaceDetailsWithAnnotation(TypeLocationServiceImpl.java:128) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.reverseEngineer(DbreDatabaseListenerImpl.java:98) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.processDatabase(DbreDatabaseListenerImpl.java:90) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.notifyDatabaseRefreshed(DbreDatabaseListenerImpl.java:73) at org.springframework.roo.addon.dbre.DbreModelServiceImpl.publishToListeners(DbreModelServiceImpl.java:247) at org.springframework.roo.addon.dbre.DbreModelServiceImpl.getDatabase(DbreModelServiceImpl.java:206) at org.springframework.roo.addon.dbre.DbreModelServiceImpl.getDatabase(DbreModelServiceImpl.java:185) at org.springframework.roo.addon.dbre.DbreModelServiceImpl.getDatabase(DbreModelServiceImpl.java:150) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.getIdentifiers(DbreDatabaseListenerImpl.java:306) at org.springframework.roo.addon.entity.AbstractIdentifierServiceAwareMetadataProvider.getIdentifiersForType(AbstractIdentifierServiceAwareMetadataProvider.java:53) at org.springframework.roo.addon.entity.EntityMetadataProviderImpl.getMetadata(EntityMetadataProviderImpl.java:83) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:235) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:179) at org.springframework.roo.addon.dbre.DbreMetadataProviderImpl.getMetadata(DbreMetadataProviderImpl.java:52) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:235) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:179) at org.springframework.roo.classpath.scanner.MemberDetailsScannerImpl.getMemberDetails(MemberDetailsScannerImpl.java:135) at org.springframework.roo.addon.beaninfo.BeanInfoMetadataProviderImpl.getMetadata(BeanInfoMetadataProviderImpl.java:34) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:235) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:179) at org.springframework.roo.addon.web.mvc.controller.WebScaffoldMetadataProviderImpl.getMetadata(WebScaffoldMetadataProviderImpl.java:64) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:235) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:112) at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:199) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:262) at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.onFileEvent(JavaParserMetadataProvider.java:138) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:318) at org.springframework.roo.process.manager.internal.DefaultFileManager.notify(DefaultFileManager.java:199) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:276) at org.springframework.roo.addon.maven.MavenProjectMetadataProvider.onFileEvent(MavenProjectMetadataProvider.java:778) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:318) at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:36) at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:15) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177) at org.springframework.roo.process.manager.internal.DefaultProcessManager.completeStartup(DefaultProcessManager.java:99) at org.springframework.roo.process.manager.internal.DefaultProcessManager$1.frameworkEvent(DefaultProcessManager.java:62) at org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:767) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:724) at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:942) at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54) at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106) at java.lang.Thread.run(Thread.java:619) [FelixDispatchQueue] Parsing failure for 'C:\Data\Programs\java\myProject\src\main\java\com\myproj\mypkg\util\EmailSender.java' (development mode diagnostics) java.lang.NullPointerException at org.springframework.roo.classpath.javaparser.details.JavaParserInnerTypeMetadata.<init>(JavaParserInnerTypeMetadata.java:201) at org.springframework.roo.classpath.javaparser.JavaParserMutableClassOrInterfaceTypeDetails.<init>(JavaParserMutableClassOrInterfaceTypeDetails.java:269) at org.springframework.roo.classpath.javaparser.JavaParserClassMetadata.<init>(JavaParserClassMetadata.java:69) at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.get(JavaParserMetadataProvider.java:160) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:179) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:183) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:112) at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:199) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:262) at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.onFileEvent(JavaParserMetadataProvider.java:138) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:318) at org.springframework.roo.process.manager.internal.DefaultFileManager.notify(DefaultFileManager.java:199) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:276) at org.springframework.roo.addon.maven.MavenProjectMetadataProvider.onFileEvent(MavenProjectMetadataProvider.java:778) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:318) at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:36) at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:15) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177) at org.springframework.roo.process.manager.internal.DefaultProcessManager.completeStartup(DefaultProcessManager.java:99) at org.springframework.roo.process.manager.internal.DefaultProcessManager$1.frameworkEvent(DefaultProcessManager.java:62) at org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:767) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:724) at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:942) at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54) at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106) at java.lang.Thread.run(Thread.java:619)

    Spring JIRA | 6 years ago | Jack Punt
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When starting Roo shell with a multi module project where the <version /> is specified only in the parent pom, a NullPointerException is thrown at startup. Roo should support projects where the <version /> is only specified in the parent pom. The obvious workaround is to specify <version /> in each module. Here is the output of the Roo shell startup : {code} Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER. roo> ERROR: Bundle org.springframework.roo.process.manager [54] EventDispatcher: Error during dispatch. (java.lang.NullPointerException) java.lang.NullPointerException at org.springframework.roo.process.manager.internal.DefaultProcessManager.logException(DefaultProcessManager.java:264) at org.springframework.roo.process.manager.internal.DefaultProcessManager.completeStartup(DefaultProcessManager.java:146) at org.springframework.roo.process.manager.internal.DefaultProcessManager.access$100(DefaultProcessManager.java:35) at org.springframework.roo.process.manager.internal.DefaultProcessManager$1.frameworkEvent(DefaultProcessManager.java:68) at org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:774) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:725) at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949) at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54) at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106) at java.lang.Thread.run(Thread.java:679) {/code}

    Spring JIRA | 5 years ago | Guillaume Lederrey
    java.lang.NullPointerException
  6. 0

    Several of my "non-roo" utility files now get parsing errors (since upgrading to rev 43c185c) .../javaparser/CompilationUnitServices.java | 3 + .../javaparser/JavaParserClassMetadata.java | 14 +- .../javaparser/JavaParserMetadataProvider.java | 6 +- ...vaParserMutableClassOrInterfaceTypeDetails.java | 459 +++++++++-- .../roo/classpath/javaparser/JavaParserUtils.java | 210 +++--- .../details/JavaParserConstructorMetadata.java | 8 +- .../details/JavaParserFieldMetadata.java | 15 +- .../details/JavaParserInnerTypeMetadata.java | 609 +++++++++++++ .../details/JavaParserMethodMetadata.java | 43 +- .../roo/classpath/MetadataCommands.java | 18 +- Each file fails to parse twice: :myProject>roo-dev ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ 1.1.1.RELEASE [rev 43c185c] Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER. [FelixDispatchQueue] Parsing failure for 'C:\Data\Programs\java\myProject\src\main\java\com\myproj\mypkg\util\EmailSender.java' (development mode diagnostics) java.lang.NullPointerException at org.springframework.roo.classpath.javaparser.details.JavaParserInnerTypeMetadata.<init>(JavaParserInnerTypeMetadata.java:201) at org.springframework.roo.classpath.javaparser.JavaParserMutableClassOrInterfaceTypeDetails.<init>(JavaParserMutableClassOrInterfaceTypeDetails.java:269) at org.springframework.roo.classpath.javaparser.JavaParserClassMetadata.<init>(JavaParserClassMetadata.java:69) at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.get(JavaParserMetadataProvider.java:160) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:179) at org.springframework.roo.classpath.TypeLocationServiceImpl.getClassOrInterfaceTypeDetails(TypeLocationServiceImpl.java:137) at org.springframework.roo.classpath.TypeLocationServiceImpl.processTypesWithAnnotation(TypeLocationServiceImpl.java:88) at org.springframework.roo.classpath.TypeLocationServiceImpl.findClassesOrInterfaceDetailsWithAnnotation(TypeLocationServiceImpl.java:128) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.reverseEngineer(DbreDatabaseListenerImpl.java:98) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.processDatabase(DbreDatabaseListenerImpl.java:90) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.notifyDatabaseRefreshed(DbreDatabaseListenerImpl.java:73) at org.springframework.roo.addon.dbre.DbreModelServiceImpl.publishToListeners(DbreModelServiceImpl.java:247) at org.springframework.roo.addon.dbre.DbreModelServiceImpl.getDatabase(DbreModelServiceImpl.java:206) at org.springframework.roo.addon.dbre.DbreModelServiceImpl.getDatabase(DbreModelServiceImpl.java:185) at org.springframework.roo.addon.dbre.DbreModelServiceImpl.getDatabase(DbreModelServiceImpl.java:150) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.getIdentifiers(DbreDatabaseListenerImpl.java:306) at org.springframework.roo.addon.entity.AbstractIdentifierServiceAwareMetadataProvider.getIdentifiersForType(AbstractIdentifierServiceAwareMetadataProvider.java:53) at org.springframework.roo.addon.entity.EntityMetadataProviderImpl.getMetadata(EntityMetadataProviderImpl.java:83) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:235) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:179) at org.springframework.roo.addon.dbre.DbreMetadataProviderImpl.getMetadata(DbreMetadataProviderImpl.java:52) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:235) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:179) at org.springframework.roo.classpath.scanner.MemberDetailsScannerImpl.getMemberDetails(MemberDetailsScannerImpl.java:135) at org.springframework.roo.addon.beaninfo.BeanInfoMetadataProviderImpl.getMetadata(BeanInfoMetadataProviderImpl.java:34) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:235) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:179) at org.springframework.roo.addon.web.mvc.controller.WebScaffoldMetadataProviderImpl.getMetadata(WebScaffoldMetadataProviderImpl.java:64) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:235) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:112) at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:199) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:262) at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.onFileEvent(JavaParserMetadataProvider.java:138) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:318) at org.springframework.roo.process.manager.internal.DefaultFileManager.notify(DefaultFileManager.java:199) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:276) at org.springframework.roo.addon.maven.MavenProjectMetadataProvider.onFileEvent(MavenProjectMetadataProvider.java:778) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:318) at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:36) at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:15) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177) at org.springframework.roo.process.manager.internal.DefaultProcessManager.completeStartup(DefaultProcessManager.java:99) at org.springframework.roo.process.manager.internal.DefaultProcessManager$1.frameworkEvent(DefaultProcessManager.java:62) at org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:767) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:724) at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:942) at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54) at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106) at java.lang.Thread.run(Thread.java:619) [FelixDispatchQueue] Parsing failure for 'C:\Data\Programs\java\myProject\src\main\java\com\myproj\mypkg\util\EmailSender.java' (development mode diagnostics) java.lang.NullPointerException at org.springframework.roo.classpath.javaparser.details.JavaParserInnerTypeMetadata.<init>(JavaParserInnerTypeMetadata.java:201) at org.springframework.roo.classpath.javaparser.JavaParserMutableClassOrInterfaceTypeDetails.<init>(JavaParserMutableClassOrInterfaceTypeDetails.java:269) at org.springframework.roo.classpath.javaparser.JavaParserClassMetadata.<init>(JavaParserClassMetadata.java:69) at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.get(JavaParserMetadataProvider.java:160) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:179) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:183) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:112) at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:199) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:262) at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.onFileEvent(JavaParserMetadataProvider.java:138) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:318) at org.springframework.roo.process.manager.internal.DefaultFileManager.notify(DefaultFileManager.java:199) at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:276) at org.springframework.roo.addon.maven.MavenProjectMetadataProvider.onFileEvent(MavenProjectMetadataProvider.java:778) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:318) at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:36) at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:15) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177) at org.springframework.roo.process.manager.internal.DefaultProcessManager.completeStartup(DefaultProcessManager.java:99) at org.springframework.roo.process.manager.internal.DefaultProcessManager$1.frameworkEvent(DefaultProcessManager.java:62) at org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:767) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:724) at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:942) at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54) at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106) at java.lang.Thread.run(Thread.java:619)

    Spring JIRA | 6 years ago | Jack Punt
    java.lang.NullPointerException

    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.process.manager.internal.DefaultProcessManager.logException()
    2. org.springframework.roo
      DefaultProcessManager$1.frameworkEvent
      1. org.springframework.roo.process.manager.internal.DefaultProcessManager.logException(DefaultProcessManager.java:264)
      2. org.springframework.roo.process.manager.internal.DefaultProcessManager.completeStartup(DefaultProcessManager.java:146)
      3. org.springframework.roo.process.manager.internal.DefaultProcessManager.access$100(DefaultProcessManager.java:35)
      4. org.springframework.roo.process.manager.internal.DefaultProcessManager$1.frameworkEvent(DefaultProcessManager.java:68)
      4 frames
    3. Apache Felix Framework
      EventDispatcher$1.run
      1. org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:774)
      2. org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:725)
      3. org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949)
      4. org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)
      5. org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106)
      5 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame