Git Product home page Git Product logo

Exception in thread `main` `java.lang.NullPointerException`: Cannot invoke `java.net.NetworkInterface.getHardwareAddress()` because the return value of `java.net.NetworkInterface.getByInetAddress(java.net.InetAddress)` is null about typedb HOT 9 CLOSED

sanmai-NL avatar sanmai-NL commented on June 12, 2024
Exception in thread `main` `java.lang.NullPointerException`: Cannot invoke `java.net.NetworkInterface.getHardwareAddress()` because the return value of `java.net.NetworkInterface.getByInetAddress(java.net.InetAddress)` is null

from typedb.

Comments (9)

flyingsilverfin avatar flyingsilverfin commented on June 12, 2024 1

Hi there - thanks for the report! We're aware of the issue and a fix is coming out soon! If possible, please downgrade to the prior verison of TypeDB until it is released :)

from typedb.

flyingsilverfin avatar flyingsilverfin commented on June 12, 2024 1

Yep it's out if you do brew install vaticle/tap/typedb

from typedb.

sanmai-NL avatar sanmai-NL commented on June 12, 2024
$  cat /etc/hosts
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1	localhost
255.255.255.255	broadcasthost
::1             localhost

from typedb.

flyingsilverfin avatar flyingsilverfin commented on June 12, 2024

Please test out the 2.26.6-rc1, which should include this fix! We don't expect it to be an RC very long so the proper 2.26.6 release will come in a couple days :)

from typedb.

sanmai-NL avatar sanmai-NL commented on June 12, 2024

@flyingsilverfin If you can distribute it via Homebrew 🙂

from typedb.

sanmai-NL avatar sanmai-NL commented on June 12, 2024

The issue appears to have been fixed.

13:48:43.496 [typedb-network::0] DEBUG io.netty.channel.DefaultChannelId -- -Dio.netty.processId: 23472 (auto-detected)
13:48:43.497 [typedb-network::0] DEBUG io.netty.util.NetUtil -- -Djava.net.preferIPv4Stack: false
13:48:43.497 [typedb-network::0] DEBUG io.netty.util.NetUtil -- -Djava.net.preferIPv6Addresses: false
13:48:43.500 [typedb-network::0] DEBUG io.netty.util.NetUtilInitializations -- Loopback interface: lo0 (lo0, 0:0:0:0:0:0:0:1%lo0)
13:48:43.500 [typedb-network::0] DEBUG io.netty.util.NetUtil -- Failed to get SOMAXCONN from sysctl and file /proc/sys/net/core/somaxconn. Default: 128
13:48:43.501 [typedb-network::0] DEBUG io.netty.channel.DefaultChannelId -- -Dio.netty.machineId: e8:ea:6a:ff:fe:4d:77:c9 (auto-detected)
13:48:43.506 [typedb-network::0] DEBUG io.netty.buffer.ByteBufUtil -- -Dio.netty.allocator.type: pooled
13:48:43.506 [typedb-network::0] DEBUG io.netty.buffer.ByteBufUtil -- -Dio.netty.threadLocalDirectBufferSize: 0
13:48:43.506 [typedb-network::0] DEBUG io.netty.buffer.ByteBufUtil -- -Dio.netty.maxThreadLocalCharBufferSize: 16384
13:48:43.514 [main] INFO com.vaticle.typedb.core.server.TypeDBServer -- TypeDB Core is now running and will keep this process alive.
13:48:43.514 [main] INFO com.vaticle.typedb.core.server.TypeDBServer -- You can press CTRL+C to shutdown this server.
13:48:43.514 [main] INFO com.vaticle.typedb.core.server.TypeDBServer --
13:48:43.514 [main] INFO com.vaticle.typedb.core.server.TypeDBServer -- version: 2.26.6-rc1
13:48:43.514 [main] INFO com.vaticle.typedb.core.server.TypeDBServer -- listening to address: localhost:1729
13:48:43.514 [main] INFO com.vaticle.typedb.core.server.TypeDBServer -- data directory configured to: /opt/homebrew/var/typedb/data
13:48:43.514 [main] INFO com.vaticle.typedb.core.server.TypeDBServer -- bootup completed in: 947 ms
13:48:43.514 [main] INFO com.vaticle.typedb.core.server.TypeDBServer --

from typedb.

flyingsilverfin avatar flyingsilverfin commented on June 12, 2024

Humm - one more question! You shouldn't be seeing any Netty errors... how are you installing and running it?

from typedb.

sanmai-NL avatar sanmai-NL commented on June 12, 2024

These aren't faults but debug messages, no?

$  typedb server --debug --server.address=localhost:1729 --log.logger.default.level=trace

from typedb.

flyingsilverfin avatar flyingsilverfin commented on June 12, 2024

Ah yes ok you have intentionally increased the log level - thanks! I had missed that

from typedb.

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.