NullPointerException at start of Talend Studio

Highlighted
Six Stars

NullPointerException at start of Talend Studio

Every time i launch Talend Studio i get a dialog box with the only text: "java.lang.NullPointerException" and an OK button.

The dialog comes before the "Select Project" dialog.

I click OK and Talend Studio launches as normal.

OS: Windows 10 x64

Java: 1.8.0_191

Talend Studio 6.5.1


Accepted Solutions
Six Stars

Re: NullPointerException at start of Talend Studio

The problem was due to Workspace corruption.

 

Solution:

Create a new Workspace from scratch


All Replies
Forteen Stars

Re: NullPointerException at start of Talend Studio

@Slup,how long are you getting this? have you import any custom components?

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.
Six Stars

Re: NullPointerException at start of Talend Studio

It has been for a couple of months.

And it has occured both before and after a reinstallation of Windows (change from Windows 8.1 to Windows 10)

I have installed all additional packages and a couple of jars related to the use of job component.

No other custom components though.

Forteen Stars

Re: NullPointerException at start of Talend Studio

@Slup,may be your Talend is not recognition Java or Java home path..you can try the by re-installing Talend.

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.
Six Stars

Re: NullPointerException at start of Talend Studio

I have tried reinstalling. The problem persists.

I do not think it is a problem with the jdk/jre because Talend Studio starts as normal, start up is just interrupted by a dialog with the NullPointerReference.

Forteen Stars

Re: NullPointerException at start of Talend Studio

@Slup,have you set the Java home path?

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.
Six Stars

Re: NullPointerException at start of Talend Studio

I have now and it made no difference

Moderator

Re: NullPointerException at start of Talend Studio

Hello,

It seems to be the corruption of Workspace directory. Could you please upload your whole error log? Are you using talend open studio V 6.5?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: NullPointerException at start of Talend Studio

If it is corruption of workspace it is the second workspace I have had corrupted this way.

Since the problem persisted after a reinstall of Windows.

 

Where do i find the whole error log?

 

I am using the enterprise edition of Talend Studio

Six Stars

Re: NullPointerException at start of Talend Studio

Ï found a log file which matches the NullPointerException

It reads:

!ENTRY org.talend.platform.logging 2 0 2018-11-27 10:41:26.819
!MESSAGE 2018-11-27 10:41:26,819 WARN  org.talend.commons.exception.CommonExceptionHandler  - java.lang.NullPointerException

!STACK 0
org.talend.commons.exception.PersistenceException: java.lang.NullPointerException
	at org.talend.core.tis.service.CoreTisService.validateBigDataLicense(CoreTisService.java:224)
	at org.talend.core.tis.service.CoreTisService.validProject(CoreTisService.java:165)
	at org.talend.repository.ui.login.LoginHelper.logIn(LoginHelper.java:492)
	at org.talend.repository.ui.login.LoginHelper.loginAuto(LoginHelper.java:455)
	at org.talend.repository.RepositoryService.openLoginDialog(RepositoryService.java:325)
	at org.talend.rcp.intro.Application.logUserOnProject(Application.java:495)
	at org.talend.rcp.intro.Application.start(Application.java:195)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
Caused by: java.lang.NullPointerException
	at org.talend.core.tis.service.CoreTisService.validateBigDataLicense(CoreTisService.java:220)
	... 18 more
Forteen Stars

Re: NullPointerException at start of Talend Studio

@Slup,it is not able to validate the license.

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.
Six Stars

Re: NullPointerException at start of Talend Studio

But Talend Studio starts up fully licensed for Integration and ESB work, which is the license we bought (after i click OK on the NullPointerException).

And if that is the problem then there is a UI bug, because the alert box is not very informative:

Untitled.png

Moderator

Re: NullPointerException at start of Talend Studio

Hello,

Could you please give us some detailed steps to repro your issue?

Are you using SVN as repository or it is local connection?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: NullPointerException at start of Talend Studio

How to reproduce:

I launch Talend Studio

The splash screen comes on

The NullPointerException dialog comes on

I click OK

The "Select Project" screen comes on

I select project

Talend Studio comes on

 

We are hosting our repository on GitHub

Moderator

Re: NullPointerException at start of Talend Studio

Hello,

As we known that studio must get the git user name from TAC at least, are you setting "GIT login" and "GIT Password" for your user?

Here is online documentation about:TalendHelpCenter:Best Practices: Using Git with Talend 6.2 and later versions

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: NullPointerException at start of Talend Studio

Yes I have entered my GitHub login into TAC.

I have no problem connecting to TAC and selecting my project and working with Git even with a local branch

Moderator

Re: NullPointerException at start of Talend Studio

Hello,

It's a little hard for us to address your issue from description. Would you mind creating a case on talend support portal? In this way, we would like to give you a remote assistance(webex session) through support cycle with priority.

https://login.talend.com/support-login.php

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: NullPointerException at start of Talend Studio

I have a very similar issue, for me it's like this:

 

I launch Talend Studio

The splash screen comes on

(wait a long time)

git password pop-up

The NullPointerException dialog comes on

I click OK

git password pop-up again

The "Select Project" screen comes on

I select project

Talend Studio comes on

 

Did you have any success resolving this in the mean time?

Six Stars

Re: NullPointerException at start of Talend Studio

I currently have a support ticket open.

I will write back here as soon as I know more

Six Stars

Re: NullPointerException at start of Talend Studio

The problem was due to Workspace corruption.

 

Solution:

Create a new Workspace from scratch

Moderator

Re: NullPointerException at start of Talend Studio

Hello,

Thanks for your feedback ang sharing your solution with us.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: NullPointerException at start of Talend Studio

I'm getting this same NullPointerException on multiple machines.  How do I "create a new workspace from scratch" as the resolution says?

Moderator

Re: NullPointerException at start of Talend Studio

Hello @fred271828 

 Please follows the steps as below to restore the items.

copy projects' folders, from the workspace folder to your desktop (or any place)
- delete the workspace folder
- start TOS
- import the projects that you copied step 1

Let us know if it is OK with you.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read