JiriOndrusek commented on issue #4820:
URL: https://github.com/apache/camel-quarkus/issues/4820#issuecomment-1520284262

   Work in progress is in my forked branch  
[4820-snmp_native-support](https://github.com/JiriOndrusek/camel-quarkus/commits/4820-snmp_native-support).
   
   Currently I'm not able to fix following problem:
   
   ```
   Error: Classes that should be initialized at run time got initialized during 
image building:
    java.net.Inet4Address the class was requested to be initialized at run time 
(from feature io.quarkus.runner.Feature.beforeAnalysis with 
'Inet4Address.class'). com.sun.jndi.dns.DnsClient caused initialization of this 
class with the following trace: 
        at java.net.Inet4Address.<clinit>(Inet4Address.java:99)
        at java.net.Inet4AddressImpl.anyLocalAddress(Inet4AddressImpl.java:42)
        at java.net.Inet6AddressImpl.anyLocalAddress(Inet6AddressImpl.java:104)
        at java.net.InetAddress.anyLocalAddress(InetAddress.java:1685)
        at java.net.InetSocketAddress.<init>(InetSocketAddress.java:196)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:389)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:355)
        at 
com.sun.jndi.dns.DNSDatagramSocketFactory.lambda$findFirstFreePort$0(DNSDatagramSocketFactory.java:56)
        at 
com.sun.jndi.dns.DNSDatagramSocketFactory$$Lambda$347/0x00000007c1536b10.run(Unknown
 Source)
        at 
java.security.AccessController.executePrivileged(AccessController.java:807)
        at 
java.security.AccessController.doPrivileged(AccessController.java:569)
        at 
com.sun.jndi.dns.DNSDatagramSocketFactory.findFirstFreePort(DNSDatagramSocketFactory.java:60)
        at 
com.sun.jndi.dns.DNSDatagramSocketFactory.<init>(DNSDatagramSocketFactory.java:113)
        at 
com.sun.jndi.dns.DNSDatagramSocketFactory.<init>(DNSDatagramSocketFactory.java:128)
        at com.sun.jndi.dns.DnsClient.<clinit>(DnsClient.java:93)
   ``` 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to