[JIRA] (JENKINS-51178) NullPointer

9 views
Skip to first unread message

daniel.fischer@iqdoq.de (JIRA)

unread,
May 7, 2018, 7:42:03 AM5/7/18
to jenkinsc...@googlegroups.com
Daniel Fischer created an issue
 
Jenkins / Bug JENKINS-51178
NullPointer
Issue Type: Bug Bug
Assignee: Unassigned
Components: websphere-deployer-plugin
Created: 2018-05-07 11:41
Environment: websphere-deployer-plugin 1.6.0 on local Jenkins master:
Jenkins LTS v2.107.2 on Tomcat 8
Debian Linux 8
Oracle JDK 1.8.0_161

Remote WebSphere Application Server 8.5.5.6 on SLES 11 SP4
Priority: Major Major
Reporter: Daniel Fischer

I am using version 1.6.0 of the websphere-deployer-plugin and can not get it to work.
I want to deploy a WAR file to a WAS 8.5 single server instance (no liberty profile).
The "test connection" button on the job config page reports a successfull connection.
The WAR should be installed/updated. The name of the existing deployed WAR application is configured. That deployment should be updated by that job.
However I am getting a Nullpointer at the time the plugin checks for existing applications on the was instance:
Connecting to IBM WebSphere Application Server...
The following artifacts will be deployed in this order...
-------------------------------------------
/var/lib/jenkins/workspace/job-deploy-web-ui-HEAD/hyperdoc-web-ui.war Last modified on Mai 07, 2018 10:58:17
-------------------------------------------
Generating EAR For Artifact: hyperdoc-web-ui_war
Artifact is being deployed to virtual host: default_host
Error deploying to IBM WebSphere Application Server: org.jenkinsci.plugins.websphere.services.deployment.DeploymentServiceException: Could not determine if artifact 'hyperdoc-web-ui_war' is installed: General Exception: null
at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.isArtifactInstalled(WebSphereDeploymentService.java:477)
at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.stopArtifact(WebSphereDeployerPlugin.java:398)
at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:238)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1752)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)

Performing rollback of 'hyperdoc-web-ui_war'
WARNING: Artifact doesn't exist rollback repository
Build step 'Deploy To IBM WebSphere Application Server' changed build result to FAILURE
Jenkins tomcat SystemOut Log:

 INFORMATION: job-deploy-web-ui-HEAD #10 main build action completed: SUCCESS
java.lang.NullPointerException
        at java.util.Hashtable.<init>(Hashtable.java:225)
        at org.jenkinsci.plugins.websphere.services.deployment.Artifact.getPreferences(Artifact.java
:170)
        at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.buildDeploymentPreferences(WebSphereDeploymentService.java:261)
        at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.isArtifactInstalled(WebSphereDeploymentService.java:468)
        at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.stopArtifact(WebSphereDeployerPlugin.java:398)
        at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:238)
        at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
        at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
        at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
        at hudson.model.Build$BuildExecution.post2(Build.java:186)
        at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
        at hudson.model.Run.execute(Run.java:1752)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
        at hudson.model.ResourceController.execute(ResourceController.java:97)
        at hudson.model.Executor.run(Executor.java:429)

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages