Getting error with auto export if enable, i have added logs and config screen shot for better understanding

Hi All,

i am getting below error, if enable

auto export enable. please let me know what i have to do.
===========Error stack ======

5:09:24 INFO Changes to repository path ‘/’ will be exported to directory ‘repository-data/application’

[ INFO ] [talledLocalContainer] 15:09:24 INFO Changes to repository path ‘/hst:MobileAppCMS’ will be exported to directory ‘repository-data/site’

[ INFO ] [talledLocalContainer] 15:09:24 INFO Module at ‘repository-data/development’ registered to update existing definitions via auto-export without mapping to a repository path

[ INFO ] [talledLocalContainer] 15:09:24 INFO Module at ‘repository-data/site-development’ registered to update existing definitions via auto-export without mapping to a repository path

[ INFO ] [talledLocalContainer] 15:09:24 INFO autoexport service enabled

[ INFO ] [talledLocalContainer] 15:09:24 INFO autoexport is processing changes…

[ INFO ] [talledLocalContainer] 15:09:25 ERROR Processing events failed:

[ INFO ] [talledLocalContainer] java.lang.ArrayIndexOutOfBoundsException: -1

[ INFO ] [talledLocalContainer] at java.util.ArrayList.elementData(ArrayList.java:422) ~[?:1.8.0_191]

[ INFO ] [talledLocalContainer] at java.util.ArrayList.get(ArrayList.java:435) ~[?:1.8.0_191]

[ INFO ] [talledLocalContainer] at java.util.Collections$UnmodifiableList.get(Collections.java:1309) ~[?:1.8.0_191]

[ INFO ] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.DefinitionMergeService.mergePropertyThatShouldExist(DefinitionMergeService.java:1742) ~[hippo-repository-engine-14.2.1.jar:14.2.1]

[ INFO ] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.DefinitionMergeService.mergeProperty(DefinitionMergeService.java:1696) ~[hippo-repository-engine-14.2.1.jar:14.2.1]

[ INFO ] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.DefinitionMergeService.mergeConfigDefinitionNode(DefinitionMergeService.java:888) ~[hippo-repository-engine-14.2.1.jar:14.2.1]

[ INFO ] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.DefinitionMergeService.mergeChangesToModules(DefinitionMergeService.java:270) ~[hippo-repository-engine-14.2.1.jar:14.2.1]

[ INFO ] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.EventJournalProcessor.exportChangesModule(EventJournalProcessor.java:587) ~[hippo-repository-engine-14.2.1.jar:14.2.1]

[ INFO ] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.EventJournalProcessor.processEvents(EventJournalProcessor.java:364) ~[hippo-repository-engine-14.2.1.jar:14.2.1]

[ INFO ] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.EventJournalProcessor.tryProcessEvents(EventJournalProcessor.java:251) ~[hippo-repository-engine-14.2.1.jar:14.2.1]

[ INFO ] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.EventJournalProcessor.lambda$new$0(EventJournalProcessor.java:125) ~[hippo-repository-engine-14.2.1.jar:14.2.1]

[ INFO ] [talledLocalContainer] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_191]

[ INFO ] [talledLocalContainer] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_191]

[ INFO ] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_191]

[ INFO ] [talledLocalContainer] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_191]

[ INFO ] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191]

[ INFO ] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191]

[ INFO ] [talledLocalContainer] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]

[ INFO ] [talledLocalContainer] 15:09:25 INFO autoexport is processing changes…

thanks & regards
Ganesh

If you look at your config in your autoexport:modules you will see each entry contains 2 elements seperated by an : except “repository-data/development”

the first element is where on your local filesystem it should store the data (relatively) and the second is WHAT it should store there.

repository-data/development is being told to export to repository-data/development but has no HST paths which it can export.

It should look something like “repository-data/development:/hst:development” (obviously placeholder)

edit:
the same goes for repository-data/site-development, while it does have a second element, it doesn’t seem to correspond to an existing HST repository path.