Jenkins configuration Error in running the jar file

ShdwKnght333 :

I'm trying to setup Jenkins on my Mac. I've downloaded the package file from their website and have successfully installed it. I also installed the necessary plugins and created my first admin user.

When I now go over to Manage Jenkins and try any of the following:

  • Configure Global Security
  • Configure Credentials
  • Global Tool Configuration

I get the following error:

Stack trace

java.lang.AssertionError: InstanceIdentity is missing its singleton
    at
org.jenkinsci.main.modules.instance_identity.InstanceIdentity.get(InstanceIdentity.java:133)
    at org.jenkinsci.main.modules.instance_identity.InstanceIdentityRSAProvider.getKeyPair(InstanceIdentityRSAProvider.java:23)
    at jenkins.model.identity.InstanceIdentityProvider$KeyTypes.get(InstanceIdentityProvider.java:157)
    at jenkins.model.identity.InstanceIdentityProvider$KeyTypes.getKeyPair(InstanceIdentityProvider.java:206)
    at jenkins.model.identity.IdentityRootAction.getUrlName(IdentityRootAction.java:42)
    at jenkins.model.Jenkins.getDynamic(Jenkins.java:3642)
    at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:638)
    at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
    at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)
    at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:372)
    at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
Caused: javax.servlet.ServletException
    at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:765)
    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
    at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
    at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
    at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:138)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
    at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:86)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
    at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
    at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
    at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
    at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
    at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
    at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
    at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:92)
    at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
    at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
    at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
    at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
    at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
    at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
    at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
    at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
    at org.eclipse.jetty.server.Server.handle(Server.java:564)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
    at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
    at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128)
    at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
    at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    at java.base/java.lang.Thread.run(Thread.java:844)

Sorry for the entire stack trace but all I could make from it was that there is some error with jetty or InstanceIndentity or something to do with Servelets.

Any idea what I might have done wrong in the installation process.

Manmohan_singh :

Seems like a JAVA issue. Just make sure you are using Java 8 on you MAC. Currently Jenkins does not support Java 9.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Running a compiled Jar file in Jenkins

From Dev

Error while running jar file on system

From Dev

Error creating bean when running .JAR file

From Dev

Error in running jar file of spring boot application

From Dev

Docker-compose failed running a jar that read configuration from a file

From Dev

Getting 'Invalid or Corrupt jar file' error upon running sbt

From Dev

Running Jar file on another computer, getting NoClassDefFound error

From Dev

Exporting to .jar file and running in Windows cmd - JNI error?

From Java

Running JAR file on Windows

From Dev

Java jar file not running

From Dev

Error running .jar on a Mac

From Dev

Will below command work as it as on jenkins for running my jar file with command line arguments?

From Dev

"No auto configuration classes found in META-INF/spring.factories" error on running Spring Boot jar artifact

From Dev

Running a jar file that has an image

From Dev

NoSuchFileException when running jar file

From Dev

.JAR Executable file not running properly

From Dev

Error on Running Selenium Webdriver in Jenkins

From Dev

crontab error running exe jar

From Dev

Configuration Error while running the project

From Dev

Jenkins is throwing the error "Perhaps you need to specify the correct POM file path in the project configuration?"

From Dev

In Jenkins pipeline getting "error: Missing or incomplete configuration info. Please point to an existing, complete config file"

From Java

got error when I am running Jar file. IllegalStateException: Location is not set

From Dev

2: No such directory error when running jar from bat file using scheduler

From Dev

Running grails from STS shows Error opening zip file or JAR manifest missing

From Java

How to run a jar file through Jenkins?

From Dev

How to run a JAR file using Jenkins

From Dev

Error in logstash configuration file

From Java

Running jar file returns error: Error: Could not find or load main class MyClass Caused by: java.lang.ClassNotFoundException: MyClass

From Java

Java -jar : access external configuration file

Related Related

  1. 1

    Running a compiled Jar file in Jenkins

  2. 2

    Error while running jar file on system

  3. 3

    Error creating bean when running .JAR file

  4. 4

    Error in running jar file of spring boot application

  5. 5

    Docker-compose failed running a jar that read configuration from a file

  6. 6

    Getting 'Invalid or Corrupt jar file' error upon running sbt

  7. 7

    Running Jar file on another computer, getting NoClassDefFound error

  8. 8

    Exporting to .jar file and running in Windows cmd - JNI error?

  9. 9

    Running JAR file on Windows

  10. 10

    Java jar file not running

  11. 11

    Error running .jar on a Mac

  12. 12

    Will below command work as it as on jenkins for running my jar file with command line arguments?

  13. 13

    "No auto configuration classes found in META-INF/spring.factories" error on running Spring Boot jar artifact

  14. 14

    Running a jar file that has an image

  15. 15

    NoSuchFileException when running jar file

  16. 16

    .JAR Executable file not running properly

  17. 17

    Error on Running Selenium Webdriver in Jenkins

  18. 18

    crontab error running exe jar

  19. 19

    Configuration Error while running the project

  20. 20

    Jenkins is throwing the error "Perhaps you need to specify the correct POM file path in the project configuration?"

  21. 21

    In Jenkins pipeline getting "error: Missing or incomplete configuration info. Please point to an existing, complete config file"

  22. 22

    got error when I am running Jar file. IllegalStateException: Location is not set

  23. 23

    2: No such directory error when running jar from bat file using scheduler

  24. 24

    Running grails from STS shows Error opening zip file or JAR manifest missing

  25. 25

    How to run a jar file through Jenkins?

  26. 26

    How to run a JAR file using Jenkins

  27. 27

    Error in logstash configuration file

  28. 28

    Running jar file returns error: Error: Could not find or load main class MyClass Caused by: java.lang.ClassNotFoundException: MyClass

  29. 29

    Java -jar : access external configuration file

HotTag

Archive