PSIcapture Migration: Connecting to Live Link throws exception for 'java.util.Locale'

Problem: 

 

When configuring a migration to Live Link (OpenText) you may receive the following error:

[9/27/2017 10:24:12 AM - Error - v6.1.0.13]
The type initializer for 'java.util.Locale' threw an exception.
at java.util.Locale.getDefault()
at com.ms.vjsharp.lang.StringImpl.toUpperCase(String mrString)
at com.opentext.api.LLName..ctor(String s)
at com.opentext.api.LLNameTable.add(String name, LLValue value)
at com.opentext.api.LLAssoc.add(String name, LLValue value)
at com.opentext.api.LLValue.add(String name, LLValue value)
at com.opentext.api.LLConnect.marshall(String argName, String argValue)
at com.opentext.api.LLConnect.initCall(String apiName)
at com.opentext.api.LAPI_DOCUMENTS.AccessPersonalWS(LLValue personalInfo)
at EasyLAPINET.Session.getPersonalWorkspace()
at PSIGEN.Capture.Migrations.Livelink.LivelinkDirectSettingsConfiguration.TestConnection(String serverAddress, Int32 port, String userName, String password)
=== INNER EXCEPTION ===
Unable to load DLL 'vjsnativ': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at java.lang.ExceptionInInitializerError.checkAndThrowException(Throwable thrown)
at java.util.Locale..cctor()
=== INNER EXCEPTION ===
Unable to load DLL 'vjsnativ': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at com.ms.vjsharp.windowing.win32.UnsafeWin32Calls.GetLocaleInfovjsnativ(Int32 lcid, Int32 lctype, StringBuilder lpLCData, Int32 cchData)
at com.ms.vjsharp.windowing.win32.UnsafeWin32Calls.GetLocaleInfo(Int32 lcid, Int32 lctype, StringBuffer lpLCData, Int32 cchData)
at java.util.Locale..ctor(CultureInfo ci, String language, String ctryRgn, String variant)
at java.util.Locale..ctor(String languageCode, String ctryRgnCode)
at java.util.Locale..cctor()

[9/27/2017 10:25:54 AM - Error - v6.1.0.13]
The type initializer for 'java.util.Locale' threw an exception.
at java.util.Locale.getDefault()
at com.ms.vjsharp.lang.StringImpl.toUpperCase(String mrString)
at com.opentext.api.LLName..ctor(String s)
at com.opentext.api.LLNameTable.add(String name, LLValue value)
at com.opentext.api.LLAssoc.add(String name, LLValue value)
at com.opentext.api.LLValue.add(String name, LLValue value)
at com.opentext.api.LLConnect.marshall(String argName, String argValue)
at com.opentext.api.LLConnect.initCall(String apiName)
at com.opentext.api.LAPI_DOCUMENTS.AccessPersonalWS(LLValue personalInfo)
at EasyLAPINET.Session.getPersonalWorkspace()
at PSIGEN.Capture.Migrations.Livelink.LivelinkDirectSettingsConfiguration.TestConnection(String serverAddress, Int32 port, String userName, String password)
=== INNER EXCEPTION ===
Unable to load DLL 'vjsnativ': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at java.lang.ExceptionInInitializerError.checkAndThrowException(Throwable thrown)
at java.util.Locale..cctor()
=== INNER EXCEPTION ===
Unable to load DLL 'vjsnativ': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at com.ms.vjsharp.windowing.win32.UnsafeWin32Calls.GetLocaleInfovjsnativ(Int32 lcid, Int32 lctype, StringBuilder lpLCData, Int32 cchData)
at com.ms.vjsharp.windowing.win32.UnsafeWin32Calls.GetLocaleInfo(Int32 lcid, Int32 lctype, StringBuffer lpLCData, Int32 cchData)
at java.util.Locale..ctor(CultureInfo ci, String language, String ctryRgn, String variant)
at java.util.Locale..ctor(String languageCode, String ctryRgnCode)
at java.util.Locale..cctor()


Solution: 

 

Download and install the Microsoft visual J# 2.0 Redistributable package from
https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=4712

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.