Institutt for maskin- og maritime studium

Institutt for maskin- og maritime studium har om lag 855 studentar og 73 tilsette (årsverk).

Instituttet er lokalisert i Bergen og Haugesund.

Vi utdannar framtidas ingeniørar og har maritime utdanningar på bachelor-, master- og ph.d.-nivå.

Leiing:

Error while rendering PersonWithImageBlock Jorunn Stensnæs

A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection() at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync() at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at HVL.Employees.Repositories.EmployeeRepository.GetEmployeesByIdAsync(Int32 id, Boolean asNoTracking) in D:\a\1\s\source\HVL.Employees\Repositories\EmployeeRepository.cs:line 31 at HVL.Employees.Services.EmployeeIntegration.GetEmployeesByIdAsync(Int32 id, Boolean asNoTracking) in D:\a\1\s\source\HVL.Employees\Services\EmployeeIntegration.cs:line 32 at HVL.Providers.EmployeeProvider.EmployeeDataProvider.<>c__DisplayClass10_0.<<LoadContent>b__1>d.MoveNext() in D:\a\1\s\source\HVL\Providers\EmployeeProvider\EmployeeDataProvider.cs:line 57 --- End of stack trace from previous location --- at HVL.Providers.EmployeeProvider.EmployeeDataProvider.LoadContent(ContentReference contentLink, ILanguageSelector languageSelector) in D:\a\1\s\source\HVL\Providers\EmployeeProvider\EmployeeDataProvider.cs:line 57 at EPiServer.Core.ContentProvider.<>c__DisplayClass123_0.<LoadContentFromCacheOrRepository>b__0() at EPiServer.Framework.Cache.ObjectInstanceCacheExtensions.ReadThroughWithWait[T](IObjectInstanceCache cache, String cacheKey, Func`1 readValue, Func`2 evictionPolicy) at EPiServer.Framework.Cache.ObjectInstanceCacheExtensions.ReadThrough[T](IObjectInstanceCache cache, String key, Func`1 readValue, Func`2 evictionPolicy, ReadStrategy readStrategy) at EPiServer.Core.Internal.ContentInstanceCache.ReadThrough(ContentReference contentLink, String selectedLanguage, Func`1 readValue) at EPiServer.Core.ContentProvider.LoadContentFromCacheOrRepository(ContentReference contentreference, ILanguageSelector selector) at EPiServer.Core.Internal.ProviderPipelineImplementation.GetItem(ContentProvider provider, ContentReference contentLink, LoaderOptions loaderOptions) at EPiServer.Core.Internal.DefaultContentLoader.TryGet[T](ContentReference contentLink, LoaderOptions loaderOptions, T& content) at EPiServer.Core.Html.StringParsing.ContentFragment.GetContent(Boolean enableMasterLanguageFallback) at EPiServer.Core.Html.StringParsing.ContentFragment.GetSecurityDescriptor() at EPiServer.Core.Html.StringParsing.StringFragmentCollection.GetFilteredFragments(IPrincipal principal) at HVL.Features.Components.PersonWithImage.PersonWithImageBlockController.GetEmployeeDataIfExists(PersonWithImageBlock currentBlock) in D:\a\1\s\source\HVL\Features\Components\PersonWithImage\PersonWithImageBlockController.cs:line 61 at HVL.Features.Components.PersonWithImage.PersonWithImageBlockController.InvokeComponentAsync(PersonWithImageBlock currentBlock) in D:\a\1\s\source\HVL\Features\Components\PersonWithImage\PersonWithImageBlockController.cs:line 21 at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsyncCore(ObjectMethodExecutor executor, Object component, ViewComponentContext context) at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context) at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context) at EPiServer.Cms.AspNetCore.Mvc.Internal.DefaultMvcContentRenderer.RenderAsync(ViewContext viewContext, IContentData contentData, TemplateModel templateModel, String templateTag) at EPiServer.Cms.AspNetCore.Mvc.Internal.DefaultMvcContentRenderer.RenderAsync(IHtmlHelper helper, IContentData contentData, TemplateModel templateModel) at EPiServer.Web.Mvc.MvcContentRenderer.RenderAsync(IHtmlHelper helper, IContentData contentData, TemplateModel templateModel) at HVL.Business.Rendering.ErrorHandlingContentRenderer.RenderAsync(IHtmlHelper helper, IContentData contentData, TemplateModel templateModel) in D:\a\1\s\source\HVL\Business\Rendering\ErrorHandlingContentRenderer.cs:line 31

bilde av Nils Ottar Antonsen

Nils Ottar Antonsen

Assisterande instituttleiar, energi- og produksjonsfag

bilde av Hassan Momeni

Hassan Momeni

Assisterande instituttleiar, maskin- og marinfag

Error while rendering PersonWithImageBlock Robert Drønen

A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection() at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync() at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at HVL.Employees.Repositories.EmployeeRepository.GetEmployeesByIdAsync(Int32 id, Boolean asNoTracking) in D:\a\1\s\source\HVL.Employees\Repositories\EmployeeRepository.cs:line 31 at HVL.Employees.Services.EmployeeIntegration.GetEmployeesByIdAsync(Int32 id, Boolean asNoTracking) in D:\a\1\s\source\HVL.Employees\Services\EmployeeIntegration.cs:line 32 at HVL.Providers.EmployeeProvider.EmployeeDataProvider.<>c__DisplayClass10_0.<<LoadContent>b__1>d.MoveNext() in D:\a\1\s\source\HVL\Providers\EmployeeProvider\EmployeeDataProvider.cs:line 57 --- End of stack trace from previous location --- at HVL.Providers.EmployeeProvider.EmployeeDataProvider.LoadContent(ContentReference contentLink, ILanguageSelector languageSelector) in D:\a\1\s\source\HVL\Providers\EmployeeProvider\EmployeeDataProvider.cs:line 57 at EPiServer.Core.ContentProvider.<>c__DisplayClass123_0.<LoadContentFromCacheOrRepository>b__0() at EPiServer.Framework.Cache.ObjectInstanceCacheExtensions.ReadThroughWithWait[T](IObjectInstanceCache cache, String cacheKey, Func`1 readValue, Func`2 evictionPolicy) at EPiServer.Framework.Cache.ObjectInstanceCacheExtensions.ReadThrough[T](IObjectInstanceCache cache, String key, Func`1 readValue, Func`2 evictionPolicy, ReadStrategy readStrategy) at EPiServer.Core.Internal.ContentInstanceCache.ReadThrough(ContentReference contentLink, String selectedLanguage, Func`1 readValue) at EPiServer.Core.ContentProvider.LoadContentFromCacheOrRepository(ContentReference contentreference, ILanguageSelector selector) at EPiServer.Core.Internal.ProviderPipelineImplementation.GetItem(ContentProvider provider, ContentReference contentLink, LoaderOptions loaderOptions) at EPiServer.Core.Internal.DefaultContentLoader.TryGet[T](ContentReference contentLink, LoaderOptions loaderOptions, T& content) at EPiServer.Core.Html.StringParsing.ContentFragment.GetContent(Boolean enableMasterLanguageFallback) at EPiServer.Core.Html.StringParsing.ContentFragment.GetSecurityDescriptor() at EPiServer.Core.Html.StringParsing.StringFragmentCollection.GetFilteredFragments(IPrincipal principal) at HVL.Features.Components.PersonWithImage.PersonWithImageBlockController.GetEmployeeDataIfExists(PersonWithImageBlock currentBlock) in D:\a\1\s\source\HVL\Features\Components\PersonWithImage\PersonWithImageBlockController.cs:line 61 at HVL.Features.Components.PersonWithImage.PersonWithImageBlockController.InvokeComponentAsync(PersonWithImageBlock currentBlock) in D:\a\1\s\source\HVL\Features\Components\PersonWithImage\PersonWithImageBlockController.cs:line 21 at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsyncCore(ObjectMethodExecutor executor, Object component, ViewComponentContext context) at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context) at Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker.InvokeAsync(ViewComponentContext context) at EPiServer.Cms.AspNetCore.Mvc.Internal.DefaultMvcContentRenderer.RenderAsync(ViewContext viewContext, IContentData contentData, TemplateModel templateModel, String templateTag) at EPiServer.Cms.AspNetCore.Mvc.Internal.DefaultMvcContentRenderer.RenderAsync(IHtmlHelper helper, IContentData contentData, TemplateModel templateModel) at EPiServer.Web.Mvc.MvcContentRenderer.RenderAsync(IHtmlHelper helper, IContentData contentData, TemplateModel templateModel) at HVL.Business.Rendering.ErrorHandlingContentRenderer.RenderAsync(IHtmlHelper helper, IContentData contentData, TemplateModel templateModel) in D:\a\1\s\source\HVL\Business\Rendering\ErrorHandlingContentRenderer.cs:line 31

Senter for sjøsikkerhet skal bidra til regional utvikling av Vestlandet gjennom maritim kunnskapsutvikling, og jobbe for at HVL skal være en attraktiv og foretrukket samarbeidspartner. Vi utvikler prosjekter og skaper møteplasser mellom HVL og maritimt næringsliv.

Studenter på MarinLab

Det 50 meter lange skipsmodell-laboratoriumet MarinLab har ei fullautomatisert bølgemaskin. Laboratoriumet blir brukt til undervisning, studentprosjekt og forsking i samarbeid med industrien.

Hydrogen-sentrene for yrkesfaglig fremragende kompetanse (Hydrogen Centers of Vocational Excellence) har som mål å styrke enkeltpersoner og organisasjoner gjennom utvikling av ferdighetene som trengs for å drive frem hydrogensamfunnet. Gjennom samarbeid mellom regioner over hele Europa arbeides det for å skape et levende nettverk av yrkesfaglig fremragende kompetanse, som knytter sammen utdanningsinstitusjoner, næringsliv og lokalsamfunn. Visjonen er å utvikle en kompetent arbeidsstyrke som kan drive innovasjon innen ren energi, og som dermed bidrar til bærekraftig vekst og økt miljømessig motstandsdyktighet.