Git Product home page Git Product logo

Comments (6)

mahendrakariya avatar mahendrakariya commented on June 9, 2024

It's quite possible that reflections utility is unable to create new directories because of the upper limit set on file descriptors by the OS. We need to verify this. If this is not the case, we need to look into what is causing this issue.

Refer getgauge/gauge#222 for detailed discussion.

from gauge-java.

mahendrakariya avatar mahendrakariya commented on June 9, 2024

Nobody has reported this issue for more than a year. Looks like increasing the upper limit is the solution.

from gauge-java.

MichaelMcKavanagh avatar MichaelMcKavanagh commented on June 9, 2024

This still happens, and I'm pretty sure it has nothing to do with upper limit of file descriptors

[2017-05-25 04:22:10:519] [main] WARN Reflections - could not create Dir using com.thoughtworks.gauge.scan.ClasspathScanner$1@123772c4 from url file:/root/.gauge/plugins/java/0.5.1/*. skipping.
java.lang.NullPointerException
at com.thoughtworks.gauge.scan.ClasspathScanner$1.createDir(ClasspathScanner.java:53)
at org.reflections.vfs.Vfs.fromURL(Vfs.java:99)
at org.reflections.vfs.Vfs.fromURL(Vfs.java:91)
at org.reflections.Reflections.scan(Reflections.java:237)
at org.reflections.Reflections.scan(Reflections.java:204)
at org.reflections.Reflections.(Reflections.java:129)
at com.thoughtworks.gauge.scan.ClasspathScanner.createReflections(ClasspathScanner.java:60)
at com.thoughtworks.gauge.scan.ClasspathScanner.scan(ClasspathScanner.java:37)
at com.thoughtworks.gauge.GaugeRuntime.main(GaugeRuntime.java:36)

from gauge-java.

sriv avatar sriv commented on June 9, 2024

Your logs indicate that you are on gauge-java 0.5.1:

/root/.gauge/plugins/java/0.5.1/*

The latest version of gauge-java is 0.6.3 and gauge is 0.8.4.

Could you please try doing and upgrade and check? Thanks.

from gauge-java.

MichaelMcKavanagh avatar MichaelMcKavanagh commented on June 9, 2024

Not sure why the logs are saying that because without changing anything and checking:

$gauge --version

Gauge version: 0.8.3

Plugins

html-report (3.1.0)
java (0.6.2)
xml-report (0.2.0)

from gauge-java.

sriv avatar sriv commented on June 9, 2024

My guess is that your project has a dependency on gauge-java 0.5.1. If you are using maven/gradle, please check your pom.xml or build.gradle to see if the gauge-java dependency is locked down to 0.5.1.

from gauge-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.