Skip to main content
Announcements
Jan 15, Trends 2025! Get expert guidance to thrive post-AI with After AI: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
priya_901
Contributor
Contributor

Fail to execute command: BuildItemSourcesCommand buildItemSources '_HRl6sGy6Ee67ppOpcPHDFg' -iv '0.2' -im 'false'

Hi All,

 

I'm creating Azure devops pipeline for Talend jobs deployment using Talend commandline v7.3.1.

At maven deploy step getting the below error.

[ERROR] Failed to execute goal org.talend.ci:builder-maven-plugin:7.3.8:generate (default) on project code.Master: Fail to execute command: BuildItemSourcesCommand buildItemSources '_HRl6sGy6Ee67ppOpcPHDFg' -iv '0.2' -im 'false': Have exceptions when execute the command: BuildItemSourcesCommand buildItemSources '_HRl6sGy6Ee67ppOpcPHDFg' -iv '0.2' -im 'false': java.lang.RuntimeException: java.lang.NullPointerException
[ERROR] at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:191)
[ERROR] at org.talend.commandline.client.command.extension.AbstractExtensionCommandSwitch.doSwitch(AbstractExtensionCommandSwitch.java:31)
[ERROR] at org.talend.commandline.command.CommandProcessorSwitch.caseExtensionCommand(CommandProcessorSwitch.java:179)
[ERROR] at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:70)
[ERROR] at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:57)
[ERROR] at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:35)
[ERROR] at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)
[ERROR] at java.base/java.lang.Thread.run(Thread.java:834)
[ERROR] Caused by: java.lang.NullPointerException
[ERROR] at org.talend.commandline.command.execute.BuildItemSourcesExecuteCommand.execute(BuildItemSourcesExecuteCommand.java:99)
[ERROR] at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:189)
[ERROR] ... 7 more
[ERROR] -> [Help 1]
 
Azure devops maven deploy task-
steps: - task: Maven@3 displayName: 'Maven deploy' inputs: mavenPomFile: 'project_name/poms/pom.xml' goals: 'clean deploy -X' options: '--settings $(settings_xml.secureFilePath) -fae -e -pl $(job_build) -am' publishJUnitResults: false mavenOptions: '-Dinstaller.clean=true -Dlicense.path=$(license.secureFilePath) -Dpatch.path=D:/Talend_studio/studio/patches/Patch_TPS-2222.zip -Dproduct.path=D:/Talend_studio/studio/cmdline -Dproject.distributionManagement.snapshotRepository.url=https://x.x.x.x:y/repository/snapshots/ -Dproject.distributionManagement.snapshotRepository.id=snapshots -DaltDeploymentRepository=releases::default::https://x.x.x.x:y/repository/releases/
 
 
 Any help will be really appreciated, I'm trying to resolve this since 2days but no luck 🙂
 
Labels (2)
0 Replies