datacleaner / DataCleaner

The premier open source Data Quality solution
GNU Lesser General Public License v3.0
599 stars 181 forks source link

NPE when trying to open a completness analyzer #1557

Closed jhorcicka closed 8 years ago

jhorcicka commented 8 years ago

When I made the following job and tried to open "completness analyzer" (by double click), I got this: npe


Unexpected error!

Message:
    com.google.inject.ProvisionException: Guice provision errors:

1) Error injecting constructor, java.lang.NullPointerException
  at org.datacleaner.widgets.properties.PropertyWidgetFactoryImpl.<init>(PropertyWidgetFactoryImpl.java:69)
  while locating org.datacleaner.widgets.properties.PropertyWidgetFactoryImpl
  while locating org.datacleaner.widgets.properties.PropertyWidgetFactory

1 error
Level:
    SEVERE
Stack Trace:
Guice provision errors: 1) Error injecting constructor, java.lang.NullPointerException at org.datacleaner.widgets.properties.PropertyWidgetFactoryImpl. (PropertyWidgetFactoryImpl.java:69) while locating org.datacleaner.widgets.properties.PropertyWidgetFactoryImpl while locating org.datacleaner.widgets.properties.PropertyWidgetFactory 1 error
    com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987)
    com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
    org.datacleaner.panels.completeness.CompletenessAnalyzerComponentBuilderPresenterRenderer.render(CompletenessAnalyzerComponentBuilderPresenterRenderer.java:56)
    org.datacleaner.panels.completeness.CompletenessAnalyzerComponentBuilderPresenterRenderer.render(CompletenessAnalyzerComponentBuilderPresenterRenderer.java:39)
    org.datacleaner.windows.ComponentConfigurationDialog.getDialogContent(ComponentConfigurationDialog.java:176)
    org.datacleaner.windows.AbstractDialog.getWindowContent(AbstractDialog.java:194)
    org.datacleaner.windows.AbstractDialog.initialize(AbstractDialog.java:144)
    org.datacleaner.windows.AbstractDialog.setVisible(AbstractDialog.java:167)
    org.datacleaner.windows.AbstractDialog.open(AbstractDialog.java:117)
    org.datacleaner.widgets.visualization.JobGraphActions.showConfigurationDialog(JobGraphActions.java:81)
    org.datacleaner.widgets.visualization.JobGraphMouseListener.onComponentDoubleClicked(JobGraphMouseListener.java:108)
    org.datacleaner.widgets.visualization.JobGraphMouseListener.graphPressed(JobGraphMouseListener.java:335)
    edu.uci.ics.jung.visualization.control.MouseListenerTranslator.mousePressed(MouseListenerTranslator.java:77)
    java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
    java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
    java.awt.Component.processMouseEvent(Component.java:6532)
    javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    java.awt.Component.processEvent(Component.java:6300)
    java.awt.Container.processEvent(Container.java:2236)
    java.awt.Component.dispatchEventImpl(Component.java:4891)
    java.awt.Container.dispatchEventImpl(Container.java:2294)
    java.awt.Component.dispatchEvent(Component.java:4713)
    java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
    java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
    java.awt.Container.dispatchEventImpl(Container.java:2280)
    java.awt.Window.dispatchEventImpl(Window.java:2750)
    java.awt.Component.dispatchEvent(Component.java:4713)
    java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    java.awt.EventQueue.access$500(EventQueue.java:97)
    java.awt.EventQueue$3.run(EventQueue.java:709)
    java.awt.EventQueue$3.run(EventQueue.java:703)
    java.security.AccessController.doPrivileged(Native Method)
    java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    java.awt.EventQueue$4.run(EventQueue.java:731)
    java.awt.EventQueue$4.run(EventQueue.java:729)
    java.security.AccessController.doPrivileged(Native Method)
    java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
null
    org.datacleaner.descriptors.EnumerationValue.<init>(EnumerationValue.java:66)
    org.datacleaner.descriptors.EnumerationValue.fromArray(EnumerationValue.java:148)
    org.datacleaner.widgets.properties.MultipleMappedEnumsPropertyWidget.<init>(MultipleMappedEnumsPropertyWidget.java:128)
    org.datacleaner.widgets.properties.PropertyWidgetFactoryImpl.buildMappedPropertyWidget(PropertyWidgetFactoryImpl.java:110)
    org.datacleaner.widgets.properties.PropertyWidgetFactoryImpl.<init>(PropertyWidgetFactoryImpl.java:82)
    sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    com.google.inject.internal.DefaultConstructionProxyFactory$2.newInstance(DefaultConstructionProxyFactory.java:85)
    com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
    com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
    com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
    com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
    com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
    com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
    org.datacleaner.panels.completeness.CompletenessAnalyzerComponentBuilderPresenterRenderer.render(CompletenessAnalyzerComponentBuilderPresenterRenderer.java:56)
    org.datacleaner.panels.completeness.CompletenessAnalyzerComponentBuilderPresenterRenderer.render(CompletenessAnalyzerComponentBuilderPresenterRenderer.java:39)
    org.datacleaner.windows.ComponentConfigurationDialog.getDialogContent(ComponentConfigurationDialog.java:176)
    org.datacleaner.windows.AbstractDialog.getWindowContent(AbstractDialog.java:194)
    org.datacleaner.windows.AbstractDialog.initialize(AbstractDialog.java:144)
    org.datacleaner.windows.AbstractDialog.setVisible(AbstractDialog.java:167)
    org.datacleaner.windows.AbstractDialog.open(AbstractDialog.java:117)
    org.datacleaner.widgets.visualization.JobGraphActions.showConfigurationDialog(JobGraphActions.java:81)
    org.datacleaner.widgets.visualization.JobGraphMouseListener.onComponentDoubleClicked(JobGraphMouseListener.java:108)
    org.datacleaner.widgets.visualization.JobGraphMouseListener.graphPressed(JobGraphMouseListener.java:335)
    edu.uci.ics.jung.visualization.control.MouseListenerTranslator.mousePressed(MouseListenerTranslator.java:77)
    java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
    java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
    java.awt.Component.processMouseEvent(Component.java:6532)
    javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    java.awt.Component.processEvent(Component.java:6300)
    java.awt.Container.processEvent(Container.java:2236)
    java.awt.Component.dispatchEventImpl(Component.java:4891)
    java.awt.Container.dispatchEventImpl(Container.java:2294)
    java.awt.Component.dispatchEvent(Component.java:4713)
    java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
    java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
    java.awt.Container.dispatchEventImpl(Container.java:2280)
    java.awt.Window.dispatchEventImpl(Window.java:2750)
    java.awt.Component.dispatchEvent(Component.java:4713)
    java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    java.awt.EventQueue.access$500(EventQueue.java:97)
    java.awt.EventQueue$3.run(EventQueue.java:709)
    java.awt.EventQueue$3.run(EventQueue.java:703)
    java.security.AccessController.doPrivileged(Native Method)
    java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    java.awt.EventQueue$4.run(EventQueue.java:731)
    java.awt.EventQueue$4.run(EventQueue.java:729)
    java.security.AccessController.doPrivileged(Native Method)
    java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
arjansh commented 8 years ago

I tried in all kinds of manners to reproduce the issue but I wasn't able to. If we do find a reproduction path, please add it and reopen the issue.