m-khl / kettle-solr-plugin

2 stars 3 forks source link

SolrInDialog could not be parsed #1

Open jamesatcaas opened 7 years ago

jamesatcaas commented 7 years ago

Hi, When I open the plugin source file SolrInDialog.java in myeclipse to see the desgin view, I get the following errors:

WindowBuilder was unable to load class org.pentaho.di.ui.trans.step.BaseStepDialog that is used as super class for your form. This usually happens when:

Compilation unit has compilation problems. Super class is in project, but automatic build is turned off.

Caused by: java.lang.ClassNotFoundException: org.pentaho.di.ui.trans.step.BaseStepDialog at org.eclipse.wb.internal.core.utils.reflect.CompositeClassLoader.findClass(CompositeClassLoader.java:161) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at org.eclipse.wb.internal.core.parser.AbstractParseFactory.getSuperClass(AbstractParseFactory.java:385) ... 57 more

m-khl commented 7 years ago

Hi, Make sure that Pentaho dependencies are resolved.

On Tue, Jan 17, 2017 at 6:23 AM, jamesatcaas notifications@github.com wrote:

Hi, When I open the plugin source file SolrInDialog.java in myeclipse to see the desgin view, I get the following errors:

WindowBuilder was unable to load class org.pentaho.di.ui.trans.step.BaseStepDialog that is used as super class for your form. This usually happens when:

Compilation unit has compilation problems. Super class is in project, but automatic build is turned off.

Caused by: java.lang.ClassNotFoundException: org.pentaho.di.ui.trans.step. BaseStepDialog at org.eclipse.wb.internal.core.utils.reflect.CompositeClassLoader. findClass(CompositeClassLoader.java:161) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at org.eclipse.wb.internal.core.parser.AbstractParseFactory.getSuperClass( AbstractParseFactory.java:385) ... 57 more

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/m-khl/kettle-solr-plugin/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPkvKN1OxSzs8KUTbU-Yk5LVJq9gBRiks5rTDQigaJpZM4LlMKt .

-- Sincerely yours Mikhail Khludnev

jamesatcaas commented 7 years ago

I updated the version of JDK from default 1.6 to 1.8 to run myeclipse. The ClassNotFoundException disappered, but got new exception:

org.eclipse.wb.internal.core.utils.exception.DesignerException: 313 (Exception during 'super' constructor evaluation). BaseStepDialog(Shell,BaseStepMeta,TransMeta,String) {Shell {},,,} java.lang.NullPointerException at org.pentaho.di.core.logging.LoggingObject.grabObjectInformation(LoggingObject.java:164) at org.pentaho.di.core.logging.LoggingObject.(LoggingObject.java:58) at org.pentaho.di.core.logging.LoggingRegistry.registerLoggingSource(LoggingRegistry.java:65) at org.pentaho.di.core.logging.LogChannel.(LogChannel.java:58) at org.pentaho.di.ui.trans.step.BaseStepDialog.(BaseStepDialog.java:243) at org.pentaho.di.ui.trans.step.BaseStepDialog$$EnhancerByCGLIB$$32f28a63.() at org.eclipse.wb.internal.core.model.creation.ThisCreationSupport.create(ThisCreationSupport.java:275) at org.eclipse.wb.internal.core.model.JavaInfoEvaluationHelper.evaluateJavaInfoUsingCreationSupport(JavaInfoEvaluationHelper.java:642) at org.eclipse.wb.internal.core.parser.JavaInfoParser.addJavaInfo(JavaInfoParser.java:1261) at org.eclipse.wb.internal.core.parser.JavaInfoParser.parse(JavaInfoParser.java:253) at org.eclipse.wb.internal.core.parser.JavaInfoParser.access$9(JavaInfoParser.java:238) at org.eclipse.wb.internal.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:153) at org.eclipse.wb.internal.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:1) at org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:159) at org.eclipse.wb.internal.core.parser.JavaInfoParser.parse(JavaInfoParser.java:151) at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:534) at org.eclipse.wb.internal.core.editor.DesignPage.access$9(DesignPage.java:522) at org.eclipse.wb.internal.core.editor.DesignPage$8$1.run(DesignPage.java:449) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4687) at org.eclipse.wb.internal.core.editor.DesignPage$8.run(DesignPage.java:446) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507) at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:465) at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:415) at org.eclipse.wb.internal.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:381) at org.eclipse.wb.internal.core.editor.UndoManager.activate(UndoManager.java:90) at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState_True(DesignPage.java:263) at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState(DesignPage.java:241) at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode.showPage(DefaultMultiMode.java:125) at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode$1.widgetSelected(DefaultMultiMode.java:63) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774) at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2746) at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1433) at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.genuitec.pulse.eclipse.launcher.Main.main(Main.java:110) Caused by: net.sf.cglib.core.CodeGenerationException: java.lang.NullPointerException-->null at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:235) at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:220) at net.sf.cglib.proxy.Enhancer.createUsingReflection(Enhancer.java:639) at net.sf.cglib.proxy.Enhancer.firstInstance(Enhancer.java:538) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:225) at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377) at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:304) at org.eclipse.wb.internal.core.model.creation.ThisCreationSupport.create_usingCGLib(ThisCreationSupport.java:313) at org.eclipse.wb.internal.core.model.creation.ThisCreationSupport.create0(ThisCreationSupport.java:289) at org.eclipse.wb.internal.core.model.creation.ThisCreationSupport.create(ThisCreationSupport.java:268) ... 65 more Caused by: java.lang.NullPointerException at org.pentaho.di.core.logging.LoggingObject.grabObjectInformation(LoggingObject.java:164) at org.pentaho.di.core.logging.LoggingObject.(LoggingObject.java:58) at org.pentaho.di.core.logging.LoggingRegistry.registerLoggingSource(LoggingRegistry.java:65) at org.pentaho.di.core.logging.LogChannel.(LogChannel.java:58) at org.pentaho.di.ui.trans.step.BaseStepDialog.(BaseStepDialog.java:243) at org.pentaho.di.ui.trans.step.BaseStepDialog$$EnhancerByCGLIB$$32f28a63.() at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:228) ... 74 more