com4j.ComException: 80040e37 (Unknown error) : An operations error occurred. : .\invoke.cpp:460

Jenkins JIRA | Karl P | 5 years ago
  1. 0

    Jenkins is running on a windows machine, with active directory in use for user authentication. This normally all works fine. For some reason, the host started having errors, which prevented remote logins even [1] While this was happening, jenkins kept working, but you could not login. Attempts to login through a 500 with the following stack trace: {code} com4j.ComException: 80040e37 (Unknown error) : An operations error occurred. : .\invoke.cpp:460 at com4j.Wrapper.invoke(Wrapper.java:122) at $Proxy32.execute(Unknown Source) at hudson.plugins.active_directory.ActiveDirectoryAuthenticationProvider.getDnOfUserOrGroup(ActiveDirectoryAuthenticationProvider.java:117) at hudson.plugins.active_directory.ActiveDirectoryAuthenticationProvider.retrieveUser(ActiveDirectoryAuthenticationProvider.java:73) at org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:119) at org.acegisecurity.providers.ProviderManager.doAuthentication(ProviderManager.java:195) at org.acegisecurity.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:45) at org.acegisecurity.ui.webapp.AuthenticationProcessingFilter.attemptAuthentication(AuthenticationProcessingFilter.java:71) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:252) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:61) 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:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Unknown Source) Caused by: com4j.ComException: 80040e37 (Unknown error) : An operations error occurred. : .\invoke.cpp:460 at com4j.Native.invoke(Native Method) at com4j.StandardComMethod.invoke(StandardComMethod.java:95) at com4j.Wrapper$InvocationThunk.call(Wrapper.java:258) at com4j.Task.invoke(Task.java:44) at com4j.ComThread.run0(ComThread.java:149) at com4j.ComThread.run(ComThread.java:125) {code} When the machine was "fixed" and remote desktop connections worked again, logins to jenkins also worked again. This is a very minor issue, but just something that could be improved :) It should report something humanly usable, not a 500 page. For what it's worth, and it isn't much, remote desktop connections were refused with the following error message (Which I'd never seen before): "Remote Desktop cannot verify the identity of the remote computer because there is a time or date difference between your computer and the remote computer. Make sure your computer's clock is set to the correct time, and then try connecting again. If the problem persists, please consult your doctor" (well, not the doctor part) Disabling all security settings possible didn't help, this required a trip to the server room! I know 1.427 isn't the latest version, but I don't see anything in the changelog to suggest that this has been fixed.

    Jenkins JIRA | 5 years ago | Karl P
    com4j.ComException: 80040e37 (Unknown error) : An operations error occurred. : .\invoke.cpp:460
  2. 0

    Jenkins is running on a windows machine, with active directory in use for user authentication. This normally all works fine. For some reason, the host started having errors, which prevented remote logins even [1] While this was happening, jenkins kept working, but you could not login. Attempts to login through a 500 with the following stack trace: {code} com4j.ComException: 80040e37 (Unknown error) : An operations error occurred. : .\invoke.cpp:460 at com4j.Wrapper.invoke(Wrapper.java:122) at $Proxy32.execute(Unknown Source) at hudson.plugins.active_directory.ActiveDirectoryAuthenticationProvider.getDnOfUserOrGroup(ActiveDirectoryAuthenticationProvider.java:117) at hudson.plugins.active_directory.ActiveDirectoryAuthenticationProvider.retrieveUser(ActiveDirectoryAuthenticationProvider.java:73) at org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:119) at org.acegisecurity.providers.ProviderManager.doAuthentication(ProviderManager.java:195) at org.acegisecurity.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:45) at org.acegisecurity.ui.webapp.AuthenticationProcessingFilter.attemptAuthentication(AuthenticationProcessingFilter.java:71) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:252) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:61) 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:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Unknown Source) Caused by: com4j.ComException: 80040e37 (Unknown error) : An operations error occurred. : .\invoke.cpp:460 at com4j.Native.invoke(Native Method) at com4j.StandardComMethod.invoke(StandardComMethod.java:95) at com4j.Wrapper$InvocationThunk.call(Wrapper.java:258) at com4j.Task.invoke(Task.java:44) at com4j.ComThread.run0(ComThread.java:149) at com4j.ComThread.run(ComThread.java:125) {code} When the machine was "fixed" and remote desktop connections worked again, logins to jenkins also worked again. This is a very minor issue, but just something that could be improved :) It should report something humanly usable, not a 500 page. For what it's worth, and it isn't much, remote desktop connections were refused with the following error message (Which I'd never seen before): "Remote Desktop cannot verify the identity of the remote computer because there is a time or date difference between your computer and the remote computer. Make sure your computer's clock is set to the correct time, and then try connecting again. If the problem persists, please consult your doctor" (well, not the doctor part) Disabling all security settings possible didn't help, this required a trip to the server room! I know 1.427 isn't the latest version, but I don't see anything in the changelog to suggest that this has been fixed.

    Jenkins JIRA | 5 years ago | Karl P
    com4j.ComException: 80040e37 (Unknown error) : An operations error occurred. : .\invoke.cpp:460
  3. 0

    How to save excel workbook using com4j API without being prompted

    Stack Overflow | 6 years ago | kninja
    com4j.ComException: 800a03ec (Unknown error) : The file could not be accessed. Try one of the following: ò Make sure the specified folder exists. ò Make sure the folder that contains the file is not read-only. ò Make sure the file name does not contain any of the following characters: < > ? [ ] : | or * ò Make sure the file/path name doesn't contain more than 218 characters. : .\invoke.cpp:460
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Active Directory troubles - Jenkins loses connection when DNS server reboots

    Google Groups | 5 years ago | jacob.robertson.work
    com4j.ComException: 80040e37 (Unknown error) : Table does not exist. : .\invoke.cpp:460
  6. 0

    com4j: Interop between Java and Microsoft COM - general discussion ()

    gmane.org | 7 months ago
    com4j.ComException: ffffffff (Unknown error) : .\invoke.cpp:460

    9 unregistered visitors
    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. com4j.ComException

      80040e37 (Unknown error) : An operations error occurred. : .\invoke.cpp:460

      at com4j.Native.invoke()
    2. com4j
      ComThread.run
      1. com4j.Native.invoke(Native Method)
      2. com4j.StandardComMethod.invoke(StandardComMethod.java:95)
      3. com4j.Wrapper$InvocationThunk.call(Wrapper.java:258)
      4. com4j.Task.invoke(Task.java:44)
      5. com4j.ComThread.run0(ComThread.java:149)
      6. com4j.ComThread.run(ComThread.java:125)
      6 frames