Skip to content

java.lang.NoSuchMethodError: No static method newFactory() Ljavax/xml/stream/XMLInputFactory #283

@samimejri

Description

@samimejri

I am working on an android app using semantic kernel and I have this issue that I have been battling for 2 days now. In the semantic kernel code, the use of the newFactory() static method for prompt parsing is the root cause. I think this is not needed and newInstance() can do the job.

This github issue is talking about the problem I am facing but in another library: FasterXML/jackson-dataformat-xml#533

I have this issue when I use invokePromptAsync() but not when I use getChatMessageContentsAsync().

The problem is easy to reproduce, create a new project in android studio and use any sample that has a call to invokePromptAsync()

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions