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

Java Exception #1

Open
digitalkaoz opened this issue Mar 22, 2011 · 1 comment
Open

Java Exception #1

digitalkaoz opened this issue Mar 22, 2011 · 1 comment

Comments

@digitalkaoz
Copy link

when im trying to use this plugin, i only get following exception log:

java.net.ProtocolException: cannot write to a URLConnection if doOutput=false - call setDoOutput(true)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1000)
    at com.tikal.hudson.plugins.notification.Protocol$3.send(Protocol.java:74)
    at com.tikal.hudson.plugins.notification.Protocol.sendNotification(Protocol.java:97)
    at com.tikal.hudson.plugins.notification.Phase.handlePhase(Phase.java:17)
    at com.tikal.hudson.plugins.notification.JobListener.onFinalized(JobListener.java:29)
    at hudson.model.listeners.RunListener.fireFinalized(RunListener.java:158)
    at hudson.model.Run.onEndBuilding(Run.java:1485)
    at hudson.model.Run.run(Run.java:1433)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:145)

im using jenkings 1.400 and java 1.6.0_22

do i have to set any java environment variables?

thanks for help
cheerz
robert

@flexable777
Copy link

Same issue for me. I found https://github.com/cressie176/notification-plugin and that version is fine.

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

2 participants