Giter Site home page Giter Site logo

Comments (10)

davideas avatar davideas commented on August 25, 2024

@jrcacd, can you check the Gradle console (bottom right)?

from grabver.

jrcacd avatar jrcacd commented on August 25, 2024

The error ocurs when I click in "Sync Now" after set version from 0.4.0 to 0.4.1.
image

So, the gradle console does not have any output. Only the previous output:

====== STARTED GrabVer v0.4.0
INFO - ProjectName=app
...
BUILD SUCCESSFUL in 12s
25 actionable tasks: 7 executed, 18 up-to-date

from grabver.

jrcacd avatar jrcacd commented on August 25, 2024

I removed completely this library from gradle, run gradle clean, and then put the new version.
Problem resolved.
Now works!

from grabver.

jrcacd avatar jrcacd commented on August 25, 2024

Ahhh! The same error again!
Found what causes the error:
Needs to have the preRelease line on gradle:

versioning {
    ...
    preRelease = ''
}

If as bellow, gives the error

versioning {
    major = 0
    minor = 12
}

from grabver.

davideas avatar davideas commented on August 25, 2024

Delete from the cache the jar file, so the new version is forced to download and to be execute right there. I will try new tests in the coming days.

The 0.4.1 version should have preRelease optional now and not overwritten from the properties.

from grabver.

jrcacd avatar jrcacd commented on August 25, 2024

I already Invalidate Caches/Restart before.
How do I?

Delete from the cache the jar file

from grabver.

davideas avatar davideas commented on August 25, 2024

You should have a .gradle folder somewhere probably under users, then, a subfolder named file-xx, in there you should see the repository with all groupIds, go under my group id eu/davidea, and clean the grabver folder.

from grabver.

jrcacd avatar jrcacd commented on August 25, 2024

Found it. Thanks.
But the error persists

from grabver.

davideas avatar davideas commented on August 25, 2024

I found the issue, strange that the unit tests don't catch it in the project.
It's a NPE when writing the file with null preRelease and the HashTable in the Properties class don't like indeed.

You can run gradlew build --stacktrace line 88.

from grabver.

jrcacd avatar jrcacd commented on August 25, 2024

Great!

from grabver.

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.