WebGIS Discussions

Need a push in the right direction when configuring WebMap, Portal or SDI services? Looking for hints and tips, or just looking for Ideas and information? The WebGIS discussion board is where you start those discussions, connect and share information.
Showing results for 
Search instead for 
Do you mean 
Reply
Staff
Posts: 20
Registered: ‎03-16-2020

GeoMedia WebMap 2020 Update 1 (16.6.1.45)

Hi All,

 

I have updated GeoMedia WebMap 2020 Update 1 (16.6.1.45) & Geomedia Desktop to 2020 Update1.

When configure the GeoMedia WebMap Mobile through Mobile publisher i'm getting following error.

Error.PNG

 

Aint able to login in my Mobile application too.

Kinldy provide any workaround for the problem.

Thanks in advance

 

Regards

VIPLAW

Technical Evangelist
Posts: 1,424
Registered: ‎09-11-2015

Re: GeoMedia WebMap 2020 Update 1 (16.6.1.45)

Hi Viplaw,

 

Please enable the logs and check for the error details there:

For Mobile Publisher (GeoMedia command):

https://hexagongeospatial.fluidtopics.net/reader/u9P896rRc4dErjFmtmtV8Q/yJSVbrUBKxFJP0rgUlVH~A

 

For the service:

  • edit C:\Program Files\Common Files\Hexagon\Services\AdminInstances\MobileBackend\web.config in similar like above (log4net section)
  • check service log in the C:\Program Files\Common Files\Hexagon\Services\AdminInstances\MobileBackend\App_Data\Log
Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Staff
Posts: 20
Registered: ‎03-16-2020

Re: GeoMedia WebMap 2020 Update 1 (16.6.1.45)

[ Edited ]

Hi Jan 

 

Thanks for the swift reply.

 

I've enabled the logs for mobile publisher & found teh following errors in the Log. (attached for your reference)

 

2020-09-17 19:41:21,142 [1] ERROR Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Common.UnhandledExceptionHandler - Sequence contains no matching element
2020-09-17 19:41:21,188 [1] ERROR Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Common.UnhandledExceptionHandler - at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)

 

2020-09-17 19:41:19,155 [1] ERROR Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Jobs.JobsCommand -    at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Model.ConfigurationLoader.<>c__DisplayClass7_0.<PrepareAttributeMetadataForConfigurator>b__1(AttributeMetadata attributeMetadata)
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Model.ConfigurationLoader.PrepareAttributeMetadataForConfigurator(AppConfiguration configuration, String legendEntryMoniker, IEnumerable`1 geomediaAttributeList)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Model.ConfigurationLoader.GetAttributesForLegendEntryFromConfiguration(AppConfiguration configuration, String legendEntryMoniker, IEnumerable`1 geomediaAttributeList)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Model.JobRepository.GetAttributesForLegendEntry(TransitionalLegendEntry legendEntry, Job job, AppConfiguration mobileConfiguration)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Model.JobRepository.<>c__DisplayClass30_0.<SynchronizeAttributesWithStore>b__0(TransitionalLegendEntry legendEntry)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Model.JobRepository.SynchronizeAttributesWithStore(Job job, IList`1 legendEntries, AppConfiguration mobileConfiguration)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Model.JobRepository.SynchronizeLegendEntriesWithStore(Job job, IList`1 legendEntries, AppConfiguration mobileConfiguration)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Model.JobRepository.UpgradeToFullJob(Job baseJob)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Jobs.JobsPresenter.OpenJobProperties(Int32 indexInView)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Jobs.JobsPresenter.EditProperties(Int32 jobIndexInView)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Jobs.JobsView.JobGridView_CellContentClick(Object sender, DataGridViewCellEventArgs e)
   at System.Windows.Forms.DataGridView.OnCellContentClick(DataGridViewCellEventArgs e)
   at System.Windows.Forms.DataGridView.OnCommonCellContentClick(Int32 columnIndex, Int32 rowIndex, Boolean doubleClick)
   at System.Windows.Forms.DataGridViewCell.OnMouseUpInternal(DataGridViewCellMouseEventArgs e)
   at System.Windows.Forms.DataGridView.OnCellMouseUp(DataGridViewCellMouseEventArgs e)
   at System.Windows.Forms.DataGridView.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.DataGridView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
2020-09-17 19:41:19,781 [1] DEBUG Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Common.ApplicationConfigurationProvider - Assembly folder path: C:\Program Files (x86)\Hexagon\GeoMedia WebMap\Program
2020-09-17 19:41:21,188 [1] ERROR Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Common.UnhandledExceptionHandler -    at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Model.ConfigurationLoader.<>c__DisplayClass7_0.<PrepareAttributeMetadataForConfigurator>b__1(AttributeMetadata attributeMetadata)
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Model.ConfigurationLoader.PrepareAttributeMetadataForConfigurator(AppConfiguration configuration, String legendEntryMoniker, IEnumerable`1 geomediaAttributeList)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Model.ConfigurationLoader.GetAttributesForLegendEntryFromConfiguration(AppConfiguration configuration, String legendEntryMoniker, IEnumerable`1 geomediaAttributeList)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Model.JobRepository.GetAttributesForLegendEntry(TransitionalLegendEntry legendEntry, Job job, AppConfiguration mobileConfiguration)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Model.JobRepository.<>c__DisplayClass30_0.<SynchronizeAttributesWithStore>b__0(TransitionalLegendEntry legendEntry)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Model.JobRepository.SynchronizeAttributesWithStore(Job job, IList`1 legendEntries, AppConfiguration mobileConfiguration)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Model.JobRepository.SynchronizeLegendEntriesWithStore(Job job, IList`1 legendEntries, AppConfiguration mobileConfiguration)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Model.JobRepository.UpgradeToFullJob(Job baseJob)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Jobs.JobsPresenter.<FetchJobsMissingData>b__34_0(Job job)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Jobs.JobsPresenter.FetchJobsMissingData()
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Jobs.JobsPresenter.<SaveJobsChangesAsync>d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Com.Hexagon.Gsp.Gwm.Publisher.Mobile.Core.Jobs.Jobs.JobsView.<OkButton_Click>d__25.MoveNext()
Technical Evangelist
Posts: 1,424
Registered: ‎09-11-2015

Re: GeoMedia WebMap 2020 Update 1 (16.6.1.45)

Looks like no attribute options have been loaded for some or all (?) legend entries. It is hard to tell exactly what has gone wrong without further investigation. You could try to create a new Work with another data source (new GWS, with e.g. same WFS-T service) and see how that will work.

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Staff
Posts: 20
Registered: ‎03-16-2020

Re: GeoMedia WebMap 2020 Update 1 (16.6.1.45)

Thanks Jan & sorry for delayed reply.

 

I ll check with the new Geoworkspace with same WFS-T & Let see the results.

 

Regards

VIPLAW