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

Compatibility with Openfire 5.0.0 #73

Open
guusdk opened this issue Nov 19, 2024 · 0 comments
Open

Compatibility with Openfire 5.0.0 #73

guusdk opened this issue Nov 19, 2024 · 0 comments

Comments

@guusdk
Copy link
Member

guusdk commented Nov 19, 2024

In Openfire 5.0.0, the embedded webserver (Jetty) was updated. This causes an incompatibility with the Candy plugin, which will log an error like this when it is started:

2024.11.19 19:45:03.549 ERROR [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - An exception occurred while loading plugin 'httpfileup>
java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    org/eclipse/jetty/servlet/ServletContextHandler.setGzipHandler(Lorg/eclipse/jetty/server/handler/gzip/GzipHandler;)V @6: invokespecial
  Reason:
    Type 'org/eclipse/jetty/server/handler/gzip/GzipHandler' (current frame, stack[2]) is not assignable to 'org/eclipse/jetty/server/handler/HandlerWrapper'
  Current Frame:
    bci: @6
    flags: { }
    locals: { 'org/eclipse/jetty/servlet/ServletContextHandler', 'org/eclipse/jetty/server/handler/gzip/GzipHandler' }
    stack: { 'org/eclipse/jetty/servlet/ServletContextHandler', 'org/eclipse/jetty/server/handler/gzip/GzipHandler', 'org/eclipse/jetty/server/handler/gzip/Gzi>
  Bytecode:
    0000000: 2a2a b400 352b b700 762a 2bb5 0035 2ab7
    0000010: 0018 b1                                

        at org.igniterealtime.openfire.plugins.httpfileupload.HttpFileUploadPlugin.initializePlugin(HttpFileUploadPlugin.java:452) ~[httpfileupload-1.4.2-SNAPS>
        at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:640) ~[xmppserver-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
        at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:380) ~[xmppserver-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
        at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:368) ~[xmppserver-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
        at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
        at java.lang.Thread.run(Thread.java:1583) [?:?]
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