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
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
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
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.
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
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
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