You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm using puck with a class with a initialisation block inside puck send me an error:
Warning: can not open class path /home/colympio/runtime-New_configuration(1)/testPuckParser/src/mypackage/MyClass.java
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
at org.but4reuse.adapters.ui.actions.ShowArtefactElementsAction.run(ShowArtefactElementsAction.java:62)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
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:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
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:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426) Caused by: puck.PuckError: no def for {
[[ArrayList]] a = [[new ArrayList<[[String]]>()]];
} in /home/colympio/runtime-New_configuration(1)/testPuckParser/src/mypackage/MyClass.java line 7
at puck.package$.error(package.scala:37)
at org.extendj.ast.TVIAccess.buildNode(TypeUsage.scala:44)
at org.extendj.ast.TypeUsage$$anonfun$constraintParTypeUses$1$$anonfun$apply$mcVI$sp$1.apply(TypeUsage.scala:333)
at org.extendj.ast.TypeUsage$$anonfun$constraintParTypeUses$1$$anonfun$apply$mcVI$sp$1.apply(TypeUsage.scala:332)
at scala.Option.foreach(Option.scala:257)
at org.extendj.ast.TypeUsage$$anonfun$constraintParTypeUses$1.apply$mcVI$sp(TypeUsage.scala:331)
at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160)
at org.extendj.ast.TypeUsage$class.constraintParTypeUses(TypeUsage.scala:300)
at org.extendj.ast.JastaddGraphBuilder.constraintParTypeUses(JastaddGraphBuilder.scala:114)
at org.extendj.ast.TypeUsage$class.constraintTypeUses(TypeUsage.scala:249)
at org.extendj.ast.JastaddGraphBuilder.constraintTypeUses(JastaddGraphBuilder.scala:114)
at org.extendj.ast.GraphBuilderVisitor$$anonfun$buildDG$6.apply(GraphBuilderVisitor.scala:194)
at org.extendj.ast.GraphBuilderVisitor$$anonfun$buildDG$6.apply(GraphBuilderVisitor.scala:191)
at scala.collection.immutable.List.foreach(List.scala:381)
at org.extendj.ast.GraphBuilderVisitor$class.buildDG(GraphBuilderVisitor.scala:190)
at org.extendj.ast.JastaddGraphBuilder.buildDG(JastaddGraphBuilder.scala:114)
at org.extendj.ast.VarDeclStmt.buildDG(VarDeclStmt.java:73)
at org.extendj.ast.ASTNode.buildDGInChildren(ASTNode.java:1415)
at org.extendj.ast.ASTNode.buildDG(ASTNode.java:1424)
at org.extendj.ast.ASTNode.buildDGInChildren(ASTNode.java:1415)
at org.extendj.ast.ASTNode.buildDG(ASTNode.java:1424)
at org.extendj.ast.ASTNode.buildDGInChildren(ASTNode.java:1415)
at org.extendj.ast.ASTNode.buildDG(ASTNode.java:1424)
at org.extendj.ast.BodyDecl.buildDG(BodyDecl.java:72)
at org.extendj.ast.GraphBuilderVisitor$$anonfun$buildDG$3.apply(GraphBuilderVisitor.scala:47)
at org.extendj.ast.GraphBuilderVisitor$$anonfun$buildDG$3.apply(GraphBuilderVisitor.scala:47)
at scala.collection.Iterator$class.foreach(Iterator.scala:893)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
at org.extendj.ast.GraphBuilderVisitor$class.buildDG(GraphBuilderVisitor.scala:47)
at org.extendj.ast.JastaddGraphBuilder.buildDG(JastaddGraphBuilder.scala:114)
at org.extendj.ast.CompilationUnit.buildDependencyGraph(CompilationUnit.java:267)
at org.extendj.ast.JastaddGraphBuilder$$anonfun$apply$1.apply(JastaddGraphBuilder.scala:98)
at org.extendj.ast.JastaddGraphBuilder$$anonfun$apply$1.apply(JastaddGraphBuilder.scala:97)
at scala.collection.Iterator$class.foreach(Iterator.scala:893)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
at org.extendj.ast.JastaddGraphBuilder$.apply(JastaddGraphBuilder.scala:96)
at org.extendj.ast.JavaJastAddDG2AST$.buildGraph(JavaJastAddDG2AST.scala:55)
at org.extendj.ast.JavaJastAddDG2AST$$anonfun$fromFiles$1.apply(JavaJastAddDG2AST.scala:87)
at org.extendj.ast.JavaJastAddDG2AST$$anonfun$fromFiles$1.apply(JavaJastAddDG2AST.scala:83)
at puck.util.Time$.time(Time.scala:35)
at org.extendj.ast.JavaJastAddDG2AST$.fromFiles(JavaJastAddDG2AST.scala:83)
at org.but4reuse.puck.PuckUtils.createCSV(PuckUtils.java:77)
at org.but4reuse.adapter.sourcecode.extension.JavaSourceCodeAdapterExtension.addMoreDependencies(JavaSourceCodeAdapterExtension.java:39)
at org.but4reuse.adapters.sourcecode.JavaSourceCodeAdapter.adapt(JavaSourceCodeAdapter.java:56)
at org.but4reuse.adapters.helper.AdaptersHelper.getElements(AdaptersHelper.java:229)
at org.but4reuse.adapters.ui.actions.ShowArtefactElementsAction$1.run(ShowArtefactElementsAction.java:72)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
We were working on Alldisabled version of Argouml when this error occured so we did a minimal example: mypackage.zip
The text was updated successfully, but these errors were encountered:
When I'm using puck with a class with a initialisation block inside puck send me an error:
We were working on Alldisabled version of Argouml when this error occured so we did a minimal example:
mypackage.zip
The text was updated successfully, but these errors were encountered: