Jump to content
We've recently updated our Privacy Statement, available here ×
  • Case Study: User is Getting "Failed to login to CommandLine" Error When Try to Run a JETL Job


    Tom C
    • Features: User Interface Version: v7.3 Product: Jaspersoft® ETL

    The Problem

    User is getting the following error when running a job from the TIBCO Jaspersoft® ETL on a remote server.

    [toc]
    2020-10-01 14:23:26 ERROR JobGenerator - Failed to login to CommandLine : java.lang.NullPointerException
            at org.talend.commandline.util.RepositoryHandler.initRepository(RepositoryHandler.java:217)
            at org.talend.commandline.util.RepositoryHandler.init(RepositoryHandler.java:73)
            at org.talend.commandline.command.CommandProcessor.init(CommandProcessor.java:108)
            at org.talend.commandline.command.CommandProcessorSwitch.caseInitRemoteCommand(CommandProcessorSwitch.java:129)
            at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:60)
            at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:57)
            at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:35)
            at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)
            at java.lang.Thread.run(Thread.java:748)
    

    The Analysis

    It seems something is missing or incorrect in the Jaspersoft ETL installation or configuration that causes this kind of error. Further investigate found Cmdline startup is giving the error message below when trying to do initRemote to the Local TAC:

    !ENTRY org.talend.commandline 1 0 2020-10-07 15:16:19.677
    !MESSAGE Initialized to http://localhost:8080/org.jasper.administrator successfully with user: xxx@yyyy.com
    FAILED at Wed Oct 07 15:16:19 EDT 2020
    exception : org.talend.commandline.client.command.CommandStatusWrapException: java.lang.RuntimeException: The service org.talend.core.ui.branding.IBrandingService has not been registered.
    at org.talend.core.GlobalServiceRegister.getService(GlobalServiceRegister.java:148)
    at org.talend.core.repository.model.RepositoryFactoryProvider.getAvailableRepositories(RepositoryFactoryProvider.java:58)
    at org.talend.core.repository.model.RepositoryFactoryProvider.getRepositoriyById(RepositoryFactoryProvider.java:118)
    at org.talend.commandline.util.RepositoryHandler.initRepository(RepositoryHandler.java:216)
    at org.talend.commandline.util.RepositoryHandler.init(RepositoryHandler.java:73)
    at org.talend.commandline.command.CommandProcessor.init(CommandProcessor.java:108)
    
    

    Upon verifying the Jaspersoft ETL license, it turns out that the user is using Jaspersoft ETL license on Jaspersoft ETL BigData Extended version product.


    The Suggestion

    Please download and deploy the "regular" Jaspersoft ETL 7.3.1 product and have it installed to use it with the user's current Jaspersoft ETL 7.3.1 license to create the new jobs.


    TTC-20201129-1897658


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...