web3j icon indicating copy to clipboard operation
web3j copied to clipboard

Web3j run with exception after install

Open Vincent4AI opened this issue 5 years ago • 1 comments

Bug_title

Web3j run with exception after install

Steps To Reproduce

Run web3j command in terminal

Expected behavior

Actual behavior

run with a exception

Environment

Describe the environment in which the issue occurs

  • Web3j lasted(1.4.1)
  • Java: 1.8.0_275
  • Operating System: macos bigsur

Additional context

Add any other context about the problem here. output

 web3j
              _      _____ _
             | |    |____ (_)
__      _____| |__      / /_
\ \ /\ / / _ \ '_ \     \ \ |
 \ V  V /  __/ |_) |.___/ / |
  \_/\_/ \___|_.__/ \____/| |
                         _/ |
                        |__/
by Web3Labs
Exception in thread "main" Unexpected character 'EOI(null)' at position '3', expecting '[DOT]'
	at com.github.zafarkhaja.semver.VersionParser.consumeNextCharacter(VersionParser.java:516)
	at com.github.zafarkhaja.semver.VersionParser.parseVersionCore(VersionParser.java:288)
	at com.github.zafarkhaja.semver.VersionParser.parseValidSemVer(VersionParser.java:255)
	at com.github.zafarkhaja.semver.VersionParser.parseValidSemVer(VersionParser.java:195)
	at com.github.zafarkhaja.semver.Version.valueOf(Version.java:265)
	at org.web3j.console.services.Updater.promptIfUpdateAvailable(Updater.java:35)
	at org.web3j.console.Web3jCommand.parse(Web3jCommand.java:108)
	at org.web3j.console.Web3j.main(Web3j.java:18)

Vincent4AI avatar May 19 '21 02:05 Vincent4AI

this should be reported in https://github.com/web3j/web3j-cli

yasseralaa avatar Aug 13 '21 12:08 yasseralaa