Extracting Structure Failed when importing an sbt project - scala
I'm trying to setup Scala on IntelliJ IDE and when I create a new project it seems fine. When I import another project it errors: Extracting Structure Failed.
The sbt shell seems to be working. What can be the issue?
This is my build.sbt:
course := "progfun1"
assignment := "example"
scalaVersion := "2.12.12"
scalacOptions ++= Seq("-language:implicitConversions", "-deprecation")
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % Test
testOptions in Test += Tests.Argument(TestFrameworks.JUnit, "-a", "-v", "-s")
Here is the log:
2020-10-17 16:45:29,222 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2020-10-17 16:45:29,291 [ 69] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IC-202.7660.26, 06 Oct 2020 11:32)
2020-10-17 16:45:29,292 [ 70] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2020-10-17 16:45:29,292 [ 70] INFO - #com.intellij.idea.Main - JRE: 11.0.8+10-b944.34 (JetBrains s.r.o.)
2020-10-17 16:45:29,293 [ 71] INFO - #com.intellij.idea.Main - JVM: 11.0.8+10-b944.34 (OpenJDK 64-Bit Server VM)
2020-10-17 16:45:29,294 [ 72] INFO - #com.intellij.idea.Main - JVM Args: exit -Xms128m -Xmx1776m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -XX:CICompilerCount=2 -Dsun.io.useCanonPrefixCache=false -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf=true -Dkotlinx.coroutines.debug=off -Djdk.module.illegalAccess.silent=true -Djb.vmOptionsFile=C:\Users\Melih\AppData\Roaming\JetBrains\IdeaIC2020.2\idea64.exe.vmoptions -Djava.library.path=D:\IntelliJ IDEA Community Edition 2020.2.3\jbr\\bin;D:\IntelliJ IDEA Community Edition 2020.2.3\jbr\\bin\server -Didea.platform.prefix=Idea -Didea.jre.check=true -Dide.native.launcher=true -Didea.vendor.name=JetBrains -Didea.paths.selector=IdeaIC2020.2 -XX:ErrorFile=C:\Users\Melih\java_error_in_idea_%p.log -XX:HeapDumpPath=C:\Users\Melih\java_error_in_idea.hprof
2020-10-17 16:45:29,294 [ 72] INFO - #com.intellij.idea.Main - library path: D:\IntelliJ IDEA Community Edition 2020.2.3\jbr\\bin;D:\IntelliJ IDEA Community Edition 2020.2.3\jbr\\bin\server
2020-10-17 16:45:29,294 [ 72] INFO - #com.intellij.idea.Main - boot library path: D:\IntelliJ IDEA Community Edition 2020.2.3\jbr\bin
2020-10-17 16:45:29,296 [ 74] INFO - #com.intellij.idea.Main - locale=en_US JNU=Cp1254 file.encoding=Cp1254
idea.config.path=C:\Users\Melih\AppData\Roaming\JetBrains\IdeaIC2020.2
idea.system.path=C:\Users\Melih\AppData\Local\JetBrains\IdeaIC2020.2
idea.plugins.path=C:\Users\Melih\AppData\Roaming\JetBrains\IdeaIC2020.2\plugins
idea.log.path=C:\Users\Melih\AppData\Local\JetBrains\IdeaIC2020.2\log
2020-10-17 16:45:29,552 [ 330] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 255 ms
2020-10-17 16:45:29,865 [ 643] INFO - ntellij.idea.ApplicationLoader - CPU cores: 8; ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool#10bac343[Running, parallelism = 7, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]; factory: com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory#6f4f8382
2020-10-17 16:45:30,067 [ 845] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2020-10-17 16:45:30,371 [ 1149] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=Groovy, id=org.intellij.groovy, path=D:\IntelliJ IDEA Community Edition 2020.2.3\plugins\Groovy, version=202.7660.26) misses optional descriptor duplicates-groovy.xml
java.nio.file.NoSuchFileException: /META-INF/duplicates-groovy.xml
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.newInputStream(ZipFileSystem.java:591)
at jdk.zipfs/jdk.nio.zipfs.ZipPath.newInputStream(ZipPath.java:721)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newInputStream(ZipFileSystemProvider.java:275)
at java.base/java.nio.file.Files.newInputStream(Files.java:155)
at com.intellij.openapi.util.JDOMUtil.load(JDOMUtil.java:351)
at com.intellij.ide.plugins.BasePathResolver.resolvePath(BasePathResolver.java:54)
at com.intellij.ide.plugins.PluginXmlPathResolver.resolvePath(PluginXmlPathResolver.java:58)
at com.intellij.ide.plugins.XmlReader.readDependencies(XmlReader.java:215)
at com.intellij.ide.plugins.IdeaPluginDescriptorImpl.readExternal(IdeaPluginDescriptorImpl.java:190)
at com.intellij.ide.plugins.PluginDescriptorLoader.loadDescriptorFromJar(PluginDescriptorLoader.java:94)
at com.intellij.ide.plugins.PluginDescriptorLoader.loadDescriptorFromDirAndNormalize(PluginDescriptorLoader.java:145)
at com.intellij.ide.plugins.PluginDescriptorLoader.loadDescriptorFromFileOrDir(PluginDescriptorLoader.java:120)
at com.intellij.ide.plugins.PluginDescriptorLoader.loadDescriptor(PluginDescriptorLoader.java:44)
at com.intellij.ide.plugins.PluginDescriptorLoader.lambda$loadDescriptorsFromDir$1(PluginDescriptorLoader.java:246)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:215)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:26)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:194)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:186)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
2020-10-17 16:45:30,373 [ 1151] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=Groovy, id=org.intellij.groovy, path=D:\IntelliJ IDEA Community Edition 2020.2.3\plugins\Groovy, version=202.7660.26) misses optional descriptor duplicates-detection-groovy.xml
java.nio.file.NoSuchFileException: /META-INF/duplicates-detection-groovy.xml
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.newInputStream(ZipFileSystem.java:591)
at jdk.zipfs/jdk.nio.zipfs.ZipPath.newInputStream(ZipPath.java:721)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newInputStream(ZipFileSystemProvider.java:275)
at java.base/java.nio.file.Files.newInputStream(Files.java:155)
at com.intellij.openapi.util.JDOMUtil.load(JDOMUtil.java:351)
at com.intellij.ide.plugins.BasePathResolver.resolvePath(BasePathResolver.java:54)
at com.intellij.ide.plugins.PluginXmlPathResolver.resolvePath(PluginXmlPathResolver.java:58)
at com.intellij.ide.plugins.XmlReader.readDependencies(XmlReader.java:215)
at com.intellij.ide.plugins.IdeaPluginDescriptorImpl.readExternal(IdeaPluginDescriptorImpl.java:190)
at com.intellij.ide.plugins.PluginDescriptorLoader.loadDescriptorFromJar(PluginDescriptorLoader.java:94)
at com.intellij.ide.plugins.PluginDescriptorLoader.loadDescriptorFromDirAndNormalize(PluginDescriptorLoader.java:145)
at com.intellij.ide.plugins.PluginDescriptorLoader.loadDescriptorFromFileOrDir(PluginDescriptorLoader.java:120)
at com.intellij.ide.plugins.PluginDescriptorLoader.loadDescriptor(PluginDescriptorLoader.java:44)
at com.intellij.ide.plugins.PluginDescriptorLoader.lambda$loadDescriptorsFromDir$1(PluginDescriptorLoader.java:246)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:215)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:26)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:194)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:186)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
2020-10-17 16:45:30,523 [ 1301] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=Java, id=com.intellij.java, path=D:\IntelliJ IDEA Community Edition 2020.2.3\plugins\java, version=202.7660.26) misses optional descriptor profiler-java.xml
java.nio.file.NoSuchFileException: /META-INF/profiler-java.xml
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.newInputStream(ZipFileSystem.java:591)
at jdk.zipfs/jdk.nio.zipfs.ZipPath.newInputStream(ZipPath.java:721)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newInputStream(ZipFileSystemProvider.java:275)
at java.base/java.nio.file.Files.newInputStream(Files.java:155)
at com.intellij.openapi.util.JDOMUtil.load(JDOMUtil.java:351)
at com.intellij.ide.plugins.BasePathResolver.resolvePath(BasePathResolver.java:54)
at com.intellij.ide.plugins.PluginXmlPathResolver.resolvePath(PluginXmlPathResolver.java:58)
at com.intellij.ide.plugins.XmlReader.readDependencies(XmlReader.java:215)
at com.intellij.ide.plugins.IdeaPluginDescriptorImpl.readExternal(IdeaPluginDescriptorImpl.java:190)
at com.intellij.ide.plugins.PluginDescriptorLoader.loadDescriptorFromJar(PluginDescriptorLoader.java:94)
at com.intellij.ide.plugins.PluginDescriptorLoader.loadDescriptorFromDirAndNormalize(PluginDescriptorLoader.java:145)
at com.intellij.ide.plugins.PluginDescriptorLoader.loadDescriptorFromFileOrDir(PluginDescriptorLoader.java:120)
at com.intellij.ide.plugins.PluginDescriptorLoader.loadDescriptor(PluginDescriptorLoader.java:44)
at com.intellij.ide.plugins.PluginDescriptorLoader.lambda$loadDescriptorsFromDir$1(PluginDescriptorLoader.java:246)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:215)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:26)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:194)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:186)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
2020-10-17 16:45:30,603 [ 1381] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: IDEA CORE (202.7660.26), com.intellij.platform.images (202.7660.26), JetBrains maven model api classes (202.7660.26), JetBrains Repository Search (202.7660.26), Subversion (202.7660.26), XPathView + XSLT (202.7660.26), XSLT Debugger (202.7660.26), Smali Support (202.7660.26), Configuration Script (202.7660.26), Copyright (202.7660.26), Gradle (202.7660.26), Java (202.7660.26), Bytecode Viewer (202.7660.26), JUnit (202.7660.26), Java IDE Customization (202.7660.26), Java Stream Debugger (202.7660.26), Eclipse Interoperability (202.7660.26), Java Bytecode Decompiler (202.7660.26), Windows 10 Light Theme (202.7660.26), Properties (202.7660.26), Ant (202.7660.26), Java Internationalization (202.7660.26), UI Designer (202.7660.26), JavaFX (202.7660.26), Resource Bundle Editor (202.7660.26), Machine Learning Code Completion (202.7660.26), Task Management (202.7660.26), Mercurial (202.7660.26), Webp Support (202.7660.26), EditorConfig (202.7660.26), Terminal (202.7660.26), Git (202.7660.26), ChangeReminder (202.7660.26), Next File Prediction (202.7660.26), GitHub (202.7660.26), Shell Script (202.7660.26), TextMate Bundles (202.7660.26), YAML (202.7660.26), Settings Repository (202.7660.26), IntelliLang (202.7660.26), TestNG (202.7660.26), Code Coverage for Java (202.7660.26), Groovy (202.7660.26), Maven (202.7660.26), Gradle-Java (202.7660.26), Plugin DevKit (202.7660.26), Gradle-Maven (202.7660.26), Kotlin (1.3.72-release-IJ2020.1-6), Android (10.4.0.202.7660.26), Markdown (202.7660.26), Grazie (202.7660.26)
2020-10-17 16:45:30,603 [ 1381] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: Scala (2020.2.27)
2020-10-17 16:45:31,089 [ 1867] INFO - m.intellij.util.io.StorageLock - lower=100; upper=500; buffer=10; max=1696
2020-10-17 16:45:31,108 [ 1886] INFO - tellij.util.io.FileChannelUtil - un-interruptible FileChannel-s will be used for indexes
2020-10-17 16:45:31,307 [ 2085] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63343
2020-10-17 16:45:31,319 [ 2097] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=13, fontScale=1.0; restored: fontSize=13, fontScale=1.0
2020-10-17 16:45:31,332 [ 2110] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2020-10-17 16:45:31,455 [ 2233] INFO - gs.impl.UpdateCheckerComponent - channel: release
2020-10-17 16:45:31,741 [ 2519] INFO - BridgeProjectLifecycleListener - Using legacy project model to open project
2020-10-17 16:45:31,849 [ 2627] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: D:\IntelliJ IDEA Community Edition 2020.2.3\bin\fsnotifier64.exe
2020-10-17 16:45:31,946 [ 2724] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2020-10-17 16:45:32,654 [ 3432] INFO - rojectCodeStyleSettingsManager - Loading Project code style
2020-10-17 16:45:32,681 [ 3459] INFO - rojectCodeStyleSettingsManager - Project code style loaded
2020-10-17 16:45:33,004 [ 3782] WARN - Container.ComponentManagerImpl - Do not use constructor injection (requestorClass=org.jetbrains.android.compose.AndroidComposeAutoDocumentation)
2020-10-17 16:45:33,716 [ 4494] INFO - leBasedIndexDataInitialization - Initialization done: 2408
2020-10-17 16:45:33,993 [ 4771] INFO - exImpl$StubIndexInitialization - Initialization done: 276
2020-10-17 16:45:34,205 [ 4983] WARN - tartup.impl.StartupManagerImpl - Activities registered via registerPostStartupActivity must be dumb-aware: org.jetbrains.plugins.scala.lang.psi.impl.toplevel.synthetic.SyntheticClassesListener$$Lambda$1296/0x0000000100f64440#1eb6449d
2020-10-17 16:45:34,248 [ 5026] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2020-10-17 16:45:34,308 [ 5086] INFO - .CodeStyleSettingsInferService - settings inference skipped: already done
2020-10-17 16:45:34,320 [ 5098] INFO - pi.util.registry.RegistryValue - Registry value 'compiler.process.jdk' has changed to ''
2020-10-17 16:45:34,349 [ 5127] WARN - tartup.impl.StartupManagerImpl - Activities registered via registerPostStartupActivity must be dumb-aware: org.jetbrains.kotlin.idea.configuration.ui.KotlinConfigurationCheckerComponent$projectOpened$1#2764562c
2020-10-17 16:45:34,843 [ 5621] INFO - penapi.application.Experiments - Experimental features enabled for user: wsl.p9.support, wsl.p9.show.roots.in.file.chooser, inline.browse.button, linux.native.menu, recent.and.edited.files.together, show.create.new.element.in.popup, copy.reference.popup, new.large.text.file.viewer, property.value.inplace.editing, terminal.shell.command.handling, scala.uast.enabled
2020-10-17 16:45:36,312 [ 7090] INFO - ge.ExternalProjectsDataStorage - Load external projects data in 105 millis (read time: 88)
2020-10-17 16:45:36,638 [ 7416] INFO - CompilerWorkspaceConfiguration - Available processors: 8
2020-10-17 16:45:36,720 [ 7498] INFO - ation.SbtCompilationSupervisor - Listening to incoming sbt compilation events on port 0.
2020-10-17 16:45:36,733 [ 7511] INFO - ProjectRootPostStartUpActivity - C:/Users/Melih/Desktop/example/.idea case-sensitivity: expected=false actual=false
2020-10-17 16:45:36,795 [ 7573] INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 840ms; general responsiveness: ok; EDT responsiveness: ok
2020-10-17 16:45:37,553 [ 8331] INFO - tor.impl.FileEditorManagerImpl - Project opening took 5917 ms
2020-10-17 16:45:37,722 [ 8500] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 123ms; general responsiveness: ok; EDT responsiveness: ok
2020-10-17 16:45:37,864 [ 8642] INFO - System.util.ExternalSystemUtil - External project [C:/Users/Melih/Desktop/example] resolution task started
2020-10-17 16:45:39,187 [ 9965] WARN - com.intellij.util.xmlb.Binding - no accessors for org.jetbrains.kotlin.idea.highlighter.KotlinDefaultHighlightingSettingsProvider
2020-10-17 16:45:46,515 [ 17293] INFO - gnostic.WindowsDefenderChecker - Windows Defender status: Failed to get excluded patterns
2020-10-17 16:45:55,228 [ 26006] INFO - System.util.ExternalSystemUtil - External project [C:/Users/Melih/Desktop/example] resolution task executed in 17364 ms.
2020-10-17 16:45:55,796 [ 26574] INFO - ge.ExternalProjectsDataStorage - Save external projects data in 58 ms
2020-10-17 16:45:55,950 [ 26728] WARN - com.intellij.util.xmlb.Binding - no accessors for org.jetbrains.kotlin.idea.core.script.configuration.utils.ScriptClassRootsStorage
2020-10-17 16:45:55,978 [ 26756] INFO - rationStore.ComponentStoreImpl - Saving Project(name=example, containerState=ACTIVE, componentStore=C:\Users\Melih\Desktop\example)CommitMessageInspectionProfile took 29 ms
2020-10-17 16:45:58,027 [ 28805] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 20303ms; general responsiveness: ok; EDT responsiveness: ok
2020-10-17 16:45:58,036 [ 28814] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 0 files to index
2020-10-17 16:45:58,052 [ 28830] INFO - j.ide.actions.RevealFileAction - Exit code 1
2020-10-17 16:45:58,660 [ 29438] INFO - .ScalaCompilerReferenceService - Initialized ScalaCompilerReferenceService in example, current compiler mode = JPS
2020-10-17 16:45:59,967 [ 30745] INFO - .diagnostic.PerformanceWatcher - Searching for external libraries with Android resources. Found 0 libraries. took 13ms; general responsiveness: ok; EDT responsiveness: ok
2020-10-17 16:45:59,967 [ 30745] INFO - .diagnostic.PerformanceWatcher - Searching for external libraries with Android resources. Found 0 libraries. took 3ms; general responsiveness: ok; EDT responsiveness: ok
2020-10-17 16:45:59,967 [ 30745] INFO - .diagnostic.PerformanceWatcher - Searching for external libraries with Android resources. Found 0 libraries. took 13ms; general responsiveness: ok; EDT responsiveness: ok
2020-10-17 16:45:59,967 [ 30745] INFO - .diagnostic.PerformanceWatcher - Searching for external libraries with Android resources. Found 0 libraries. took 13ms; general responsiveness: ok; EDT responsiveness: ok
2020-10-17 16:49:40,869 [ 251647] INFO - System.util.ExternalSystemUtil - External project [C:/Users/Melih/Desktop/example] resolution task started
2020-10-17 16:49:47,002 [ 257780] INFO - rationStore.ComponentStoreImpl - Saving Project(name=example, containerState=ACTIVE, componentStore=C:\Users\Melih\Desktop\example)KotlinCommonCompilerArguments took 17 ms, ScalaProjectSettings took 13 ms
2020-10-17 16:49:54,667 [ 265445] INFO - System.util.ExternalSystemUtil - External project [C:/Users/Melih/Desktop/example] resolution task executed in 13798 ms.
2020-10-17 16:49:55,129 [ 265907] INFO - ge.ExternalProjectsDataStorage - Save external projects data in 72 ms
2020-10-17 16:49:55,205 [ 265983] INFO - rationStore.ComponentStoreImpl - Saving Project(name=example, containerState=ACTIVE, componentStore=C:\Users\Melih\Desktop\example)JsonSchemaMappingsProjectConfiguration took 49 ms
2020-10-17 16:50:07,409 [ 278187] INFO - j.ide.actions.RevealFileAction - Exit code 1
Check the Java version, I resolved the same issue by downgrading the java version from 18 to 1.8
Spark 2.4.7, scala 2.11, and Java 1.8 will work.
It is not able to find some deps, let me show you
name := "neo4j-spark-scala-j8"
version := "0.1"
scalaVersion := "2.12.13"
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % "3.1.0", //ok
"org.neo4j" % "neo4j-kernel" % "4.2.3", // ok
// "neo4j-contrib" % "neo4j-spark-connector" % "4.0.0" // it doesn't work
)
if I de-comment the last dep, I will get your same error
I had the same error before, when I installed SBT EXECUTOR plugin, every thing worked fine.
I hope it was useful.
I was facing the same issue while importing Spark dependencies. It worked well when I donwgraded my scalaVersion from 2.13 to 2.10.
Please try downgrading your scalaVersion to some lower version. It can work at you as well.
Related
Liquibase stopped working after moving from 3.6.3 to 3.8.7 or 3.10.2
I was using liquibase 3.6.3 and everything worked fine but today I've moved to 3.10.2 and suddenly I can't run any database updates. The only thing which is in the log file I've pasted below. We run on DB2 for IBM i. We use power shell scripts and bat scripts and if we run them outside of the liquibase, everything works fine but when those scripts get called from liquibase after the upgrade, it hangs on the last line from below log. liquibase.log exist. Liquibase found. 10:42:16.338 [main] DEBUG l.integration.commandline.Main - Custom logging config found, not going to modify 10:42:16.373 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/liquibase.jar!/liquibase.build.properties as liquibase.build.properties 10:42:16.378 [main] INFO l.integration.commandline.Main - Starting Liquibase at Mon, 24 Aug 2020 10:42:16 CEST (version 3.10.2 #22 built at Mon Jul 27 04:21:02 UTC 2020) 10:42:16.392 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/liquibase.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF 10:42:16.393 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/commons-cli-1.4.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF 10:42:16.393 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/h2-1.4.200.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF 10:42:16.394 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/jaxb-api-2.3.0.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF 10:42:16.394 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/jaxb-core-2.3.0.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF 10:42:16.395 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/jaxb-impl-2.3.0.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF 10:42:16.396 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/logback-classic-1.2.3.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF 10:42:16.397 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/logback-core-1.2.3.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF 10:42:16.397 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/slf4j-api-1.7.25.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF 10:42:16.398 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/slf4j-api-1.7.28.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF 10:42:16.398 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/snakeyaml-1.18.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF 10:42:16.398 [main] DEBUG l.r.ClassLoaderResourceAccessor - Opening jar:file:/C:/ProgramData/chocolatey/lib/liquibase/content/lib/snakeyaml-1.24.jar!/META-INF/MANIFEST.MF as META-INF/MANIFEST.MF 10:42:16.403 [main] DEBUG l.servicelocator.ServiceLocator - ServiceLocator.findClasses for liquibase.license.LicenseService 10:42:16.403 [main] DEBUG l.servicelocator.ServiceLocator - ServiceLocator finding classes matching interface liquibase.license.LicenseService 10:42:16.403 [main] DEBUG l.s.DefaultPackageScanClassResolver - Searching for implementations of liquibase.license.LicenseService in packages: [liquibase.change, liquibase.command, liquibase.changelog, liquibase.database, liquibase.parser, liquibase.precondition, liquibase.datatype, liquibase.serializer, liquibase.sqlgenerator, liquibase.executor, liquibase.snapshot, liquibase.logging, liquibase.diff, liquibase.structure, liquibase.structurecompare, liquibase.lockservice, liquibase.sdk.database, liquibase.ext, liquibase.pro, com.datical.liquibase]```
wso2ei-6.0.0 can not start in eclipse
I can not start wso2ei-6.0.0 in eclipse. The version I am using is developer-studio-ei-eclipse-jee-mars-2-win64-x86_64-1.0.0 version, jdk is 1.8.0. When I configure the server I select WSO2 Enterprise Integrator 6.0.0 others select defaults, I encounter an error when trying to start it. OSGi console has been enabled with options: -console osgi> [2017-03-04 10:33:35,314] [EI-Core] INFO - CarbonCoreActivator Starting WSO2 Carbon... [2017-03-04 10:33:35,318] [EI-Core] INFO - CarbonCoreActivator Operating System : Windows 7 6.1, amd64 [2017-03-04 10:33:35,319] [EI-Core] INFO - CarbonCoreActivator Java Home : C:\Program Files\Java\jdk1.8.0_112\jre [2017-03-04 10:33:35,319] [EI-Core] INFO - CarbonCoreActivator Java Version : 1.8.0_112 [2017-03-04 10:33:35,319] [EI-Core] INFO - CarbonCoreActivator Java VM : Java HotSpot(TM) 64-Bit Server VM 25.112-b15,Oracle Corporation [2017-03-04 10:33:35,319] [EI-Core] INFO - CarbonCoreActivator Carbon Home : D:/wso2/wso2ei-6.0.0 [2017-03-04 10:33:35,319] [EI-Core] INFO - CarbonCoreActivator Java Temp Dir : D:/wso2/wso2ei-6.0.0/tmp [2017-03-04 10:33:35,320] [EI-Core] INFO - CarbonCoreActivator User : zhu, zh-CN, Asia/Shanghai [2017-03-04 10:33:35,528] [EI-Core] WARN - ValidationResultPrinter Carbon is configured to use the default keystore (wso2carbon.jks). To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile. [2017-03-04 10:33:35,580] [EI-Core] INFO - GoogleTokenGenDSComponent Activating GoogleTokengen DS component [2017-03-04 10:33:35,855] [EI-Core] INFO - KafkaEventAdapterServiceDS Successfully deployed the Kafka output event adaptor service [2017-03-04 10:33:36,037] [EI-Core] INFO - ManagementModeConfigurationLoader CEP started in Single node mode [2017-03-04 10:33:45,956] [EI-Core] INFO - EmbeddedRegistryService Configured Registry in 256ms [2017-03-04 10:33:46,062] [EI-Core] INFO - RegistryCoreServiceComponent Registry Mode : READ-WRITE [2017-03-04 10:33:58,313] [EI-Core] INFO - SolrClient Default Embedded Solr Server Initialized [2017-03-04 10:33:58,700] [EI-Core] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully. [2017-03-04 10:34:44,397] [EI-Core] INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined [2017-03-04 10:35:46,336] [EI-Core] WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items: [2017-03-04 10:35:46,341] [EI-Core] WARN - CarbonServerManager Waiting for required Module: rampart-core-1.6.1-wso2v24 [2017-03-04 10:36:46,335] [EI-Core] WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items: [2017-03-04 10:36:46,336] [EI-Core] WARN - CarbonServerManager Waiting for required Module: rampart-core-1.6.1-wso2v24 [2017-03-04 10:37:46,334] [EI-Core] WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items: [2017-03-04 10:37:46,335] [EI-Core] WARN - CarbonServerManager Waiting for required Module: rampart-core-1.6.1-wso2v24 [2017-03-04 10:38:46,334] [EI-Core] WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items: [2017-03-04 10:38:46,334] [EI-Core] WARN - CarbonServerManager Waiting for required Module: rampart-core-1.6.1-wso2v24 [2017-03-04 10:39:46,335] [EI-Core] WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items: [2017-03-04 10:39:46,335] [EI-Core] WARN - CarbonServerManager Waiting for required Module: rampart-core-1.6.1-wso2v24 [2017-03-04 10:40:46,334] [EI-Core] WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items: [2017-03-04 10:40:46,334] [EI-Core] WARN - CarbonServerManager Waiting for required Module: rampart-core-1.6.1-wso2v24 [2017-03-04 10:41:46,335] [EI-Core] WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items: [2017-03-04 10:41:46,335] [EI-Core] WARN - CarbonServerManager Waiting for required Module: rampart-core-1.6.1-wso2v24 [2017-03-04 10:42:46,334] [EI-Core] WARN - CarbonServerManager Carbon initialization is delayed due to the following unsatisfied items: [2017-03-04 10:42:46,334] [EI-Core] WARN - CarbonServerManager Waiting for required Module: rampart-core-1.6.1-wso2v24 Carbon Server WSO2 Enterprise Integrator 6.0.0 at localhost is shutting down... Carbon Server WSO2 Enterprise Integrator 6.0.0 at localhost has shut down...
I tried the same and could not reproduce the issue after installing updates. However i could guess for a situation where this could happen. Hence I'm suggesting to do the following. Take a new wso2ei-6.0 pack and unziped, lets say the unzip location EI_HOME Start the eclipse, and when starting use a new workspace (i.e do not use the workspace you used earlier) Add a new server in eclipse, when adding a new server, goto "Configure runtime environments" and remove the old ei-server configuration if you already have such. Add new ei server, using the EI_HOME Start the server from eclipse If you are in a position that you could not use a new ei-6.0 pack, you may do the following. Goto EI_HOME/wso2/lib folder and list out the files and directories, it should have following files and directories. (i.e in a fresh pack) ant-contrib-1.0b3.jar cipher-text.properties commons-lang-2.6.0.wso2v1.jar endorsed/ esapi-2.0.1.jar org.wso2.carbon.logging-4.4.14.jar org.wso2.carbon.server-4.4.14.jar org.wso2.ciphertool-1.0.0-wso2v3.jar runtimes/ sandesha2-core-1.6.1-wso2v1.jar tomcat/ transactions.properties xercesImpl-2.8.1.wso2v2.jar If you have any files,jars other than in above list you may remove those. Then follow the steps 2-5. There could be a situation if you have started a EI server before applying updates, it might copy some additional jars to the EI_HOME/wso2/lib location. Which causes this problem (the update resolves this issue), hence the above solution is to fix that by manual removing the copied jars.
thank you very much. I did a java upgrade from 1.8.0_102 to 1.8.0.121 and it works fine now!
I re-downloaded eclipse and the latest version of java. I think it says that you don't have the correct java version installed. It worked fine after I re-downloaded them.
Error after generating model
I wanted to lern xtext, for many years i lerned xpand and xtend and worked fine, but xtext seems to replaced the other both. And the xtext way looks fine to me. As start i read follwing Tutorials: http://www.eclipse.org/Xtext/documentation/101_five_minutes.html, Including "15 Minutes Tutorial" and "15 Minutes Tutorial - Extended" and others. So i created a simple "Model" grammar org.bs.test.Test with org.eclipse.xtext.common.Terminals generate Test "http://www.bs.org/test/Test" Test: main=TMain; TMain: 'main' name=ID 'done'; Generated on following way: "GenerateTest.mwe2" > right click > 'Run As' → 'MWE2 Workflow'. Then made a copy of the Project. It was already my second or third try to find out what i made wrong. Now i changed in the model following line: "main=TMain;" to "main=TMain?;". Then i used 'MWE2 Workflow' again, which run successful, but after running following happens: Everthing files under 'src-gen/org/bs/test/Test/' and files in the subfolders 'impl' and 'util' are deleted. So they get deleted, then i copied the saved project and try following action on "Test.xtext" > right click > 'Run As' → 'Generate Xtext Artifacts', which result in the same. There are two question for me: 1) What is the difference between "Generate Xtext Artifacts" and "MWE2 Workflow" and when did i do need them. I cannot figure that out on the Tutorial and especialy when to use them. 2) What did i wrong, and what i have to do to create generate the elements from the changed model I could not find much on this, i hope someone could help me. I did not find something to both question. EDIT 1: When i create a complete new test project it works: project name: org.test name: org.test.MyTest extensions: mytest with following xtext: grammar org.test.MyTest with org.eclipse.xtext.common.Terminals generate myTest "http://www.test.org/MyTest" Test: main=TMain; TMain: 'main' name=ID 'done' But when i do the same with following input: Project name: org.bs.craass Name: org.bs.craass.CraAss Extension: craass xtext: grammar org.bs.craass.CraAss with org.eclipse.xtext.common.Terminals generate craAss "http://www.bs.org/craass/CraAss" CraAss: main=CAMain; CAMain: 'main' name=ID 'done'; Later i will try following: install a new eclispe emf and create a new workspace. EDIT2: So i tested a new workspace, there it look liks, that it is working. Perhaps something with the old workspace. Like in a comment, in the orginal workspace, after i get a good "version", i wanted to put it on git (learning reason). Since then this not working anymore. Here some output of the generation: 0 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering platform uri 'C:\workspaces\emf_01' 401 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass at 'file:/C:/workspaces/emf_01/org.bs.craass/' and using 'file:/C:/workspaces/emf_01/error_01/org.bs.craass/' instead. 926 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass at 'file:/C:/workspaces/emf_01/error_01/org.bs.craass/' and using 'file:/C:/workspaces/emf_01/org.bs.craass/' instead. 939 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass.sdk at 'file:/C:/workspaces/emf_01/error_01/org.bs.craass.sdk/' and using 'file:/C:/workspaces/emf_01/org.bs.craass.sdk/' instead. 970 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass.tests at 'file:/C:/workspaces/emf_01/error_01/org.bs.craass.tests/' and using 'file:/C:/workspaces/emf_01/org.bs.craass.tests/' instead. 1090 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass.ui at 'file:/C:/workspaces/emf_01/error_01/org.bs.craass.ui/' and using 'file:/C:/workspaces/emf_01/org.bs.craass.ui/' instead. 1749 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass at 'file:/C:/workspaces/emf_01/org.bs.craass/' and using 'file:/C:/workspaces/emf_01/save_01/org.bs.craass/' instead. 1762 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass.sdk at 'file:/C:/workspaces/emf_01/org.bs.craass.sdk/' and using 'file:/C:/workspaces/emf_01/save_01/org.bs.craass.sdk/' instead. 1820 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass.tests at 'file:/C:/workspaces/emf_01/org.bs.craass.tests/' and using 'file:/C:/workspaces/emf_01/save_01/org.bs.craass.tests/' instead. 2082 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project org.bs.craass.ui at 'file:/C:/workspaces/emf_01/org.bs.craass.ui/' and using 'file:/C:/workspaces/emf_01/save_01/org.bs.craass.ui/' instead. 2577 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Adding generated EPackage 'org.eclipse.xtext.xbase.XbasePackage' 4253 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/Xtext/Xbase/XAnnotations' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel' 4265 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/xbase/Xtype' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel' 4335 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/xbase/Xbase' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel' 4335 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/common/JavaVMTypes' from 'platform:/resource/org.eclipse.xtext.common.types/model/JavaVMTypes.genmodel' 6234 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Adding generated EPackage 'org.eclipse.xtext.common.types.TypesPackage' 6267 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf_01\org.bs.craass\..\org.bs.craass\src-gen 6326 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf_01\org.bs.craass\..\org.bs.craass\model\generated 6330 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf_01\org.bs.craass\..\org.bs.craass.ui\src-gen 6378 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf_01\org.bs.craass\..\org.bs.craass.tests\src-gen 9146 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.bs.org/craass/CraAss' from 'file:/C:/workspaces/emf_01/org.bs.craass/model/generated/CraAss.genmodel' 15709 [main] INFO text.generator.junit.Junit4Fragment - generating Junit4 Test support classes 15731 [main] INFO text.generator.junit.Junit4Fragment - generating Compare Framework infrastructure 15973 [main] INFO .emf.mwe2.runtime.workflow.Workflow - Done. I compared with a run in a other workspace, and the WARN, does not come there. To be hornest, i ignored first, because it was "only" warnings. A run that runs successful: 0 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering platform uri 'C:\workspaces\emf' 541 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Adding generated EPackage 'org.eclipse.xtext.xbase.XbasePackage' 1020 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/Xtext/Xbase/XAnnotations' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel' 1031 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/xbase/Xtype' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel' 1064 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/xbase/Xbase' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel' 1064 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/common/JavaVMTypes' from 'platform:/resource/org.eclipse.xtext.common.types/model/JavaVMTypes.genmodel' 2307 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Adding generated EPackage 'org.eclipse.xtext.common.types.TypesPackage' 2355 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf\org.bs.craass\..\org.bs.craass\src-gen 2382 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf\org.bs.craass\..\org.bs.craass\model\generated 2390 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf\org.bs.craass\..\org.bs.craass.ui\src-gen 2407 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf\org.bs.craass\..\org.bs.craass.tests\src-gen 4446 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.bs.org/craass/CraAss' from 'platform:/resource/org.bs.craass/model/generated/CraAss.genmodel' 11647 [main] INFO text.generator.junit.Junit4Fragment - generating Junit4 Test support classes 11719 [main] INFO text.generator.junit.Junit4Fragment - generating Compare Framework infrastructure 11997 [main] INFO .emf.mwe2.runtime.workflow.Workflow - Done. So far the stand of my troubleshooting. EDIT 3: I do not know why, but it accept now the old xtext file i created and while running it occurs following error (but seems to have no big impact), complete log: 0 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering platform uri 'C:\workspaces\emf' 664 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Adding generated EPackage 'org.eclipse.xtext.xbase.XbasePackage' 1864 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/Xtext/Xbase/XAnnotations' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel' 1882 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/xbase/Xtype' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel' 1987 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/xbase/Xbase' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel' 1987 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/common/JavaVMTypes' from 'platform:/resource/org.eclipse.xtext.common.types/model/JavaVMTypes.genmodel' 3982 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Adding generated EPackage 'org.eclipse.xtext.common.types.TypesPackage' 4018 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf\org.bs.craass\..\org.bs.craass\src-gen 4061 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf\org.bs.craass\..\org.bs.craass\model\generated 4064 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf\org.bs.craass\..\org.bs.craass.ui\src-gen 4087 [main] INFO ipse.emf.mwe.utils.DirectoryCleaner - Cleaning C:\workspaces\emf\org.bs.craass\..\org.bs.craass.tests\src-gen 7153 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.bs.org/craass/CraAss' from 'platform:/resource/org.bs.craass/model/generated/CraAss.genmodel' error(208): ../org.bs.craass/src-gen/org/bs/craass/parser/antlr/internal/InternalCraAss.g:1199:1: The following token definitions can never be matched because prior tokens match the same input: RULE_INT error(208): ../org.bs.craass.ui/src-gen/org/bs/craass/ui/contentassist/antlr/internal/InternalCraAss.g:2688:1: The following token definitions can never be matched because prior tokens match the same input: RULE_INT 16642 [main] INFO text.generator.junit.Junit4Fragment - generating Junit4 Test support classes 16661 [main] INFO text.generator.junit.Junit4Fragment - generating Compare Framework infrastructure 16804 [main] INFO .emf.mwe2.runtime.workflow.Workflow - Done. The trouble seems, that i have following: grammar org.bs.craass.CraAss with org.eclipse.xtext.common.Terminals but on the other side: terminal INTEGER : '-'?('0'..'9')+; terminal VAR_TERMINAL : '_' ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; terminal REGISTER_TERMINAL : ('ax' | 'bx' ); terminal FUNCTION_TERMINAL : (('a'..'z'|'_'|'0'..'9')*'.')?('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; And in the org.eclipse.xtext.common.Terminals is terminal INT returns ecore::EInt: ('0'..'9')+; But i have no what to do with it. The Problem itself, while generating everthing in srce-gen/, except the generated java files under src-gen/org.bs.craass.craAss and subfolder. Now there are created, too. So more i try to find out, so less the error was reproducable. Well, i will see, when i push it to git again, perhaps the error comes back. So far thanks
running the workflow directly or calling generate language artefacts does the very same. the workflow reads your Xtext file and generates all infrastructure Xtext provides for your language. thus you have to call it if you change your grammar or the workflow itself. if you have a misconfiguration on your language or a broken grammar the generation may fail. also the workflow may refer to project names which may have to be adopted as well (dont know how you do the copy and paste - you should use the Xtext Project wizard to create the project to be safe)
Enable JBoss Web Native (APR) on JBoss AS 6
I am trying to enable APR to improve performance of the AJP connector we use between apache and jboss. I have downloaded the correct .tar file from http://jbossweb.jboss.org/downloads/jboss-native-2-0-10 and extracted the files in accordance with the wiki instructions here : https://developer.jboss.org/wiki/HowToAddAprToJBoss Putting the .so files in the {jboss}/bin/native/lib64/ directory The server already has the startup parameter: -Djava.library.path=/opt/jboss/bin/native/lib64 But whenever I start the server I get the line: [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/jboss/bin/native/lib64 Can anyone offer any advice? I know there are many questions regarding AS7 (and EAP 6) but I cannot see ANY documentation for AS 6 I have tried for both our development (OS/X) and staging (Debian) servers using the corresponding .tar files but no luck with either As requested, here is result of ls -l on /{jboss}/bin/native/lib64 drwxr-xr-x 2 jboss jbossgroup 4096 Nov 9 14:29 engines -rw-r--r-- 1 jboss jbossgroup 53584 Aug 17 2010 libHornetQAIO64.so lrwxrwxrwx 1 jboss jbossgroup 18 Nov 9 14:29 libapr-1.so -> libapr-1.so.0.3.12 lrwxrwxrwx 1 jboss jbossgroup 18 Nov 9 14:29 libapr-1.so.0 -> libapr-1.so.0.3.12 -rwxr-xr-x 1 jboss jbossgroup 760761 Nov 9 14:29 libapr-1.so.0.3.12 lrwxrwxrwx 1 jboss jbossgroup 18 Nov 9 14:29 libcrypto.so -> libcrypto.so.0.9.8 lrwxrwxrwx 1 jboss jbossgroup 18 Nov 9 14:29 libcrypto.so.0 -> libcrypto.so.0.9.8 -r-xr-xr-x 1 jboss jbossgroup 2461453 Nov 9 14:29 libcrypto.so.0.9.8 lrwxrwxrwx 1 jboss jbossgroup 15 Nov 9 14:29 libssl.so -> libssl.so.0.9.8 lrwxrwxrwx 1 jboss jbossgroup 15 Nov 9 14:29 libssl.so.0 -> libssl.so.0.9.8 -r-xr-xr-x 1 jboss jbossgroup 606710 Nov 9 14:29 libssl.so.0.9.8 lrwxrwxrwx 1 jboss jbossgroup 23 Nov 9 14:29 libtcnative-1.so -> libtcnative-1.so.0.1.22 lrwxrwxrwx 1 jboss jbossgroup 23 Nov 9 14:29 libtcnative-1.so.0 -> libtcnative-1.so.0.1.22 -rwxr-xr-x 1 jboss jbossgroup 972435 Nov 9 14:29 libtcnative-1.so.0.1.22 And after enabling DEBUG level logging on org.apache.catalina.core I get the following boot.log output: JBoss Bootstrap Environment JBOSS_HOME: /opt/jboss JAVA: java JAVA_OPTS: -server -d64 -Xms2048m -Xmx2048m -XX:MaxPermSize=1024m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -Xverify:none -Dapp.mode=staging -Djava.rmi.server.hostname=ec2-11-11-111-111.eu-west-1.compute.amazonaws.com -Djava.net.preferIPv4Stack=true -Dcom.sun.management.jmxremote.rmi.port=9010 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=6789 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Djboss.platform.mbeanserver -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Dorg.jboss.logging.Logger.pluginClass=org.jboss.logging.logmanager.LoggerPluginImpl -Djava.net.preferIPv4Stack=true -Dprogram.name=run.sh -Djava.library.path=/opt/jboss/bin/native/lib64 CLASSPATH: :/opt/jboss-6.0.0.Final/lib/jboss-logmanager.jar:/opt/jboss/bin/run.jar ========================================================================= Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future 23:12:22,466 INFO [AbstractJBossASServerBase] Server Configuration: JBOSS_HOME URL: file:/opt/jboss-6.0.0.Final/ Bootstrap: $JBOSS_HOME/server/default/conf/bootstrap.xml Common Base: $JBOSS_HOME/common/ Common Library: $JBOSS_HOME/common/lib/ Server Name: default Server Base: $JBOSS_HOME/server/ Server Library: $JBOSS_HOME/server/default/lib/ Server Config: $JBOSS_HOME/server/default/conf/ Server Home: $JBOSS_HOME/server/default/ Server Data: $JBOSS_HOME/server/default/data/ Server Log: $JBOSS_HOME/server/default/log/ Server Temp: $JBOSS_HOME/server/default/tmp/ 23:12:22,501 INFO [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"] 23:12:26,130 INFO [ServerInfo] Java version: 1.6.0_22,Sun Microsystems Inc. 23:12:26,138 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_22-b04) 23:12:26,139 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 17.1-b03,Sun Microsystems Inc. 23:12:26,139 INFO [ServerInfo] OS-System: Linux 3.2.0-4-amd64,amd64 23:12:26,139 INFO [ServerInfo] VM arguments: -Xms2048m -Xmx2048m -XX:MaxPermSize=1024m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -Xverify:none -Dapp.mode=staging -Djava.rmi.server.hostname=ec2-11-11-111-111.eu-west-1.compute.amazonaws.com -Djava.net.preferIPv4Stack=true -Dcom.sun.management.jmxremote.rmi.port=9010 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=6789 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Djboss.platform.mbeanserver -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Dorg.jboss.logging.Logger.pluginClass=org.jboss.logging.logmanager.LoggerPluginImpl -Djava.net.preferIPv4Stack=true -Dprogram.name=run.sh -Djava.library.path=/opt/jboss/bin/native/lib64 -Djava.endorsed.dirs=/opt/jboss/lib/endorsed 23:12:26,256 INFO [JMXKernel] Legacy JMX core initialized 23:12:38,901 INFO [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA 23:12:40,353 INFO [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0] 23:12:56,530 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal 23:13:16,702 INFO [PersistenceUnitValueMetaData] iDependOn persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb 23:13:17,121 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext#1944676091{vfs:///opt/jboss-6.0.0.Final/server/default/deploy/Swimtag.ear/SwimtagActions.jar/} 23:13:17,122 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext#1944676091{vfs:///opt/jboss-6.0.0.Final/server/default/deploy/Swimtag.ear/SwimtagActions.jar/} 23:13:17,122 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext#1617437744{vfs:///opt/jboss-6.0.0.Final/server/default/deploy/Swimtag.ear/SwimtagEntities.jar/} 23:13:17,122 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext#1617437744{vfs:///opt/jboss-6.0.0.Final/server/default/deploy/Swimtag.ear/SwimtagEntities.jar/} 23:13:17,123 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext#655052855{vfs:///opt/jboss-6.0.0.Final/server/default/deploy/Swimtag.ear/jboss-seam.jar/} 23:13:17,135 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext#655052855{vfs:///opt/jboss-6.0.0.Final/server/default/deploy/Swimtag.ear/jboss-seam.jar/} 23:13:21,055 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal 23:13:21,451 INFO [JMXConnector] starting JMXConnector on host 0.0.0.0:1090 23:13:21,718 INFO [MailService] Mail Service bound to java:/Mail 23:13:24,038 INFO [HornetQServerImpl] live server is starting.. 23:13:24,211 INFO [JournalStorageManager] Using NIO Journal 23:13:25,638 INFO [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 0.0.0.0:5445 for CORE protocol 23:13:25,655 INFO [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 0.0.0.0:5455 for CORE protocol 23:13:25,680 INFO [HornetQServerImpl] HornetQ Server version 2.1.2.Final (Colmeia, 120) started 23:13:25,878 INFO [WebService] Using RMI server codebase: http://ec2-11-11-111-111.eu-west-1.compute.amazonaws.com:8083/ 23:13:26,402 INFO [jbossatx] ARJUNA-32010 JBossTS Recovery Service (tag: JBOSSTS_4_14_0_Final) - JBoss Inc. 23:13:26,406 INFO [arjuna] ARJUNA-12324 Start RecoveryActivators 23:13:26,491 INFO [arjuna] ARJUNA-12296 ExpiredEntryMonitor running at Wed, 12 Nov 2014 23:13:26 23:13:26,681 INFO [arjuna] ARJUNA-12310 Recovery manager listening on endpoint 0.0.0.0:4712 23:13:26,682 INFO [arjuna] ARJUNA-12344 RecoveryManagerImple is ready on port 4712 23:13:26,682 INFO [jbossatx] ARJUNA-32013 Starting transaction recovery manager 23:13:26,712 INFO [arjuna] ARJUNA-12163 Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4713 23:13:26,761 INFO [arjuna] ARJUNA-12337 TransactionStatusManagerItem host: 0.0.0.0 port: 4713 23:13:26,777 INFO [arjuna] ARJUNA-12170 TransactionStatusManager started on port 4713 and host 0.0.0.0 with service com.arjuna.ats.arjuna.recovery.ActionStatusService 23:13:26,830 INFO [jbossatx] ARJUNA-32017 JBossTS Transaction Service (JTA version - tag: JBOSSTS_4_14_0_Final) - JBoss Inc. 23:13:26,892 INFO [arjuna] ARJUNA-12202 registering bean jboss.jta:type=ObjectStore. 23:13:27,372 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/jboss/bin/native/lib64 23:13:27,794 INFO [ModClusterService] Initializing mod_cluster 1.1.0.Final 23:13:27,816 INFO [TomcatDeployment] deploy, ctxPath=/invoker 23:13:28,657 INFO [RARDeployment] Required license terms exist, view vfs:/opt/jboss-6.0.0.Final/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml 23:13:28,689 INFO [RARDeployment] Required license terms exist, view vfs:/opt/jboss-6.0.0.Final/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml 23:13:28,696 INFO [RARDeployment] Required license terms exist, view vfs:/opt/jboss-6.0.0.Final/server/default/deploy/jms-ra.rar/META-INF/ra.xml 23:13:28,730 INFO [HornetQResourceAdapter] HornetQ resource adaptor started 23:13:28,787 INFO [RARDeployment] Required license terms exist, view vfs:/opt/jboss-6.0.0.Final/server/default/deploy/mail-ra.rar/META-INF/ra.xml 23:13:28,804 INFO [RARDeployment] Required license terms exist, view vfs:/opt/jboss-6.0.0.Final/server/default/deploy/quartz-ra.rar/META-INF/ra.xml 23:13:28,912 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2 23:13:28,949 INFO [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 23:13:28,949 INFO [QuartzScheduler] Quartz Scheduler v.1.8.3 created. 23:13:28,951 INFO [RAMJobStore] RAMJobStore initialized. 23:13:28,952 INFO [QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v1.8.3) 'JBossQuartzScheduler' with instanceId 'NON_CLUSTERED' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. Using the following in jboss-logging.xml <logger category="org.apache.catalina.core"> <level name="DEBUG"/> </logger>
Jboss AS 6.x in run.sh script try set value of java.library.path If you look in the run.sh file: # Setup JBoss Native library path # if [ -d "$JBOSS_HOME/../native/lib" ]; then JBOSS_NATIVE_DIR=`cd "$JBOSS_HOME/../native" && pwd` elif [ -d "$JBOSS_HOME/native/lib" ]; then JBOSS_NATIVE_DIR=`cd "$JBOSS_HOME/native" && pwd` elif [ -d "$JBOSS_HOME/../native/lib64" ]; then JBOSS_NATIVE_DIR=`cd "$JBOSS_HOME/../native" && pwd` elif [ -d "$JBOSS_HOME/native/lib64" ]; then JBOSS_NATIVE_DIR=`cd "$JBOSS_HOME/native" && pwd` elif [ -d "$JBOSS_HOME/native/bin" ]; then JBOSS_NATIVE_DIR=`cd "$JBOSS_HOME/native" && pwd` elif [ -d "$JBOSS_HOME/bin/native" ]; then JBOSS_NATIVE_DIR=`cd "$JBOSS_HOME/bin/native" && pwd` fi if [ -d "$JBOSS_NATIVE_DIR" ]; then if $cygwin; then JBOSS_NATIVE_DIR="$JBOSS_NATIVE_DIR/bin" export PATH="$JBOSS_NATIVE_DIR:$PATH" JBOSS_NATIVE_LIBPATH=`cygpath --path --windows "$JBOSS_NATIVE_DIR"` else IS_64_BIT_JVM=`"$JAVA" $JVM_OPTVERSION 2>&1 | $GREP -i 64-bit` if [ "x$IS_64_BIT_JVM" != "x" ]; then JBOSS_NATIVE_DIR="$JBOSS_NATIVE_DIR/lib64" else JBOSS_NATIVE_DIR="$JBOSS_NATIVE_DIR/lib" fi LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" export LD_LIBRARY_PATH JBOSS_NATIVE_LIBPATH=$LD_LIBRARY_PATH fi JAVA_OPTS="$JAVA_OPTS -Djava.library.path=$JBOSS_NATIVE_LIBPATH" fi This overwrites the value in startup, you must install the native components in bin/native or comment this line. JAVA_OPTS="$JAVA_OPTS -Djava.library.path=$JBOSS_NATIVE_LIBPATH"
Eclipse / Sonar Analysis - java.lang.OutOfMemoryError: PermGen space
Good morning, i am trying to syncronize my Eclipse project with the Sonar server we have in our Company. I tried with 2 completely different computers/environments but cannot find a solution, even if I tried to apply every suggested tip found here (stackOverflow) or elsewhere. It seems (as clearly explained by the stacktrace) that I may have a memory lack and, since the project is really huge, it may be obvious, but pheraps I cannot (or I don't know) how to launch eclipse with more memory. I modified the eclipse.ini as below: -startup plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326 -product org.eclipse.epp.package.standard.product --launcher.defaultAction openFile --launcher.XXMaxPermSize 256M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 1024m --launcher.defaultAction openFile --launcher.appendVmargs -vmargs -Dosgi.requiredJavaVersion=1.7 -Xms512m -Xmx2048m -XX:MaxPermSize=2048m but nothing. Later modified the Windows / Preferences / SonarQube / JVM arguments for analysis with: -Xmx2048m Tried later Windows / Preferences / SonarQube / Preview Analysis Properties with: wrapper.java.maxmemory = 6000 but nothing. Eclipse cannot finish analysis (maybe just cannot store data in local db). These are the environment specs (of the best machine...): Windows 8 64bit - 8GB RAM java version "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode) Eclipse Standard/SDK Version: Luna Release (4.4.0) Build id: 20140612-0600 Retrieve remote issues of project PREPRODUZIONE... Start SonarQube analysis on PREPRODUZIONE... INFO: SonarQube Server 4.3 11:09:32.970 INFO - Incremental mode 11:09:32.972 INFO - Load batch settings 11:09:33.196 INFO - User cache: C:\Users\alex\.sonar\cache 11:09:33.201 INFO - Install plugins 11:09:33.235 INFO - Include plugins: 11:09:33.235 INFO - Exclude plugins: devcockpit, jira, pdfreport, views, report, buildstability, scmactivity, buildbreaker 11:09:41.588 INFO - Create JDBC datasource for jdbc:h2:C:\ECLIPSE\3.3.2\.metadata\.plugins\org.eclipse.core.resources\.projects\PREPRODUZIONE\org.sonar.ide.eclipse.core\.sonartmp\preview1406279373883-0 11:09:42.716 INFO - Initializing Hibernate 11:09:45.471 INFO - Load project settings 11:09:45.553 INFO - Apply project exclusions 11:09:45.653 INFO - ------------- Scan PREPRODUZIONE 11:09:45.657 INFO - Load module settings 11:09:46.788 INFO - Loading technical debt model... 11:09:46.794 INFO - Loading technical debt model done: 6 ms 11:09:46.794 INFO - Loading rules... 11:09:47.056 INFO - Loading rules done: 262 ms 11:09:47.065 INFO - Configure Maven plugins 11:09:47.127 INFO - Compare to previous analysis (2014-07-10) 11:09:47.133 INFO - Compare over 30 days (2014-06-25, analysis of 2014-07-10 00:13:19.304) 11:09:47.140 INFO - Compare to previous version (2014-07-10) 11:09:47.425 INFO - Loaded quality gate 'RGI Standard - java ' 11:09:47.824 INFO - Base dir: C:\ECLIPSE\3.3.2\PREPRODUZIONE 11:09:47.824 INFO - Working dir: C:\ECLIPSE\3.3.2\.metadata\.plugins\org.eclipse.core.resources\.projects\PREPRODUZIONE\org.sonar.ide.eclipse.core 11:09:47.824 INFO - Source dirs: C:\ECLIPSE\3.3.2\PREPRODUZIONE\src\java 11:09:47.824 INFO - Binary dirs: C:\ECLIPSE\3.3.2\PREPRODUZIONE\bin 11:09:47.824 INFO - Source encoding: windows-1252, default locale: it_IT 11:09:47.825 INFO - Index files 11:09:48.879 INFO - 1095 files indexed 11:09:53.579 INFO - Quality profile for java: RGI Standard 11:09:53.579 INFO - Quality profile for xml: Sonar way 11:09:53.898 INFO - JaCoCo report not found. 11:09:53.899 INFO - JaCoCo IT report not found. 11:09:53.899 INFO - JaCoCo reports not found. 11:09:53.915 INFO - Sensor JavaSquidSensor... 11:09:54.088 INFO - Java Main Files AST scan... 11:09:54.091 INFO - 1091 source files to be analyzed 11:10:04.092 INFO - 226/1091 files analyzed, current is C:\ECLIPSE\3.3.2\PREPRODUZIONE\src\java\it\boh\dbo\Vehicle.java 11:10:13.450 INFO - 1091/1091 source files analyzed 11:10:13.587 INFO - Java Main Files AST scan done: 19499 ms 11:10:13.624 INFO - Java bytecode scan... 11:10:14.759 INFO - Java bytecode scan done: 1135 ms 11:10:14.759 INFO - Java Test Files AST scan... 11:10:14.759 INFO - 0 source files to be analyzed 11:10:14.759 INFO - Java Test Files AST scan done: 0 ms 11:10:14.760 INFO - 0/0 source files analyzed 11:10:16.066 INFO - Sensor JavaSquidSensor done: 22151 ms 11:10:16.066 INFO - Sensor QProfileSensor... 11:10:16.067 INFO - Sensor QProfileSensor done: 1 ms 11:10:16.067 INFO - Sensor FindbugsSensor... 11:10:16.068 INFO - Execute Findbugs 2.0.3... 11:10:17.667 INFO - Found findbugs plugin: /C:/Users/alex/.sonar/cache/108e4763f8b1f4a0e9de5d1fa2aba85b/sonar-fb-contrib-plugin-1.2.jar_unzip/META-INF/lib/fb-contrib-4.8.5.jar 11:10:17.827 INFO - Findbugs output report: C:\ECLIPSE\3.3.2\.metadata\.plugins\org.eclipse.core.resources\.projects\PREPRODUZIONE\org.sonar.ide.eclipse.core\findbugs-result.xml Frame type field is null:false 11:11:20.205 INFO - Execute Findbugs 2.0.3 done: 64137 ms 11:11:20.287 INFO - Sensor FindbugsSensor done: 64220 ms 11:11:20.287 INFO - Sensor CpdSensor... 11:11:20.288 INFO - SonarEngine is used for java 11:11:20.294 INFO - Cross-project analysis disabled 11:11:23.923 INFO - Sensor CpdSensor done: 3636 ms 11:11:23.923 INFO - Sensor PmdSensor... 11:11:23.924 INFO - Execute PMD 5.1.1... 11:11:24.017 INFO - Java version: 1.5 11:11:24.095 INFO - PMD configuration: C:\ECLIPSE\3.3.2\.metadata\.plugins\org.eclipse.core.resources\.projects\PREPRODUZIONE\org.sonar.ide.eclipse.core\pmd.xml 11:11:38.763 INFO - Execute PMD 5.1.1 done: 14839 ms 11:11:38.871 INFO - Sensor PmdSensor done: 14948 ms 11:11:38.871 INFO - Sensor XmlSensor... 11:11:39.069 INFO - Sensor XmlSensor done: 198 ms 11:11:39.070 INFO - Sensor LineCountSensor... 11:11:39.085 INFO - Sensor LineCountSensor done: 15 ms 11:11:39.086 INFO - Sensor SurefireSensor... 11:11:39.087 INFO - parsing C:\ECLIPSE\3.3.2\.metadata\.plugins\org.eclipse.core.resources\.projects\PREPRODUZIONE\org.sonar.ide.eclipse.core\build\surefire-reports 11:11:39.087 WARN - Reports path not found: C:\ECLIPSE\3.3.2\.metadata\.plugins\org.eclipse.core.resources\.projects\PREPRODUZIONE\org.sonar.ide.eclipse.core\build\surefire-reports 11:11:39.087 INFO - Sensor SurefireSensor done: 1 ms 11:11:39.087 INFO - Sensor CheckstyleSensor... 11:11:39.088 INFO - Execute Checkstyle 5.6... 11:11:39.161 INFO - Checkstyle configuration: C:\ECLIPSE\3.3.2\.metadata\.plugins\org.eclipse.core.resources\.projects\PREPRODUZIONE\org.sonar.ide.eclipse.core\checkstyle.xml 11:11:54.484 INFO - Execute Checkstyle 5.6 done: 15396 ms 11:11:54.484 INFO - Sensor CheckstyleSensor done: 15397 ms 11:11:54.484 INFO - Sensor InitialOpenIssuesSensor... 11:11:54.733 INFO - Sensor InitialOpenIssuesSensor done: 249 ms 11:11:54.734 INFO - Sensor ProfileEventsSensor... 11:11:54.745 INFO - Sensor ProfileEventsSensor done: 11 ms 11:11:54.745 INFO - Sensor ProjectLinksSensor... 11:11:54.751 INFO - Sensor ProjectLinksSensor done: 6 ms 11:11:55.040 INFO - Execute decorators... 11:13:35.682 INFO - Export results to C:\ECLIPSE\3.3.2\.metadata\.plugins\org.eclipse.core.resources\.projects\PREPRODUZIONE\org.sonar.ide.eclipse.core\sonar-report.json 11:13:36.629 INFO - Store results in database Exception in thread "main" org.sonar.runner.impl.RunnerException: Unable to execute Sonar at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91) at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75) at java.security.AccessController.doPrivileged(Native Method) at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69) at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50) at org.sonar.runner.impl.BatchLauncherMain.execute(BatchLauncherMain.java:41) at org.sonar.runner.impl.BatchLauncherMain.main(BatchLauncherMain.java:59) Caused by: java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.sonar.runner.impl.IsolatedClassloader.loadClass(IsolatedClassloader.java:94) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.hibernate.hql.ast.SqlASTFactory.class$(SqlASTFactory.java:101) at org.hibernate.hql.ast.SqlASTFactory.getASTNodeType(SqlASTFactory.java:103) at antlr.ASTFactory.create(ASTFactory.java:152) at antlr.ASTFactory.create(ASTFactory.java:186) at org.hibernate.hql.antlr.HqlSqlBaseWalker.updateStatement(HqlSqlBaseWalker.java:327) at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:239) at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:254) at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185) at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:136) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80) at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:94) at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156) at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135) at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1651) at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:93) at org.sonar.jpa.session.JpaDatabaseSession.createQuery(JpaDatabaseSession.java:184) at org.sonar.batch.phases.UpdateStatusJob.setFlags(UpdateStatusJob.java:133) at org.sonar.batch.phases.UpdateStatusJob.disablePreviousSnapshot(UpdateStatusJob.java:95) Any other suggestions? Thanks Alessandro
Try going to Window / Preferences / SonarQube and enter your maxPermSize value in the "JVM arguments for preview analysis" box:
Set the below environment variable and the try to run the sonar runner Variable Name: SONAR_RUNNER_OPTS Variable Value: -Xmx512m -XX:MaxPermSize=128m