Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Error opening the editor (for jobs)

Hi,
I can't open any more my jobs as I have the same problem as described in this post : https://community.talend.com/t5/Design-and-Development/error-when-opening-job/td-p/63706
When I try to open a job :
Error opening the editor
Reason :
Folder within .Java project not founded

I tried to :
- close TOS
- delete ".Java" and ".JETEmetters" folders in <TOS>/workspace/
After launching again TOS, when I try to open a job, I have 2 errors at same time :
Error opening the editor.
java.lang.NullPointerException
and :
An error has occurred. See error log for more details.
org.eclipse.ui.internal.ErrorEditorPart cannot be cast to org.talend.designer.core.ui.MultiPageTalendEditor
I work on TOS 2.3.1 r11699, and the project was exported from TOS 2.3.0, then imported in TOS 2.3.1 under a different name . Could that be the root of my problem ?
I'm reall

To see the whole post, download it here
Labels (4)
8 Replies
erwan2
Contributor
Contributor

Hi,
first, backup your workspace folder -> if the fix doesn't work, you'll be able to restore...
- 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
it uses to work for me.
--
R
Anonymous
Not applicable
Author

Thanks for you help.
In fact, I was able to recover my project like this :
- export my project
- close and delete TOS
- reinstall TOS
- import my project
amaumont
Contributor III
Contributor III

An other solution could be used in this case, yet I don't know the origin of the problem.
- Backup your projects 🙂
- Open the view "Navigator"
- Select the project ".Java" and maybe the ".JETEmitters"
- press the delete key and select "Also delete content under ..." (the .Java project contains all compiled java classes)
- restart Talend
- the projects ".Java" and ".JETEmitters" will be recreated automatically, and the file .project should be correctly created also.
Anonymous
Not applicable
Author

Looks like a better workaround. Nice to know for the next time... or for other kinds of problems that require to build project from scratch.
Thanks
Anonymous
Not applicable
Author

I'm having the same problem on TIS V2.3.2 R12707. See screenshot.
This problem usually comes after making some change to the job (copy a component from a different job, delete a flow, etc), which usually kills the job with one of several errors:
"Failed to generate code"
"InvocationTargetException"
And most recently...
"Delete" did not complete normally. Please see the log for more information."
Once the job is dead I get the same two errors mentioned below when opening that job:
Error opening the editor.
java.lang.NullPointerException
and :
An error has occurred. See error log for more details.
org.eclipse.ui.internal.ErrorEditorPart
The rest of the jobs in my project open fine.
I have tried amaumont's suggestion, but deleting the ".Java" and ".JETEmitters" doesn't help.
The other solution (exporting/reinstalling/importing) isn't great. I need a robust solution (and a stable environment) that doesn't involve reinstalling TIS every other day.
Any suggestions?
Thanks,
Aaron
0683p000009MBsL.png
_AnonymousUser
Specialist III
Specialist III

Hello all,
Before, i'm francophon and i'm sorry for my very bad english...
I'm currently use Talend for migrate an oracle database to mysql.
My question are:
1) CAN I USE MY OWN JAVA FUNCTION IN TALEND? (not java expression) --> HOW TO DO IT PLEASE?
2) CAN I MAKE THE JAVA CODE BEHIND WHO GENERATED BY COMPONENTS EDITABLE?
If you can help me about these question, it'll be very cool...
Thanks in advance
_AnonymousUser
Specialist III
Specialist III

erwan thankyou,
Your suggestion has resolved my problem, another symptom I had was the "properties not available" message. I haven't seen a solution for that one anywhere, however in my case this is also now resolved
Anonymous
Not applicable
Author

thank you for sharing, It is a great post.
jobs in pakistan