Skip to content

COMRuntime.newInstance() RuntimeException #94

@robross0606

Description

@robross0606

Calling COMRuntime.newInstance(ITaskbarList3.class) is throwing a RuntimeException:

Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: Unexpected COM error code : -2147417850
	at org.bridj.cpp.com.COMRuntime.error(COMRuntime.java:197)
	at org.bridj.cpp.com.COMRuntime$1.initialValue(COMRuntime.java:231)
	at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:180)
	at java.lang.ThreadLocal.get(ThreadLocal.java:170)
	at org.bridj.cpp.com.COMRuntime.initialize(COMRuntime.java:254)
	at org.bridj.cpp.com.COMRuntime.newInstance(COMRuntime.java:262)
	at org.bridj.cpp.com.COMRuntime.newInstance(COMRuntime.java:258)

Environment:

  • Windows 10 (64-bit)
  • Java 1.8_66

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions