Forum Discussion

larsn's avatar
larsn
Contributor
10 years ago

Import error on Ubuntu when opening LoadUI project

When opening an existing LoadUI project on my Ubuntu system, I get the following error: "unable to resolve class com.xlson.groovycsv.CsvParser". The full strack trace is below.
This works find on Mac and Windows systems for the same project.

 

Is there something I need to install on my Ubuntu machine?

 

 

Full error

=======

Unable to load component: ComponentItemImpl[label=DataSource 4]13com.eviware.loadui.api.component.ComponentCreationException: [Component: DataSource 4]Error instantiating Component
at com.eviware.loadui.groovy.GroovyBehaviorProvider.instantiateBehavior(GroovyBehaviorProvider.java:213)
at com.eviware.loadui.groovy.GroovyBehaviorProvider.loadBehavior(GroovyBehaviorProvider.java:167)
at com.eviware.loadui.impl.component.ComponentRegistryImpl.loadBehavior(ComponentRegistryImpl.java:137)
at com.eviware.loadui.impl.model.canvas.CanvasItemImpl.loadComponent(CanvasItemImpl.java:348)
at com.eviware.loadui.impl.model.canvas.CanvasItemImpl.createComponents(CanvasItemImpl.java:230)
at com.eviware.loadui.impl.model.canvas.CanvasItemImpl.init(CanvasItemImpl.java:209)
at com.eviware.loadui.impl.model.canvas.SceneItemImpl.init(SceneItemImpl.java:152)
at com.eviware.loadui.impl.model.canvas.SceneItemImpl.newInstance(SceneItemImpl.java:143)
at com.eviware.loadui.impl.model.canvas.project.ProjectItemImpl.loadScenes(ProjectItemImpl.java:178)
at com.eviware.loadui.impl.model.canvas.project.ProjectItemImpl.init(ProjectItemImpl.java:123)
at com.eviware.loadui.impl.model.canvas.project.ProjectItemImpl.loadProject(ProjectItemImpl.java:115)
at com.eviware.loadui.impl.model.ProjectRefImpl.loadProject(ProjectRefImpl.java:169)
at com.eviware.loadui.impl.model.ProjectRefImpl.setEnabled(ProjectRefImpl.java:190)
at com.eviware.loadui.ui.fx.views.window.MainWindowView$2$1.call(MainWindowView.java:183)
at com.eviware.loadui.ui.fx.views.window.MainWindowView$2$1.call(MainWindowView.java:175)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1259)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Compilation of Groovy script failed
at com.eviware.loadui.util.groovy.GroovyEnvironment.init(GroovyEnvironment.java:119)
at com.eviware.loadui.util.groovy.GroovyEnvironment.newInstance(GroovyEnvironment.java:48)
at com.eviware.loadui.groovy.GroovyBehaviorSupport.updateScript(GroovyBehaviorSupport.java:142)
at com.eviware.loadui.groovy.GroovyBehaviorSupport.<init>(GroovyBehaviorSupport.java:100)
at com.eviware.loadui.groovy.categories.GroovyFlow.<init>(GroovyFlow.java:39)
at com.eviware.loadui.groovy.GroovyBehaviorProvider.instantiateBehavior(GroovyBehaviorProvider.java:192)
... 23 more
Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
GroovycomeviwareDataSource: 10: unable to resolve class com.xlson.groovycsv.CsvParser
@ line 10, column 1.
import com.xlson.groovycsv.CsvParser
^

1 error

at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:302)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:858)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:548)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:497)
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:306)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:287)
at groovy.lang.GroovyShell.parseClass(GroovyShell.java:731)
at groovy.lang.GroovyShell.parse(GroovyShell.java:743)
at groovy.lang.GroovyShell.parse(GroovyShell.java:770)
at com.eviware.loadui.util.groovy.GroovyEnvironment.init(GroovyEnvironment.java:109)
... 28 more

No RepliesBe the first to reply