GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build failing on ConstantsTest · Issue #360 · ArcadeData/arcadedb

build failing on ConstantsTest #360

New issue
Copy link
New issue
Copy link
Closed
Closed
build failing on ConstantsTest#360
Copy link
Assignees
lvca
Milestone
22.6.1

Description

@ChipNowacek
ChipNowacek
opened on Apr 4, 2022
Issue body actions

ArcadeDB Version: 22.2.1

JDK Version: OpenJDK 14.0.2

OS: macOS 12.3

Expected behavior

project would build

Actual behavior

[INFO] Running com.arcadedb.ConstantsTest
[ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.015 s <<< FAILURE! - in com.arcadedb.ConstantsTest
[ERROR] com.arcadedb.ConstantsTest.getBuildNumber Time elapsed: 0.003 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: not
at com.arcadedb.ConstantsTest.getBuildNumber(ConstantsTest.java:58)

Steps to reproduce

run the build
com.arcadedb.ConstantsTest.txt

Should I just try another release?

Activity

  1. lvca commented on Apr 5, 2022

    @lvca
    lvca
    on Apr 5, 2022
    Member
    More actions

    How do you run the build?

    Try: mvn clean install -DskipTests to have a fresh build.

  2. lvca
    self-assigned this
    on Apr 5, 2022
  3. lvca
    added
    questionFurther information is requested
    on Apr 5, 2022
  4. ChipNowacek commented on Apr 5, 2022

    @ChipNowacek
    ChipNowacek
    on Apr 5, 2022
    Author
    More actions

    It did build with mvn clean install -DskipTests. Thank you. Now from the console I get what's below. Any idea?

    ArcadeDB Console v.22.2.1-SNAPSHOT - Copyrights (c) 2021 Arcade Data Ltd (https://arcadedb.com)
    > create database qustions
    Can't load log handler "java.util.logging.FileHandler"
    java.nio.file.NoSuchFileException: ../log/arcadedb.log.0.lck
    java.nio.file.NoSuchFileException: ../log/arcadedb.log.0.lck
    	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
    	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
    	at java.base/sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:182)
    	at java.base/java.nio.channels.FileChannel.open(FileChannel.java:292)
    	at java.base/java.nio.channels.FileChannel.open(FileChannel.java:345)
    	at java.logging/java.util.logging.FileHandler.openFiles(FileHandler.java:511)
    	at java.logging/java.util.logging.FileHandler.<init>(FileHandler.java:278)
    	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
    	at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:124)
    	at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:346)
    	at java.base/java.lang.Class.newInstance(Class.java:604)
    	at java.logging/java.util.logging.LogManager.createLoggerHandlers(LogManager.java:1000)
    	at java.logging/java.util.logging.LogManager$4.run(LogManager.java:970)
    	at java.logging/java.util.logging.LogManager$4.run(LogManager.java:966)
    	at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
    	at java.logging/java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:966)
    	at java.logging/java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:2417)
    	at java.logging/java.util.logging.LogManager$RootLogger.accessCheckedHandlers(LogManager.java:2511)
    	at java.logging/java.util.logging.Logger.getHandlers(Logger.java:2089)
    	at com.arcadedb.log.DefaultLogger.installCustomFormatter(DefaultLogger.java:79)
    	at com.arcadedb.log.DefaultLogger.<init>(DefaultLogger.java:41)
    	at com.arcadedb.log.DefaultLogger.<clinit>(DefaultLogger.java:36)
    	at com.arcadedb.log.LogManager.<init>(LogManager.java:31)
    	at com.arcadedb.log.LogManager.<clinit>(LogManager.java:29)
    	at com.arcadedb.engine.TransactionManager.<init>(TransactionManager.java:54)
    	at com.arcadedb.database.EmbeddedDatabase.openInternal(EmbeddedDatabase.java:1643)
    	at com.arcadedb.database.EmbeddedDatabase.create(EmbeddedDatabase.java:201)
    	at com.arcadedb.database.DatabaseFactory.create(DatabaseFactory.java:90)
    	at com.arcadedb.console.Console.executeCreateDatabase(Console.java:342)
    	at com.arcadedb.console.Console.execute(Console.java:182)
    	at com.arcadedb.console.Console.parse(Console.java:501)
    	at com.arcadedb.console.Console.<init>(Console.java:113)
    	at com.arcadedb.console.Console.main(Console.java:125)
    Can't load log handler "java.util.logging.FileHandler"
    java.nio.file.NoSuchFileException: ../log/arcadedb.log.0.lck
    java.nio.file.NoSuchFileException: ../log/arcadedb.log.0.lck
    	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
    	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
    	at java.base/sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:182)
    	at java.base/java.nio.channels.FileChannel.open(FileChannel.java:292)
    	at java.base/java.nio.channels.FileChannel.open(FileChannel.java:345)
    	at java.logging/java.util.logging.FileHandler.openFiles(FileHandler.java:511)
    	at java.logging/java.util.logging.FileHandler.<init>(FileHandler.java:278)
    	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
    	at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:124)
    	at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:346)
    	at java.base/java.lang.Class.newInstance(Class.java:604)
    	at java.logging/java.util.logging.LogManager.createLoggerHandlers(LogManager.java:1000)
    	at java.logging/java.util.logging.LogManager$4.run(LogManager.java:970)
    	at java.logging/java.util.logging.LogManager$4.run(LogManager.java:966)
    	at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
    	at java.logging/java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:966)
    	at java.logging/java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:2417)
    	at java.logging/java.util.logging.LogManager$RootLogger.accessCheckedHandlers(LogManager.java:2511)
    	at java.logging/java.util.logging.Logger.getHandlers(Logger.java:2089)
    	at com.arcadedb.log.DefaultLogger.installCustomFormatter(DefaultLogger.java:79)
    	at com.arcadedb.log.DefaultLogger.<init>(DefaultLogger.java:41)
    	at com.arcadedb.log.LogManager.<init>(LogManager.java:31)
    	at com.arcadedb.log.LogManager.<clinit>(LogManager.java:29)
    	at com.arcadedb.engine.TransactionManager.<init>(TransactionManager.java:54)
    	at com.arcadedb.database.EmbeddedDatabase.openInternal(EmbeddedDatabase.java:1643)
    	at com.arcadedb.database.EmbeddedDatabase.create(EmbeddedDatabase.java:201)
    	at com.arcadedb.database.DatabaseFactory.create(DatabaseFactory.java:90)
    	at com.arcadedb.console.Console.executeCreateDatabase(Console.java:342)
    	at com.arcadedb.console.Console.execute(Console.java:182)
    	at com.arcadedb.console.Console.parse(Console.java:501)
    	at com.arcadedb.console.Console.<init>(Console.java:113)
    	at com.arcadedb.console.Console.main(Console.java:125)
    
  5. lvca commented on Apr 5, 2022

    @lvca
    lvca
    on Apr 5, 2022
    Member
    More actions

    What is your OS? Are you starting the console with bin/console.sh (or .bat) from the main directory? That error seems about the logging framework being unable to create a file under the log folder because the log folder doesn't exist.

  6. ChipNowacek commented on Apr 6, 2022

    @ChipNowacek
    ChipNowacek
    on Apr 6, 2022
    Author
    More actions

    macOS 12.3.1

     % bin/console.sh
    ArcadeDB Console v.22.2.1-SNAPSHOT - Copyrights (c) 2021 Arcade Data Ltd (https://arcadedb.com)
    > connect qustions
    Can't load log handler "java.util.logging.FileHandler"
    java.nio.file.NoSuchFileException: ../log/arcadedb.log.0.lck
    java.nio.file.NoSuchFileException: ../log/arcadedb.log.0.lck
    
    % ls
    LICENSE		README.md	bin		config		databases	lib		log
    % ls -lt log
    total 24
    -rw-r--r--  1 me  staff  1197 Apr  5 18:05 arcadedb.log.0
    -rw-r--r--  1 me  staff     0 Apr  5 18:05 arcadedb.log.0.lck
    -rw-r--r--  1 me  staff     0 Apr  5 18:05 arcadedb.log.1
    -rw-r--r--  1 me  staff  1331 Apr  5 17:34 arcadedb.log.2
    -rw-r--r--  1 me  staff     0 Apr  5 17:33 arcadedb.log.3
    -rw-r--r--  1 me  staff   339 Apr  5 17:32 arcadedb.log.4
    -rw-r--r--  1 me  staff     0 Apr  5 17:32 arcadedb.log.5
    
  7. ChipNowacek commented on Apr 6, 2022

    @ChipNowacek
    ChipNowacek
    on Apr 6, 2022
    Author
    More actions

    Is everyone working on linux?

  8. lvca commented on Apr 6, 2022

    @lvca
    lvca
    on Apr 6, 2022
    Member
    More actions

    I'm working with a Mac and the CI tests run on both Windows and Linux. I guess the log configuration file must be fixed. It should work if you run the console.sh from the bin directory then:

    cd bin
    ./console.sh
  9. lvca
    added
    bug
    and removed
    questionFurther information is requested
    on Apr 6, 2022
  10. lvca
    added this to the 22.4.1 milestone on Apr 6, 2022
  11. lvca
    added a commit that references this issue on Apr 11, 2022

    Fixed log file settings

    1e7262d
  12. lvca commented on Apr 11, 2022

    @lvca
    lvca
    on Apr 11, 2022
    Member
    More actions

    Fixed in the latest main branch. Thanks @ChipNowacek for reporting it.

  13. lvca
    closed this as completedon Apr 11, 2022
  14. mergify
    added a commit that references this issue on Aug 17, 2025

    chore(deps): bump org.apache.maven.plugins:maven-javadoc-plugin from …

    b84c410
  15. tae898
    added 2 commits that reference this issue on Jun 28, 2026

    Fixed log file settings

    98933a3

    chore(deps): bump org.apache.maven.plugins:maven-javadoc-plugin from …

    f3a28a0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    • 22.6.1

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.