java.lang.IllegalStateException: Plugin version is 1.3.0, but database version is 1.0

GitHub | endo-takashi | 2 months ago
  1. 0

    GitHub comment 16#248168620

    GitHub | 2 months ago | endo-takashi
    java.lang.IllegalStateException: Plugin version is 1.3.0, but database version is 1.0
  2. 0

    Overly verbose and non-user friendly output by maintainDB tool on versions mismatch

    YouTrack | 6 years ago
    java.lang.IllegalStateException: Versions mismatch: the configuration version is 417 but the database version is 418
  3. 0

    To reproduce this: (use maven 2.1.0 first to prove it worked earlier, and then upgrade to 2.2.0) svn co https://svn.atlassian.com/svn/public/contrib/clover/maven-clover-plugin/trunk maven-clover-plugin cd maven-clover-plugin mvn clean verify -Pintegration-tests Just then when plugin-management plugin is being run under 2.2.0, I get this error: {code} [INFO] [jar:jar {execution: default-jar}] [INFO] Building jar: /Users/niick/work/mvnclvr/target/maven-clover2-plugin-2.5.2-SNAPSHOT.jar [INFO] [plugin:addPluginArtifactMetadata {execution: default-addPluginArtifactMetadata}] [INFO] [plugin-management:stage {execution: handle-plugin-staging}] [INFO] Installing /Users/niick/work/mvnclvr/target/maven-clover2-plugin-2.5.2-SNAPSHOT.jar to /Users/niick/.m2/repository/com/atlassian/maven/plugins/maven-clover2-plugin/2.5.2-SNAPSHOT/maven-clover2-plugin-2.5.2-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] version for plugin com.atlassian.maven.plugins:maven-clover2-plugin is not set [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.IllegalStateException: version for plugin com.atlassian.maven.plugins:maven-clover2-plugin is not set at org.apache.maven.plugin.PluginUtils.constructVersionedKey(PluginUtils.java:69) at org.apache.maven.plugin.PluginUtils.constructVersionedKey(PluginUtils.java:43) at org.apache.maven.plugin.MavenPluginCollector.flushPluginDescriptor(MavenPluginCollector.java:94) at org.apache.maven.plugin.plugintest.manager.DefaultPluginManagerAccess.clearPluginData(DefaultPluginManagerAccess.java:40) at org.apache.maven.plugin.plugintest.manager.DefaultPluginManagerAccess.clearPluginData(DefaultPluginManagerAccess.java:30) at org.apache.maven.plugin.plugintest.StagedInstallMojo.execute(StagedInstallMojo.java:149) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519) {code} This is important to fix so we can test the maven-clover2-plugin using maven 2.2.0.

    Atlassian JIRA | 7 years ago | Nick Pellow [Atlassian]
    java.lang.IllegalStateException: version for plugin com.atlassian.maven.plugins:maven-clover2-plugin is not set
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Play1.2]forceオプションを使って依存ライブラリのバージョンを上書く | 遊び場

    ne.jp | 1 year ago
    java.lang.IllegalStateException: Joda-time 2.2 or later version is required, but found version: 2.1
  6. 0

    EMR ETL Runner: java.lang.IllegalStateException: Joda-time 2.2 or later version is required, but found version: null

    Google Groups | 2 years ago | Daniel Zohar
    java.lang.IllegalStateException: Joda-time 2.2 or later version is required, but found version: null

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Plugin version is 1.3.0, but database version is 1.0

      at gitbucket.core.plugin.PluginRegistry$.gitbucket$core$plugin$PluginRegistry$$$anonfun$6()
    2. gitbucket.core.plugin
      PluginRegistry$.gitbucket$core$plugin$PluginRegistry$$$anonfun$6$adapted
      1. gitbucket.core.plugin.PluginRegistry$.gitbucket$core$plugin$PluginRegistry$$$anonfun$6(PluginRegistory.scala:183)
      2. gitbucket.core.plugin.PluginRegistry$.gitbucket$core$plugin$PluginRegistry$$$anonfun$6$adapted(PluginRegistory.scala:170)
      2 frames
    3. Scala
      ArrayOps$ofRef.foreach
      1. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
      2. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
      2 frames
    4. gitbucket.core.plugin
      PluginRegistry$.initialize
      1. gitbucket.core.plugin.PluginRegistry$.initialize(PluginRegistory.scala:170)
      1 frame
    5. gitbucket.core.servlet
      InitializeListener.gitbucket$core$servlet$InitializeListener$$$anonfun$1$adapted
      1. gitbucket.core.servlet.InitializeListener.gitbucket$core$servlet$InitializeListener$$$anonfun$1(InitializeListener.scala:96)
      2. gitbucket.core.servlet.InitializeListener.gitbucket$core$servlet$InitializeListener$$$anonfun$1$adapted(InitializeListener.scala:37)
      2 frames
    6. scala.slick.backend
      DatabaseComponent$DatabaseDef$$anonfun$withTransaction$1$$anonfun$apply$1.apply
      1. scala.slick.backend.DatabaseComponent$DatabaseDef$$anonfun$withTransaction$1$$anonfun$apply$1.apply(DatabaseComponent.scala:54)
      1 frame
    7. SLICK
      JdbcBackend$BaseSession.withTransaction
      1. scala.slick.jdbc.JdbcBackend$BaseSession.withTransaction(JdbcBackend.scala:426)
      1 frame
    8. scala.slick.backend
      DatabaseComponent$DatabaseDef$class.withSession
      1. scala.slick.backend.DatabaseComponent$DatabaseDef$$anonfun$withTransaction$1.apply(DatabaseComponent.scala:54)
      2. scala.slick.backend.DatabaseComponent$DatabaseDef$$anonfun$withTransaction$1.apply(DatabaseComponent.scala:54)
      3. scala.slick.backend.DatabaseComponent$DatabaseDef$class.withSession(DatabaseComponent.scala:34)
      3 frames
    9. SLICK
      JdbcBackend$DatabaseFactoryDef$$anon$3.withSession
      1. scala.slick.jdbc.JdbcBackend$DatabaseFactoryDef$$anon$3.withSession(JdbcBackend.scala:46)
      1 frame
    10. scala.slick.backend
      DatabaseComponent$DatabaseDef$class.withTransaction
      1. scala.slick.backend.DatabaseComponent$DatabaseDef$class.withTransaction(DatabaseComponent.scala:54)
      1 frame
    11. SLICK
      JdbcBackend$DatabaseFactoryDef$$anon$3.withTransaction
      1. scala.slick.jdbc.JdbcBackend$DatabaseFactoryDef$$anon$3.withTransaction(JdbcBackend.scala:46)
      1 frame
    12. gitbucket.core.servlet
      InitializeListener.contextInitialized
      1. gitbucket.core.servlet.InitializeListener.contextInitialized(InitializeListener.scala:37)
      1 frame
    13. Jetty
      AbstractLifeCycle.start
      1. org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:837)
      2. org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:533)
      3. org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:810)
      4. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:345)
      5. org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1404)
      6. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366)
      7. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:772)
      8. org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)
      9. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:520)
      10. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      11. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
      12. org.eclipse.jetty.server.Server.start(Server.java:411)
      13. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:106)
      14. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
      15. org.eclipse.jetty.server.Server.doStart(Server.java:378)
      16. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      16 frames
    14. Unknown
      JettyLauncher.main
      1. JettyLauncher.main(JettyLauncher.java:65)
      1 frame