Forums Archived

This forum has been archived. No new posts can be made and no new users can sign up. It remains here for reference only.

Find the new forums here

Can't create an AMP instance

  • 834 Views
  • Last Post 09 January 2019
  • Topic Is Solved
Kevin Meatman posted this 08 January 2019

Hello,

today I tried to "update" to 1.7 but now when I try to use the command "ampinstmgr quickstart USERNAME PASSWORD" the error "Object reference not set to an instance of an object" appiers. "Update" means that I created an new Hyper-V to have a clear sytem.

Full error code: Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at (wrapper stelemref) System.Object:virtstelemrefsealedclass (intptr,object) at System.Array.QSortArrange[K,V] (K[] keys, V[] items, System.Int32 lo, System.Int32 hi, System.Collections.Generic.IComparer1[T] comparer) [0x0001f] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Array.qsort[K,V] (K[] keys, V[] items, System.Int32 low0, System.Int32 high0, System.Collections.Generic.IComparer1[T] comparer) [0x00140] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Array.SortImpl[TKey,TValue] (TKey[] keys, TValue[] items, System.Int32 index, System.Int32 length, System.Collections.Generic.IComparer1[T] comparer) [0x00169] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Array.Sort[TKey,TValue] (TKey[] keys, TValue[] items, System.Collections.Generic.IComparer1[T] comparer) [0x0002c] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Enum.GetCachedValuesAndNames (System.RuntimeType enumType, System.Boolean getNames) [0x00031] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Enum.InternalGetValues (System.RuntimeType enumType) [0x00000] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.RuntimeType.GetEnumName (System.Object value) [0x0003a] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Enum.GetName (System.Type enumType, System.Object value) [0x00014] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Enum.InternalFormat (System.RuntimeType eT, System.Object value) [0x00013] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Enum.ToString () [0x00011] in <3574b7750bbd4f3481d1561b74d01b33>:0 at ModuleShared.ConsoleLogger.WriteLine (ModuleShared.LogLevels level, System.String line) [0x0005a] in <07ab177f43614883a9507578befe0c06>:0 at ModuleShared.ConsoleLogger.Info (System.String message) [0x00000] in <07ab177f43614883a9507578befe0c06>:0 at InstanceManagerCLI.Core.Run () [0x00085] in :0 at InstanceManagerCLI.Program.Main (System.String[] args) [0x00005] in :0 [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object at (wrapper stelemref) System.Object:virtstelemrefsealedclass (intptr,object) at System.Array.QSortArrange[K,V] (K[] keys, V[] items, System.Int32 lo, System.Int32 hi, System.Collections.Generic.IComparer1[T] comparer) [0x0001f] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Array.qsort[K,V] (K[] keys, V[] items, System.Int32 low0, System.Int32 high0, System.Collections.Generic.IComparer1[T] comparer) [0x00140] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Array.SortImpl[TKey,TValue] (TKey[] keys, TValue[] items, System.Int32 index, System.Int32 length, System.Collections.Generic.IComparer1[T] comparer) [0x00169] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Array.Sort[TKey,TValue] (TKey[] keys, TValue[] items, System.Collections.Generic.IComparer1[T] comparer) [0x0002c] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Enum.GetCachedValuesAndNames (System.RuntimeType enumType, System.Boolean getNames) [0x00031] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Enum.InternalGetValues (System.RuntimeType enumType) [0x00000] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.RuntimeType.GetEnumName (System.Object value) [0x0003a] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Enum.GetName (System.Type enumType, System.Object value) [0x00014] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Enum.InternalFormat (System.RuntimeType eT, System.Object value) [0x00013] in <3574b7750bbd4f3481d1561b74d01b33>:0 at System.Enum.ToString () [0x00011] in <3574b7750bbd4f3481d1561b74d01b33>:0 at ModuleShared.ConsoleLogger.WriteLine (ModuleShared.LogLevels level, System.String line) [0x0005a] in <07ab177f43614883a9507578befe0c06>:0 at ModuleShared.ConsoleLogger.Info (System.String message) [0x00000] in <07ab177f43614883a9507578befe0c06>:0 at InstanceManagerCLI.Core.Run () [0x00085] in :0 at InstanceManagerCLI.Program.Main (System.String[] args) [0x00005] in :0

Thank you for your help!

Order By: Standard | Newest | Votes
Mike posted this 08 January 2019

There's a known bug in AMP. A temporary workaround is to put:

AMP_LOG_LEVEL=5 in front of your command.

So:

AMP_LOG_LEVEL=5 ampinstmgr create......

  • Liked by
  • Kevin Meatman
Kevin Meatman posted this 08 January 2019

Okay, that worked. But now I have the problem that it says "Logging in ..." all the time.

Mike posted this 08 January 2019

Which mode are you using in ADS?

Kevin Meatman posted this 08 January 2019

I didn't get to choose a mode.

Mike posted this 08 January 2019

Hit CTRL+F5 in the browser.

  • Liked by
  • Kevin Meatman
Kevin Meatman posted this 09 January 2019

It worked. wtf xD

Close