[resolved] Job cannot be opened

One Star

[resolved] Job cannot be opened

V 5.0.1
I was working on a job and deleted a component. Got a null pointer error. Saved the job, but now it cannot be opened.
All I get is a popup window: "An error has occurred. See error log for more details. Index: 12, Size: 12"
I have tried exporting the job, and also importing the whole workspace to a new one with alaways the same result.
Any ideas, I will lose many hours of work.

Accepted Solutions
One Star

Re: [resolved] Job cannot be opened

Pedro, Thanks, but your response was not really what I hoped for. I can read the XML source and my job appears to be intact. I think there must be some way to salvage at least parts of it right?
I found the following in the log:
!ENTRY org.eclipse.jface 4 2 2012-01-13 20:49:48.717
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.IndexOutOfBoundsException: Index: 12, Size: 12
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.talend.designer.core.ui.editor.connections.Connection.setInputId(Connection.java:1313)
at org.talend.designer.core.ui.editor.process.Process.loadConnections(Process.java:2180)
at org.talend.designer.core.ui.editor.process.Process.loadXmlFile(Process.java:1591)
Browsing the source here indicates a problem with assigning the merge order:
http://www.talendforge.org/trac/tos/browser/trunk/org.talend.designer.core/src/main/java/org/talend/...
After investigating the Merge Order to to tUnite_1 component, I found that the entry I was working on when the problem occurred has a merge order of 13, while no flow had a merge order of 1. So I simply changed the 13 to a 1 and the job can now be opened.
Hopefully nobody else has this problem, but if they do I hope this is helpful.

All Replies
One Star

Re: [resolved] Job cannot be opened

Hi
I'm sorry to tell you that your job has been corrupted.
The only way is to delete the job and recreate it.
Regards,
Pedro
One Star

Re: [resolved] Job cannot be opened

Pedro, Thanks, but your response was not really what I hoped for. I can read the XML source and my job appears to be intact. I think there must be some way to salvage at least parts of it right?
I found the following in the log:
!ENTRY org.eclipse.jface 4 2 2012-01-13 20:49:48.717
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.IndexOutOfBoundsException: Index: 12, Size: 12
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.talend.designer.core.ui.editor.connections.Connection.setInputId(Connection.java:1313)
at org.talend.designer.core.ui.editor.process.Process.loadConnections(Process.java:2180)
at org.talend.designer.core.ui.editor.process.Process.loadXmlFile(Process.java:1591)
Browsing the source here indicates a problem with assigning the merge order:
http://www.talendforge.org/trac/tos/browser/trunk/org.talend.designer.core/src/main/java/org/talend/...
After investigating the Merge Order to to tUnite_1 component, I found that the entry I was working on when the problem occurred has a merge order of 13, while no flow had a merge order of 1. So I simply changed the 13 to a 1 and the job can now be opened.
Hopefully nobody else has this problem, but if they do I hope this is helpful.
One Star

Re: [resolved] Job cannot be opened

Hi
Thank you for your sharing.
Glad to see you fix it.
Regards,
Pedro

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

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

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog