question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid or corrupt jarfile selenium-server-standalone-4.0.0-alpha-1.zip.jar

See original GitHub issue

When i start the webdriver-manager i take this error, i did not change anything in my project that justified such an error, and I have been using it for more than a year, every day.

Error: Invalid or corrupt jarfile ./node_modules/protractor/node_modules/webdriver-manager/selenium/selenium-server-standalone-4.0.0-alpha-1.zip.jar


  • Node Version: 8.12
  • Protractor Version: 5.4.2
  • Browser(s): Chrome
  • Operating System and Version Ubuntu 16.04
  • Your protractor configuration file:
'use strict';

require('babel-core/register');

const myReporter = require('./Report/MyReporter');
const Jasmine2HtmlReporter = require('protractor-jasmine2-html-reporter');
const failFast = require('jasmine-fail-fast');

module.exports.config = {
    seleniumAddress: 'http://localhost:4444/wd/hub',
    framework: 'jasmine2',
    allScriptsTimeout: 600000,
    capabilities: {
        browserName: 'chrome',
        chromeOptions: {
            args: ['--test-type', 'no-sandbox'],
        },
    },
    onPrepare: () => {
        browser.manage().window().setSize(1200, 1024);
        jasmine.getEnv().addReporter(failFast.init());
        jasmine.getEnv().addReporter(myReporter);
        jasmine.getEnv().addReporter(new Jasmine2HtmlReporter({
            takeScreenshots: true,
            takeScreenshotsOnlyOnFailures: true,
            fixedScreenshotName: false,
            fileNameDateSuffix: true,
            cleanDestination: false,
            savePath: './Report/testReports/'
        }));
    }
};
  • A relevant example test

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:14
  • Comments:40 (10 by maintainers)

github_iconTop GitHub Comments

14reactions
cnishinacommented, Apr 25, 2019

I will get a new release out tomorrow.

12reactions
sborlandcommented, Apr 24, 2019

I’m having this same issue! 😦

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid or corrupt JAR File built by Maven shade plugin
My conclusion was that the JAR/ZIP archive is corrupt. What I did was I entered that JAR in Total Commander ( Ctrl +...
Read more >
Invalid or corrupt jarfile agent.jar - Oracle Communities
Dear All when i try to configure agent on target host its giving this error Invalid or corrupt jarfile agent.jar
Read more >
Invalid or corrupt jar file - GATK - Broad Institute
I'm getting an invalid or corrupt .jar file error. I found somehow my java had switched to 11 but I changed that back...
Read more >
Invalid or corrupt jarfile - Google Groups
Looking for possible causes for this error message I see that there is a bug in Java 7 whereby a JAR file cannot...
Read more >
2341. Invalid or corrupt jarfile - Legacy GATK Forum
Error: Invalid or corrupt jarfile /path/to/gatk/gatk-4.0.0.0/gatk-package-4.0.0.0-local.jar. What's going on?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found