Announcement Announcement Module
Collapse
No announcement yet.
roo fails at startup Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • roo fails at startup

    when I run roo on my existing project, it starts, manages a few things, then unmanages them, saying:
    Code:
    [FelixDispatchQueue] java.lang.NullPointerException 
        at org.springframework.roo.addon.web.mvc.jsp.JspViewManager.getFinderDocument(JspViewManager.java:331)
        at org.springframework.roo.addon.web.mvc.jsp.JspMetadataListener.get(JspMetadataListener.java:231)
        at org.springframework.roo.addon.web.mvc.jsp.JspMetadataListener.notify(JspMetadataListener.java:351)
        at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:179)
        at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:262)
        at org.springframework.roo.metadata.AbstractHashCodeTrackingMetadataNotifier.notifyIfRequired(AbstractHashCodeTrackingMetadataNotifier.java:47)
        at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:127)
        at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:179)
        at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:262)
        at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:187)
        at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:244)
        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:183)
        at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:276)
        at org.springframework.roo.addon.maven.MavenProjectMetadataProvider.onFileEvent(MavenProjectMetadataProvider.java:691)
        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(Unknown Source)
    [org.apache.felix.framework [0]] BundleEvent STOPPED
    I have tried with Roo-1.1.0.RELEASE and several Roo-1.1.1 from git.
    I expect it is something in my project (as roo works on other projects) but what could it be?
    Any suggestions what I can do to get Roo working again? [I tried removing .roo-dbre]

  • #2
    I'll mark this up to changes between 1.1.0 and 1.1.1;
    Ignore the message, re-run DBRE two or three times,
    when the dust settles, it is working again.

    Comment

    Working...
    X