Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-3404

[Ctrlflow bug] Error in script method validate

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.2 M1
    • Component/s: Workbench > Validation
    • Labels:
      None

      Description

      Bundle: com.liferay.ide.scripting.core 3.1.1.201708030520-ga2
      Message: Error in script method validate
      Exception:
      java.lang.NoClassDefFoundError: com/liferay/portal/kernel/util/HashCodeFactory
          at java.lang.ClassLoader.defineClass1(null:-2)
          at java.lang.ClassLoader.defineClass(null:-1)
          at java.security.SecureClassLoader.defineClass(null:-1)
          at java.net.URLClassLoader.defineClass(null:-1)
          at java.net.URLClassLoader.access$100(null:-1)
          at java.net.URLClassLoader$1.run(null:-1)
          at java.net.URLClassLoader$1.run(null:-1)
          at java.security.AccessController.doPrivileged(null:-2)
          at java.net.URLClassLoader.findClass(null:-1)
          at java.lang.ClassLoader.loadClass(null:-1)
          at java.lang.ClassLoader.loadClass(null:-1)
          at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:696)
          at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:564)
          at org.codehaus.groovy.control.ResolveVisitor.resolveToClass(ResolveVisitor.java:723)
          at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:272)
          at org.codehaus.groovy.control.ResolveVisitor.visitClass(ResolveVisitor.java:1245)
          at org.codehaus.groovy.control.ResolveVisitor.startResolving(ResolveVisitor.java:148)
          at org.codehaus.groovy.control.CompilationUnit$6.call(CompilationUnit.java:574)
          at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:814)
          at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:511)
          at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:487)
          at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:464)
          at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:306)
          at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:283)
          at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:267)
          at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:197)
          at com.liferay.ide.scripting.core.GroovyScriptingSupport.newInstanceFromFile(GroovyScriptingSupport.java:35)
          at com.liferay.ide.scripting.core.GroovyScriptProxy.getServiceObject(GroovyScriptProxy.java:118)
          at com.liferay.ide.scripting.core.GroovyScriptProxy.invoke(GroovyScriptProxy.java:63)
          at com.sun.proxy.$Proxy104.validate(null:-1)
          at com.liferay.ide.kaleo.ui.editor.WorkflowDefinitionEditor.doSave(WorkflowDefinitionEditor.java:283)
          at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:157)
          at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:286)
          at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:437)
          at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:353)
          at org.eclipse.ui.internal.WorkbenchWindow$14.run(WorkbenchWindow.java:2184)
          at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
          at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2180)
          at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:294)
          at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:272)
          at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:162)
          at org.eclipse.ui.internal.WorkbenchPage.saveSaveable(WorkbenchPage.java:3904)
          at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3918)
          at org.eclipse.ui.internal.handlers.SaveHandler.execute(SaveHandler.java:54)
          at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
          at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(null:-2)
          at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
          at java.lang.reflect.Method.invoke(null:-1)
          at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
          at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:282)
          at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:264)
          at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
          at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
          at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
          at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:488)
          at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
          at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:286)
          at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:507)
          at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:558)
          at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:378)
          at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:324)
          at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:86)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
          at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1270)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1078)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1088)
          at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1130)
          at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1126)
          at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1547)
          at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4918)
          at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:364)
          at org.eclipse.swt.widgets.Control.windowProc(Control.java:4799)
          at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:359)
          at org.eclipse.swt.widgets.Display.windowProc(Display.java:5110)
          at org.eclipse.swt.internal.win32.OS.DispatchMessageW(OS.java:-2)
          at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2552)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3822)
          at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
          at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
          at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
          at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
          at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
          at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
          at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(null:-2)
          at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
          at java.lang.reflect.Method.invoke(null:-1)
          at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
          at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
          at org.eclipse.equinox.launcher.Main.run(Main.java:1519)

      caused by java.lang.ClassNotFoundException: com.liferay.portal.kernel.util.HashCodeFactory
          at java.net.URLClassLoader.findClass(null:-1)
          at java.lang.ClassLoader.loadClass(null:-1)
          at java.lang.ClassLoader.loadClass(null:-1)
          at java.lang.ClassLoader.defineClass1(null:-2)
          at java.lang.ClassLoader.defineClass(null:-1)
          at java.security.SecureClassLoader.defineClass(null:-1)
          at java.net.URLClassLoader.defineClass(null:-1)
          at java.net.URLClassLoader.access$100(null:-1)
          at java.net.URLClassLoader$1.run(null:-1)
          at java.net.URLClassLoader$1.run(null:-1)
          at java.security.AccessController.doPrivileged(null:-2)
          at java.net.URLClassLoader.findClass(null:-1)
          at java.lang.ClassLoader.loadClass(null:-1)
          at java.lang.ClassLoader.loadClass(null:-1)
          at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:696)
          at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:564)
          at org.codehaus.groovy.control.ResolveVisitor.resolveToClass(ResolveVisitor.java:723)
          at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:272)
          at org.codehaus.groovy.control.ResolveVisitor.visitClass(ResolveVisitor.java:1245)
          at org.codehaus.groovy.control.ResolveVisitor.startResolving(ResolveVisitor.java:148)
          at org.codehaus.groovy.control.CompilationUnit$6.call(CompilationUnit.java:574)
          at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:814)
          at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:511)
          at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:487)
          at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:464)
          at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:306)
          at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:283)
          at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:267)
          at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:197)
          at com.liferay.ide.scripting.core.GroovyScriptingSupport.newInstanceFromFile(GroovyScriptingSupport.java:35)
          at com.liferay.ide.scripting.core.GroovyScriptProxy.getServiceObject(GroovyScriptProxy.java:118)
          at com.liferay.ide.scripting.core.GroovyScriptProxy.invoke(GroovyScriptProxy.java:63)
          at com.sun.proxy.$Proxy104.validate(null:-1)
          at com.liferay.ide.kaleo.ui.editor.WorkflowDefinitionEditor.doSave(WorkflowDefinitionEditor.java:283)
          at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:157)
          at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:286)
          at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:437)
          at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:353)
          at org.eclipse.ui.internal.WorkbenchWindow$14.run(WorkbenchWindow.java:2184)
          at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
          at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2180)
          at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:294)
          at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:272)
          at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:162)
          at org.eclipse.ui.internal.WorkbenchPage.saveSaveable(WorkbenchPage.java:3904)
          at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3918)
          at org.eclipse.ui.internal.handlers.SaveHandler.execute(SaveHandler.java:54)
          at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
          at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(null:-2)
          at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
          at java.lang.reflect.Method.invoke(null:-1)
          at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
          at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:282)
          at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:264)
          at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
          at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
          at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
          at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:488)
          at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
          at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:286)
          at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:507)
          at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:558)
          at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:378)
          at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:324)
          at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:86)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
          at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1270)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1078)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1088)
          at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1130)
          at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1126)
          at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1547)
          at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4918)
          at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:364)
          at org.eclipse.swt.widgets.Control.windowProc(Control.java:4799)
          at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:359)
          at org.eclipse.swt.widgets.Display.windowProc(Display.java:5110)
          at org.eclipse.swt.internal.win32.OS.DispatchMessageW(OS.java:-2)
          at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2552)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3822)
          at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
          at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
          at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
          at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
          at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
          at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
          at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(null:-2)
          at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
          at java.lang.reflect.Method.invoke(null:-1)
          at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
          at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
          at org.eclipse.equinox.launcher.Main.run(Main.java:1519)

        Attachments

          Activity

            People

            • Assignee:
              joye.luo Joye Luo (Inactive)
              Reporter:
              yanan.yuan Yanan Yuan
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 22 weeks, 6 days ago

                Packages

                Version Package
                3.2 M1