Topic: Upgrading to 2.1
Upgrading to 2.1
Hi,
I'm just wondering if the analysis made with 2.02 is compatible with 2.1. I get the errors below when opening 2.02 files with 2.1. Also, I've manually created all the dictionaries. Is there an easier way to migrate them?
Thank you,
George
---
I'm just wondering if the analysis made with 2.02 is compatible with 2.1. I get the errors below when opening 2.02 files with 2.1. Also, I've manually created all the dictionaries. Is there an easier way to migrate them?
Thank you,
George
---
Unexpected error!
Message:
java.lang.NullPointerException
Level:
SEVERE
Stack Trace:
null
org.eobjects.datacleaner.widgets.properties.MultipleDictionariesPropertyWidget.isEnabled(MultipleDictionariesPropertyWidget.java:127)
org.eobjects.datacleaner.widgets.properties.MultipleDictionariesPropertyWidget.updateComponents(MultipleDictionariesPropertyWidget.java:111)
org.eobjects.datacleaner.widgets.properties.MultipleDictionariesPropertyWidget.<init>(MultipleDictionariesPropertyWidget.java:80)
org.eobjects.datacleaner.widgets.properties.PropertyWidgetFactory.create(PropertyWidgetFactory.java:84)
org.eobjects.datacleaner.panels.AbstractJobBuilderPanel.createPropertyWidget(AbstractJobBuilderPanel.java:128)
org.eobjects.datacleaner.panels.RowProcessingAnalyzerJobBuilderPanel.createPropertyWidget(RowProcessingAnalyzerJobBuilderPanel.java:80)
org.eobjects.datacleaner.panels.AbstractJobBuilderPanel.buildTaskPane(AbstractJobBuilderPanel.java:117)
org.eobjects.datacleaner.panels.AbstractJobBuilderPanel.init(AbstractJobBuilderPanel.java:94)
org.eobjects.datacleaner.panels.RowProcessingAnalyzerJobBuilderPanel.<init>(RowProcessingAnalyzerJobBuilderPanel.java:53)
org.eobjects.datacleaner.panels.RowProcessingAnalyzerJobBuilderPanel.<init>(RowProcessingAnalyzerJobBuilderPanel.java:45)
org.eobjects.datacleaner.windows.AnalysisJobBuilderWindow.onAdd(AnalysisJobBuilderWindow.java:609)
org.eobjects.datacleaner.windows.AnalysisJobBuilderWindow.initializeExistingComponents(AnalysisJobBuilderWindow.java:538)
org.eobjects.datacleaner.windows.AnalysisJobBuilderWindow.getWindowContent(AnalysisJobBuilderWindow.java:511)
org.eobjects.datacleaner.windows.AbstractWindow.initialize(AbstractWindow.java:49)
org.eobjects.datacleaner.windows.AbstractWindow.setVisible(AbstractWindow.java:81)
org.eobjects.datacleaner.actions.OpenAnalysisJobActionListener.openJob(OpenAnalysisJobActionListener.java:106)
org.eobjects.datacleaner.actions.OpenAnalysisJobActionListener.openFile(OpenAnalysisJobActionListener.java:87)
org.eobjects.datacleaner.actions.OpenAnalysisJobActionListener.actionPerformed(OpenAnalysisJobActionListener.java:75)
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.setPressed(Unknown Source)
javax.swing.AbstractButton.doClick(Unknown Source)
javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
java.awt.Component.processMouseEvent(Unknown Source)
javax.swing.JComponent.processMouseEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Window.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.run(Unknown Source)
Hi George,
What you're experiencing had me mystified for a moment but I think I've figured it out. I think one (or more) of your dictionary names does not match with the original names of the dictionaries.
If you open your job xml file in an editor you should look for the property that configures which dictionaries you're using. From the stack trace I'm guessing you're using the Matching analyzer, and then you should look for something like:
Where my_dict1 and my_dict2 are the dictionary names used. You should make sure that these dictionary names match completely with the names you've given the "new" dictionaries.
What you're experiencing had me mystified for a moment but I think I've figured it out. I think one (or more) of your dictionary names does not match with the original names of the dictionaries.
If you open your job xml file in an editor you should look for the property that configures which dictionaries you're using. From the stack trace I'm guessing you're using the Matching analyzer, and then you should look for something like:
<property value="[my_dict1,my_dict2]" name="Dictionaries"/>
Where my_dict1 and my_dict2 are the dictionary names used. You should make sure that these dictionary names match completely with the names you've given the "new" dictionaries.
Bingo! I forgot a ")" in one of the dictionaries' name. Kasper, you just saved me at least 10 hours of recreating the jobs. By the way, the new interface looks sleek and it's great not having to redefine 20+ dictionaries every morning :)
George
George
kasper is a help to every one......... :) cheers bro
Log in by clicking the login link at the top of the screen
Go back to forum.


