Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-9358

Enforce reading of nuxeo.conf

    XMLWordPrintable

    Details

    • Tags:
    • Backlog priority:
      250

      Description

      Enforce reading to avoid StringIndexOutOfBoundsException like in the following stacktrace:

      java.lang.StringIndexOutOfBoundsException: String index out of range: -2  at java.lang.String.substring(String.java:1937) 
      	at org.nuxeo.launcher.config.ConfigurationGenerator.loadConfiguration(ConfigurationGenerator.java:863)  
      	at org.nuxeo.launcher.config.ConfigurationGenerator.saveConfiguration(ConfigurationGenerator.java:691)  
      	at org.nuxeo.launcher.config.ConfigurationGenerator.saveConfiguration(ConfigurationGenerator.java:670)  
      	at org.nuxeo.launcher.config.ConfigurationGenerator.saveFilteredConfiguration(ConfigurationGenerator.java:716)  
      	at org.nuxeo.launcher.config.ConfigurationGenerator.addTemplate(ConfigurationGenerator.java:1233)  
      	at org.nuxeo.connect.update.impl.task.commands.Config.doRun(Config.java:78)  
      	at org.nuxeo.connect.update.impl.task.commands.AbstractCommand.run(AbstractCommand.java:112) 
      	at org.nuxeo.connect.update.impl.task.CommandsTask.doRun(CommandsTask.java:119)  
      	at org.nuxeo.connect.update.impl.task.InstallTask.doRun(InstallTask.java:51)  
      	at org.nuxeo.connect.update.impl.task.AbstractTask.run(AbstractTask.java:255) 
      	at org.nuxeo.ecm.admin.offline.update.LocalPackageManager.performTask(LocalPackageManager.java:433) 
      	at org.nuxeo.ecm.admin.offline.update.LocalPackageManager.install(LocalPackageManager.java:476)  
      	at org.nuxeo.ecm.admin.offline.update.LocalPackageManager.run(LocalPackageManager.java:281)  
      	at org.nuxeo.ecm.admin.offline.update.LocalPackageManager.main(LocalPackageManager.java:228)
      

        Attachments

          Activity

            People

            • Assignee:
              jcarsique Julien Carsique
              Reporter:
              jcarsique Julien Carsique
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified