JetBrains/plugin-repository-rest-client

ClassNotFoundException: com.sun.xml.internal.messaging.saaj.util.ByteOutputStream

gilday opened this issue · 0 comments

Exception while publishing a plugin

Caused by: java.lang.NoClassDefFoundError: com/sun/xml/internal/messaging/saaj/util/ByteOutputStream
        at org.jetbrains.intellij.pluginRepository.CompositeConverter.fromBody(pluginRepositoryRest.kt:93)
        at retrofit.RetrofitError.getBodyAs(RetrofitError.java:137)
        at retrofit.RetrofitError.getBody(RetrofitError.java:112)
        at org.jetbrains.intellij.pluginRepository.PluginRepositoryInstance.retrofitErrorMessage(pluginRepositoryRest.kt:219)
        at org.jetbrains.intellij.pluginRepository.PluginRepositoryInstance.processRetofitError(pluginRepositoryRest.kt:202)
        at org.jetbrains.intellij.pluginRepository.PluginRepositoryInstance.uploadPluginInternal(pluginRepositoryRest.kt:167)
        at org.jetbrains.intellij.pluginRepository.PluginRepositoryInstance.uploadPluginInternal$default(pluginRepositoryRest.kt:153)
        at org.jetbrains.intellij.pluginRepository.PluginRepositoryInstance.uploadPlugin(pluginRepositoryRest.kt:138)
        at org.jetbrains.intellij.pluginRepository.PluginRepositoryInstance.uploadPlugin$default(pluginRepositoryRest.kt:137)
        at org.jetbrains.intellij.pluginRepository.PluginRepositoryInstance.uploadPlugin(pluginRepositoryRest.kt)
        at org.jetbrains.intellij.pluginRepository.PluginRepositoryInstance$uploadPlugin.call(Unknown Source)
        at org.jetbrains.intellij.tasks.PublishTask.publishPlugin(PublishTask.groovy:130)

This appears to have been introduced in c132ac8. I think this is an import mistake: I assumeimport com.sun.xml.internal.messaging.saaj.util.ByteOutputStream should be import java.io. ByteArrayOutputStream