Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MissingMethodException on getInstance #2

Open
bc3tech opened this issue Oct 7, 2019 · 0 comments
Open

MissingMethodException on getInstance #2

bc3tech opened this issue Oct 7, 2019 · 0 comments

Comments

@bc3tech
Copy link

bc3tech commented Oct 7, 2019

Trying to use this w/in an Azure Function and getting

System.TypeInitializationException
  HResult=0x80131534
  Message=The type initializer for 'com.ibm.msg.client.jms.JmsFactoryFactory' threw an exception.
  Source=com.ibm.mq.allclient-9.0.4.0
  StackTrace:
   at com.ibm.msg.client.jms.JmsFactoryFactory.getInstance(String connectionTypeName)
   at Producer.IBMMQ.Functions.<>c.<.cctor>b__8_0() in C:\Users\...\IBMMQ\Functions.cs:line 23
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)

Inner Exception 1:
TypeInitializationException: The type initializer for 'com.ibm.msg.client.commonservices.trace.Trace' threw an exception.

Inner Exception 2:
TypeInitializationException: The type initializer for 'com.ibm.msg.client.commonservices.propertystore.PropertyStore' threw an exception.

Inner Exception 3:
TypeInitializationException: The type initializer for 'com.ibm.msg.client.commonservices.CommonServices' threw an exception.

Inner Exception 4:
MissingMethodException: Method not found: 'Void System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.Security.AccessControl.FileSystemRights, System.IO.FileShare, Int32, System.IO.FileOptions)'.

could very well be related to #1 , but thought I'd file it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant