Expand my Community achievements bar.

SOLVED

Dispatcher on windows throws error default was unexpected at this time

Avatar

Level 2

Hi everyone,

 

i am experiencing issues while loading dispatcher on windows machine, it throws below error message 

 

'default was unexpected at this time'

 

dispatcher.png

 

I am using AEM as a cloud service and windows 10.

 

Any thoughts?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Community Advisor

Hi @imalakaamir ,

Command looks correct, don't see any issue. 

Can you try

  1. Run above command as a elevated user or run as Administrator.
  2.  bin\docker_run src host.docker.internal:4503 8080
  3. Downloading fresh/latest dispatcher sdk from Software Distribution or from drive. (The error you are getting is about something wrong with batch script which you have under bin)

Make sure docker is running on port 8080.

Hope that helps! Ignore if already done.

Regards,

Santosh

Avatar

Correct answer by
Community Advisor

Avatar

Community Advisor

Hi all,

This error is more related to dispatcher tool's batch file as this file has issue with some windows  version & some machine.

So instead of wasting time in docker version or AEM we should debug batch file based on error we get.

We can use echo command intuitively for debug purpose and  add/remove/delete batch cmd  or correct the syntax.

This issue resolved by removing(or comment) if condition from batch file shown below.

This if statement is redundant(obsolete)  for the mentioned command as it will always evaluates to false so we can change based on requirement.

 

dockerfile.png

 

Reference - Similar issue https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/vanilla-local-install-of-d...