Spring Roo
  1. Spring Roo
  2. ROO-2867

Illegal/unsupported escape sequence near index 3

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Complete
    • Affects Version/s: 1.2.0.M1
    • Fix Version/s: 1.2.0.RC1
    • Component/s: @ ROO SHELL
    • Labels:
    • Environment:
      - Windows 7 64bit
      - Tried snapshots spanning 30-Oct-2011 to 2-Nov-2011

      Description

      C:\Users\Developer>"C:\devtools\roo-snapshots\2Nov2011\spring-roo-1.2.0.BUILD-SN
      APSHOT\bin\roo.bat"
      ____ ____ ____
      / __ \/ __ \/ __ \
      / /_/ / / / / / / /
      / , _/ // / /_/ /
      // ||___/___/ 1.2.0.BUILD-SNAPSHOT [rev 6c728a1]

      Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
      @ngurenyaga: @SpringRoo I rarely praise tools, but Roo is special. Special enoug
      h to make me tweet at an "ungodly" hour
      Illegal/unsupported escape sequence near index 3
      C:\Users\Developer\
      ^
      roo>

        Issue Links

          Activity

          Hide
          Andrew Swan added a comment -

          Mduduzi, can you please provide the stack trace for this error? To get it, switch on development mode by changing -DdevelopmentMode=false to -DdevelopmentMode=true in your roo.bat file before starting Roo.

          Show
          Andrew Swan added a comment - Mduduzi, can you please provide the stack trace for this error? To get it, switch on development mode by changing -DdevelopmentMode=false to -DdevelopmentMode=true in your roo.bat file before starting Roo.
          Hide
          Mduduzi Keswa added a comment -

          Andrew - here it is:

          ____ ____ ____
          / __ \/ __ \/ __ \
          / /_/ / / / / / / /
          / , _/ // / /_/ /
          // ||___/___/ 1.2.0.BUILD-SNAPSHOT [rev 6c728a1]

          Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
          Downloaded 0% of favorites.jsonDownloaded 0% of favorites.jsonDownloaded 0% of favorites.jsonDownloaded 100% of favorites.jsonDownloaded 100% of favorites.jsonDownloaded 100% of favorites.jsonDownloaded 100% of favorites.jsonDownloaded 100% of favorites.json@axcdnt: #SpringRoo is getting better http://t.co/yGZnFGJI Next milestone will add support for JSF. Rapidly and efficient development!
          roo> Downloaded 100% of favorites.jsonDownloaded 100% of favorites.json[org.springframework.roo.felix [46]] ServiceEvent REGISTERED[org.springframework.roo.classpath [44]] ServiceEvent REGISTERED[org.springframework.roo.classpath [44]] ServiceEvent REGISTERED[org.springframework.roo.classpath [44]] ServiceEvent REGISTERED[org.springframework.roo.addon.jsf [23]] ServiceEvent REGISTERED[org.springframework.roo.addon.jsf [23]] ServiceEvent REGISTERED[org.springframework.roo.shell.jline.osgi [57]] ServiceEvent REGISTERED[org.springframework.roo.shell.jline.osgi [57]] ServiceEvent REGISTERED[org.springframework.roo.shell.jline.osgi [57]] ServiceEvent REGISTERED[org.springframework.roo.felix [46]] ServiceEvent REGISTERED[org.springframework.roo.felix [46]] ServiceEvent REGISTERED[org.springframework.roo.felix [46]] ServiceEvent REGISTERED[org.springframework.roo.felix [46]] ServiceEvent REGISTERED[org.springframework.roo.felix [46]] ServiceEvent REGISTERED[org.springframework.roo.felix [46]] ServiceEvent REGISTERED[org.springframework.roo.felix [46]] ServiceEvent REGISTERED[org.springframework.roo.uaa [62]] ServiceEvent REGISTERED[org.springframework.roo.project [54]] ServiceEvent REGISTEREDDownloaded 0% of roobot.xml.zip[org.springframework.roo.addon.web.mvc.jsp [42]] ServiceEvent REGISTEREDDownloaded 100% of roobot.xml.zip[org.springframework.roo.addon.web.mvc.jsp [42]] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.embedded [41]] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.embedded [41]] ServiceEvent REGISTEREDDownloaded 100% of roobot.xml.zip[org.springframework.roo.addon.web.mvc.embedded [41]] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.embedded [41]] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.embedded [41]] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.embedded [41]] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.embedded [41]] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.embedded [41]] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.embedded [41]] ServiceEvent REGISTERED[org.springframework.roo.addon.web.flow [39]] ServiceEvent REGISTERED[org.springframework.roo.addon.web.flow [39]] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.jsp [42]] ServiceEvent REGISTERED[org.springframework.roo.uaa [62]] ServiceEvent REGISTERED[org.springframework.roo.addon.roobot.client [33]] ServiceEvent REGISTERED[org.springframework.roo.addon.roobot.client [33]] ServiceEvent REGISTERED[org.springframework.roo.addon.dbre [12]] ServiceEvent REGISTERED[org.springframework.roo.addon.dbre [12]] ServiceEvent REGISTERED[org.springframework.roo.addon.dbre [12]] ServiceEvent REGISTERED[org.springframework.roo.addon.dbre [12]] ServiceEvent REGISTERED[org.springframework.roo.addon.dbre [12]] ServiceEvent REGISTERED[org.springframework.roo.addon.dbre [12]] ServiceEvent REGISTERED[org.springframework.roo.addon.dbre [12]] ServiceEvent REGISTERED[org.springframework.roo.addon.jdbc [20]] ServiceEvent REGISTERED[org.springframework.roo.addon.roobot.client [33]] ServiceEvent REGISTEREDDownloaded 100% of roobot.xml.zip[org.springframework.roo.addon.roobot.client [33]] ServiceEvent REGISTERED[org.springframework.roo.addon.roobot.client [33]] ServiceEvent REGISTERED[org.springframework.roo.addon.roobot.client [33]] ServiceEvent REGISTERED[org.springframework.roo.addon.creator [11]] ServiceEvent REGISTERED[org.springframework.roo.addon.creator [11]] ServiceEvent REGISTERED[org.springframework.roo.url.stream.jdk [64]] ServiceEvent REGISTERED[org.springframework.roo.url.stream.jdk [64]] BundleEvent STARTED[org.springframework.roo.wrapping.bcpg-jdk15 [65]] BundleEvent STARTED[org.springframework.roo.wrapping.bcprov-jdk15 [66]] BundleEvent STARTED[org.springframework.roo.wrapping.hapax [67]] BundleEvent STARTED[org.springframework.roo.wrapping.inflector [68]] BundleEvent STARTED[org.springframework.roo.wrapping.javaparser [69]] BundleEvent STARTED[org.springframework.roo.wrapping.json-simple [70]] BundleEvent STARTED[org.springframework.roo.wrapping.protobuf-java-lite [71]] BundleEvent STARTED[org.springframework.uaa.client [72]] BundleEvent STARTED[org.apache.felix.framework [0]] BundleEvent STARTED[org.apache.felix.framework [0]] FrameworkEvent STARTED[org.apache.felix.framework [0]] FrameworkEvent STARTED[org.apache.felix.framework [0]] FrameworkEvent STARTED[org.apache.felix.framework [0]] FrameworkEvent STARTED[org.apache.felix.framework [0]] FrameworkEvent STARTED[org.apache.felix.framework [0]] FrameworkEvent STARTED[FelixDispatchQueue] Illegal/unsupported escape sequence near index 3
          C:\Users\Developer\
          ^
          java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 3
          C:\Users\Developer\
          ^
          at java.util.regex.Pattern.error(Unknown Source)
          at java.util.regex.Pattern.escape(Unknown Source)
          at java.util.regex.Pattern.atom(Unknown Source)
          at java.util.regex.Pattern.sequence(Unknown Source)
          at java.util.regex.Pattern.expr(Unknown Source)
          at java.util.regex.Pattern.compile(Unknown Source)
          at java.util.regex.Pattern.<init>(Unknown Source)
          at java.util.regex.Pattern.compile(Unknown Source)
          at java.lang.String.replaceAll(Unknown Source)
          at org.springframework.roo.project.PomManagementServiceImpl.getModuleName(PomManagementServiceImpl.java:90)
          at org.springframework.roo.project.PomManagementServiceImpl.updatePomCache(PomManagementServiceImpl.java:157)
          at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModule(PomManagementServiceImpl.java:108)
          at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModuleName(PomManagementServiceImpl.java:116)
          at org.springframework.roo.project.AbstractProjectOperations.getFocusedModuleName(AbstractProjectOperations.java:95)
          at org.springframework.roo.project.AbstractProjectOperations.isFocusedProjectAvailable(AbstractProjectOperations.java:434)
          at org.springframework.roo.addon.dbre.model.DbreModelServiceImpl.getDbreXmlPath(DbreModelServiceImpl.java:118)
          at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.onFileEvent(DbreDatabaseListenerImpl.java:89)
          at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:351)
          at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:324)
          at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:36)
          at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:14)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:183)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager.completeStartup(DefaultProcessManager.java:105)
          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:58)
          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(Unknown Source)
          roo> [org.apache.felix.framework [0]] FrameworkEvent STARTLEVEL CHANGED[org.apache.felix.framework [0]] FrameworkEvent STARTLEVEL CHANGED[org.apache.felix.framework [0]] FrameworkEvent STARTLEVEL CHANGED[org.apache.felix.framework [0]] FrameworkEvent STARTLEVEL CHANGED[org.apache.felix.framework [0]] FrameworkEvent STARTLEVEL CHANGED[org.apache.felix.framework [0]] FrameworkEvent STARTLEVEL CHANGED[org.apache.felix.framework [0]] FrameworkEvent STARTLEVEL CHANGED[Spring Roo Process Manager Background Polling Thread] Illegal/unsupported escape sequence near index 3
          C:\Users\Developer\
          ^
          java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 3
          C:\Users\Developer\
          ^
          at java.util.regex.Pattern.error(Unknown Source)
          at java.util.regex.Pattern.escape(Unknown Source)
          at java.util.regex.Pattern.atom(Unknown Source)
          at java.util.regex.Pattern.sequence(Unknown Source)
          at java.util.regex.Pattern.expr(Unknown Source)
          at java.util.regex.Pattern.compile(Unknown Source)
          at java.util.regex.Pattern.<init>(Unknown Source)
          at java.util.regex.Pattern.compile(Unknown Source)
          at java.lang.String.replaceAll(Unknown Source)
          at org.springframework.roo.project.PomManagementServiceImpl.getModuleName(PomManagementServiceImpl.java:90)
          at org.springframework.roo.project.PomManagementServiceImpl.updatePomCache(PomManagementServiceImpl.java:157)
          at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModule(PomManagementServiceImpl.java:108)
          at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModuleName(PomManagementServiceImpl.java:116)
          at org.springframework.roo.project.AbstractProjectOperations.getFocusedModuleName(AbstractProjectOperations.java:95)
          at org.springframework.roo.project.AbstractProjectOperations.isFocusedProjectAvailable(AbstractProjectOperations.java:434)
          at org.springframework.roo.addon.dbre.model.DbreModelServiceImpl.getDbreXmlPath(DbreModelServiceImpl.java:118)
          at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.onFileEvent(DbreDatabaseListenerImpl.java:89)
          at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:351)
          at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:324)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:181)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager.backgroundPoll(DefaultProcessManager.java:128)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager.timerBasedPoll(DefaultProcessManager.java:243)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager$2.run(DefaultProcessManager.java:71)
          at java.lang.Thread.run(Unknown Source)
          roo> [Spring Roo Process Manager Background Polling Thread] Illegal/unsupported escape sequence near index 3
          C:\Users\Developer\
          ^
          java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 3
          C:\Users\Developer\
          ^
          at java.util.regex.Pattern.error(Unknown Source)
          at java.util.regex.Pattern.escape(Unknown Source)
          at java.util.regex.Pattern.atom(Unknown Source)
          at java.util.regex.Pattern.sequence(Unknown Source)
          at java.util.regex.Pattern.expr(Unknown Source)
          at java.util.regex.Pattern.compile(Unknown Source)
          at java.util.regex.Pattern.<init>(Unknown Source)
          at java.util.regex.Pattern.compile(Unknown Source)
          at java.lang.String.replaceAll(Unknown Source)
          at org.springframework.roo.project.PomManagementServiceImpl.getModuleName(PomManagementServiceImpl.java:90)
          at org.springframework.roo.project.PomManagementServiceImpl.updatePomCache(PomManagementServiceImpl.java:157)
          at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModule(PomManagementServiceImpl.java:108)
          at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModuleName(PomManagementServiceImpl.java:116)
          at org.springframework.roo.project.AbstractProjectOperations.getFocusedModuleName(AbstractProjectOperations.java:95)
          at org.springframework.roo.project.AbstractProjectOperations.isFocusedProjectAvailable(AbstractProjectOperations.java:434)
          at org.springframework.roo.addon.dbre.model.DbreModelServiceImpl.getDbreXmlPath(DbreModelServiceImpl.java:118)
          at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.onFileEvent(DbreDatabaseListenerImpl.java:89)
          at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:351)
          at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:324)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:181)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager.backgroundPoll(DefaultProcessManager.java:128)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager.timerBasedPoll(DefaultProcessManager.java:243)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager$2.run(DefaultProcessManager.java:71)
          at java.lang.Thread.run(Unknown Source)
          roo>

          Show
          Mduduzi Keswa added a comment - Andrew - here it is: ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / , _/ / / / /_/ / / / | |___ /_ __/ 1.2.0.BUILD-SNAPSHOT [rev 6c728a1] Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER. Downloaded 0% of favorites.jsonDownloaded 0% of favorites.jsonDownloaded 0% of favorites.jsonDownloaded 100% of favorites.jsonDownloaded 100% of favorites.jsonDownloaded 100% of favorites.jsonDownloaded 100% of favorites.jsonDownloaded 100% of favorites.json@axcdnt: #SpringRoo is getting better http://t.co/yGZnFGJI Next milestone will add support for JSF. Rapidly and efficient development! roo> Downloaded 100% of favorites.jsonDownloaded 100% of favorites.json[org.springframework.roo.felix [46] ] ServiceEvent REGISTERED[org.springframework.roo.classpath [44] ] ServiceEvent REGISTERED[org.springframework.roo.classpath [44] ] ServiceEvent REGISTERED[org.springframework.roo.classpath [44] ] ServiceEvent REGISTERED[org.springframework.roo.addon.jsf [23] ] ServiceEvent REGISTERED[org.springframework.roo.addon.jsf [23] ] ServiceEvent REGISTERED[org.springframework.roo.shell.jline.osgi [57] ] ServiceEvent REGISTERED[org.springframework.roo.shell.jline.osgi [57] ] ServiceEvent REGISTERED[org.springframework.roo.shell.jline.osgi [57] ] ServiceEvent REGISTERED[org.springframework.roo.felix [46] ] ServiceEvent REGISTERED[org.springframework.roo.felix [46] ] ServiceEvent REGISTERED[org.springframework.roo.felix [46] ] ServiceEvent REGISTERED[org.springframework.roo.felix [46] ] ServiceEvent REGISTERED[org.springframework.roo.felix [46] ] ServiceEvent REGISTERED[org.springframework.roo.felix [46] ] ServiceEvent REGISTERED[org.springframework.roo.felix [46] ] ServiceEvent REGISTERED[org.springframework.roo.uaa [62] ] ServiceEvent REGISTERED[org.springframework.roo.project [54] ] ServiceEvent REGISTEREDDownloaded 0% of roobot.xml.zip[org.springframework.roo.addon.web.mvc.jsp [42] ] ServiceEvent REGISTEREDDownloaded 100% of roobot.xml.zip[org.springframework.roo.addon.web.mvc.jsp [42] ] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.embedded [41] ] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.embedded [41] ] ServiceEvent REGISTEREDDownloaded 100% of roobot.xml.zip[org.springframework.roo.addon.web.mvc.embedded [41] ] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.embedded [41] ] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.embedded [41] ] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.embedded [41] ] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.embedded [41] ] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.embedded [41] ] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.embedded [41] ] ServiceEvent REGISTERED[org.springframework.roo.addon.web.flow [39] ] ServiceEvent REGISTERED[org.springframework.roo.addon.web.flow [39] ] ServiceEvent REGISTERED[org.springframework.roo.addon.web.mvc.jsp [42] ] ServiceEvent REGISTERED[org.springframework.roo.uaa [62] ] ServiceEvent REGISTERED[org.springframework.roo.addon.roobot.client [33] ] ServiceEvent REGISTERED[org.springframework.roo.addon.roobot.client [33] ] ServiceEvent REGISTERED[org.springframework.roo.addon.dbre [12] ] ServiceEvent REGISTERED[org.springframework.roo.addon.dbre [12] ] ServiceEvent REGISTERED[org.springframework.roo.addon.dbre [12] ] ServiceEvent REGISTERED[org.springframework.roo.addon.dbre [12] ] ServiceEvent REGISTERED[org.springframework.roo.addon.dbre [12] ] ServiceEvent REGISTERED[org.springframework.roo.addon.dbre [12] ] ServiceEvent REGISTERED[org.springframework.roo.addon.dbre [12] ] ServiceEvent REGISTERED[org.springframework.roo.addon.jdbc [20] ] ServiceEvent REGISTERED[org.springframework.roo.addon.roobot.client [33] ] ServiceEvent REGISTEREDDownloaded 100% of roobot.xml.zip[org.springframework.roo.addon.roobot.client [33] ] ServiceEvent REGISTERED[org.springframework.roo.addon.roobot.client [33] ] ServiceEvent REGISTERED[org.springframework.roo.addon.roobot.client [33] ] ServiceEvent REGISTERED[org.springframework.roo.addon.creator [11] ] ServiceEvent REGISTERED[org.springframework.roo.addon.creator [11] ] ServiceEvent REGISTERED[org.springframework.roo.url.stream.jdk [64] ] ServiceEvent REGISTERED[org.springframework.roo.url.stream.jdk [64] ] BundleEvent STARTED[org.springframework.roo.wrapping.bcpg-jdk15 [65] ] BundleEvent STARTED[org.springframework.roo.wrapping.bcprov-jdk15 [66] ] BundleEvent STARTED[org.springframework.roo.wrapping.hapax [67] ] BundleEvent STARTED[org.springframework.roo.wrapping.inflector [68] ] BundleEvent STARTED[org.springframework.roo.wrapping.javaparser [69] ] BundleEvent STARTED[org.springframework.roo.wrapping.json-simple [70] ] BundleEvent STARTED[org.springframework.roo.wrapping.protobuf-java-lite [71] ] BundleEvent STARTED[org.springframework.uaa.client [72] ] BundleEvent STARTED[org.apache.felix.framework [0] ] BundleEvent STARTED[org.apache.felix.framework [0] ] FrameworkEvent STARTED[org.apache.felix.framework [0] ] FrameworkEvent STARTED[org.apache.felix.framework [0] ] FrameworkEvent STARTED[org.apache.felix.framework [0] ] FrameworkEvent STARTED[org.apache.felix.framework [0] ] FrameworkEvent STARTED[org.apache.felix.framework [0] ] FrameworkEvent STARTED [FelixDispatchQueue] Illegal/unsupported escape sequence near index 3 C:\Users\Developer\ ^ java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 3 C:\Users\Developer\ ^ at java.util.regex.Pattern.error(Unknown Source) at java.util.regex.Pattern.escape(Unknown Source) at java.util.regex.Pattern.atom(Unknown Source) at java.util.regex.Pattern.sequence(Unknown Source) at java.util.regex.Pattern.expr(Unknown Source) at java.util.regex.Pattern.compile(Unknown Source) at java.util.regex.Pattern.<init>(Unknown Source) at java.util.regex.Pattern.compile(Unknown Source) at java.lang.String.replaceAll(Unknown Source) at org.springframework.roo.project.PomManagementServiceImpl.getModuleName(PomManagementServiceImpl.java:90) at org.springframework.roo.project.PomManagementServiceImpl.updatePomCache(PomManagementServiceImpl.java:157) at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModule(PomManagementServiceImpl.java:108) at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModuleName(PomManagementServiceImpl.java:116) at org.springframework.roo.project.AbstractProjectOperations.getFocusedModuleName(AbstractProjectOperations.java:95) at org.springframework.roo.project.AbstractProjectOperations.isFocusedProjectAvailable(AbstractProjectOperations.java:434) at org.springframework.roo.addon.dbre.model.DbreModelServiceImpl.getDbreXmlPath(DbreModelServiceImpl.java:118) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.onFileEvent(DbreDatabaseListenerImpl.java:89) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:351) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:324) at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:36) at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:14) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:183) at org.springframework.roo.process.manager.internal.DefaultProcessManager.completeStartup(DefaultProcessManager.java:105) 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:58) 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(Unknown Source) roo> [org.apache.felix.framework [0] ] FrameworkEvent STARTLEVEL CHANGED[org.apache.felix.framework [0] ] FrameworkEvent STARTLEVEL CHANGED[org.apache.felix.framework [0] ] FrameworkEvent STARTLEVEL CHANGED[org.apache.felix.framework [0] ] FrameworkEvent STARTLEVEL CHANGED[org.apache.felix.framework [0] ] FrameworkEvent STARTLEVEL CHANGED[org.apache.felix.framework [0] ] FrameworkEvent STARTLEVEL CHANGED[org.apache.felix.framework [0] ] FrameworkEvent STARTLEVEL CHANGED [Spring Roo Process Manager Background Polling Thread] Illegal/unsupported escape sequence near index 3 C:\Users\Developer\ ^ java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 3 C:\Users\Developer\ ^ at java.util.regex.Pattern.error(Unknown Source) at java.util.regex.Pattern.escape(Unknown Source) at java.util.regex.Pattern.atom(Unknown Source) at java.util.regex.Pattern.sequence(Unknown Source) at java.util.regex.Pattern.expr(Unknown Source) at java.util.regex.Pattern.compile(Unknown Source) at java.util.regex.Pattern.<init>(Unknown Source) at java.util.regex.Pattern.compile(Unknown Source) at java.lang.String.replaceAll(Unknown Source) at org.springframework.roo.project.PomManagementServiceImpl.getModuleName(PomManagementServiceImpl.java:90) at org.springframework.roo.project.PomManagementServiceImpl.updatePomCache(PomManagementServiceImpl.java:157) at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModule(PomManagementServiceImpl.java:108) at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModuleName(PomManagementServiceImpl.java:116) at org.springframework.roo.project.AbstractProjectOperations.getFocusedModuleName(AbstractProjectOperations.java:95) at org.springframework.roo.project.AbstractProjectOperations.isFocusedProjectAvailable(AbstractProjectOperations.java:434) at org.springframework.roo.addon.dbre.model.DbreModelServiceImpl.getDbreXmlPath(DbreModelServiceImpl.java:118) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.onFileEvent(DbreDatabaseListenerImpl.java:89) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:351) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:324) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:181) at org.springframework.roo.process.manager.internal.DefaultProcessManager.backgroundPoll(DefaultProcessManager.java:128) at org.springframework.roo.process.manager.internal.DefaultProcessManager.timerBasedPoll(DefaultProcessManager.java:243) at org.springframework.roo.process.manager.internal.DefaultProcessManager$2.run(DefaultProcessManager.java:71) at java.lang.Thread.run(Unknown Source) roo> [Spring Roo Process Manager Background Polling Thread] Illegal/unsupported escape sequence near index 3 C:\Users\Developer\ ^ java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 3 C:\Users\Developer\ ^ at java.util.regex.Pattern.error(Unknown Source) at java.util.regex.Pattern.escape(Unknown Source) at java.util.regex.Pattern.atom(Unknown Source) at java.util.regex.Pattern.sequence(Unknown Source) at java.util.regex.Pattern.expr(Unknown Source) at java.util.regex.Pattern.compile(Unknown Source) at java.util.regex.Pattern.<init>(Unknown Source) at java.util.regex.Pattern.compile(Unknown Source) at java.lang.String.replaceAll(Unknown Source) at org.springframework.roo.project.PomManagementServiceImpl.getModuleName(PomManagementServiceImpl.java:90) at org.springframework.roo.project.PomManagementServiceImpl.updatePomCache(PomManagementServiceImpl.java:157) at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModule(PomManagementServiceImpl.java:108) at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModuleName(PomManagementServiceImpl.java:116) at org.springframework.roo.project.AbstractProjectOperations.getFocusedModuleName(AbstractProjectOperations.java:95) at org.springframework.roo.project.AbstractProjectOperations.isFocusedProjectAvailable(AbstractProjectOperations.java:434) at org.springframework.roo.addon.dbre.model.DbreModelServiceImpl.getDbreXmlPath(DbreModelServiceImpl.java:118) at org.springframework.roo.addon.dbre.DbreDatabaseListenerImpl.onFileEvent(DbreDatabaseListenerImpl.java:89) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:351) at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:324) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:181) at org.springframework.roo.process.manager.internal.DefaultProcessManager.backgroundPoll(DefaultProcessManager.java:128) at org.springframework.roo.process.manager.internal.DefaultProcessManager.timerBasedPoll(DefaultProcessManager.java:243) at org.springframework.roo.process.manager.internal.DefaultProcessManager$2.run(DefaultProcessManager.java:71) at java.lang.Thread.run(Unknown Source) roo>
          Hide
          Andrew Swan added a comment -

          Replicated this on Windows 7 32-bit.

          Show
          Andrew Swan added a comment - Replicated this on Windows 7 32-bit.
          Hide
          Andrew Swan added a comment -

          This error and one like it in TypeLocationServiceImpl are fixed by Git commit 1d1906ba530ac36561cc707036c42e783637d287.

          The problem was that we were using String methods that search on regular expressions, and did not allow for the fact that on Windows, the File.separator character has a special meaning within regular expressions. I have searched all of Roo for other usages of String#replaceAll and String#replaceFirst and changed them (in a future commit) to not use regexs where it's not necessary.

          Show
          Andrew Swan added a comment - This error and one like it in TypeLocationServiceImpl are fixed by Git commit 1d1906ba530ac36561cc707036c42e783637d287 . The problem was that we were using String methods that search on regular expressions, and did not allow for the fact that on Windows, the File.separator character has a special meaning within regular expressions. I have searched all of Roo for other usages of String#replaceAll and String#replaceFirst and changed them (in a future commit) to not use regexs where it's not necessary.
          Hide
          Mduduzi Keswa added a comment -

          What's git sequence to checkout this specific commit - so that I can try the fix. I'm not familiar with git. Thanks.

          Show
          Mduduzi Keswa added a comment - What's git sequence to checkout this specific commit - so that I can try the fix. I'm not familiar with git. Thanks.
          Hide
          Mduduzi Keswa added a comment -

          Figured out git. Another issue - build issue. I filed this as https://jira.springsource.org/browse/ROO-2869.
          Thanks for your help.

          Show
          Mduduzi Keswa added a comment - Figured out git. Another issue - build issue. I filed this as https://jira.springsource.org/browse/ROO-2869 . Thanks for your help.

            People

            • Assignee:
              Andrew Swan
              Reporter:
              Mduduzi Keswa
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: