zbendhiba commented on issue #4616: URL: https://github.com/apache/camel-quarkus/issues/4616#issuecomment-1474183110
Thanks @JesperBerggren. I am able to reproduce the bug very quickly. @ppalaga I can fix the ICMHelper bug. However, this isn't the reason of the build error. The error is not being able to register hierarchies. This is a common issue in Hazelcast, we do have some configuration to ignore those warnings in [camel-quarkus extension](https://github.com/apache/camel-quarkus/blob/1b6fbb4642efa9e3ed7bfa3b4c4662976a73823e/extensions/hazelcast/deployment/src/main/java/org/apache/camel/quarkus/component/hazelcast/deployment/HazelcastProcessor.java#L89) and in [hazelcast extension](https://github.com/hazelcast/quarkus-hazelcast-client/blob/dcf253cbed800de8e4174e4a1e21a92d0a1dcde0/deployment/src/main/java/io/quarkus/hazelcast/client/deployment/HazelcastClientProcessor.java#L228). Combining those 2 camel-quarkus extensions in pom.xml, generates a very larger number of files unable to register, Even stuff related to Osgi and Spring. (cf log trace below). This needs some investigation to check what's the problem. FYI: the build is okay if we use Hazelcast client + camel quarkus cxf soap. ``` INFO] [io.quarkiverse.cxf.deployment.CxfEndpointImplementationProcessor] Mapping a Vert.x handler for CXF to /* as requested by [camel-cxf-soap] [WARNING] [io.quarkus.deployment.steps.ReflectiveHierarchyStep] Unable to properly register the hierarchy of the following classes for reflection as they are not in the Jandex index: - com.sun.istack.FinalArrayList (source: <unknown>) - com.sun.istack.Pool (source: <unknown>) - com.sun.xml.fastinfoset.stax.StAXDocumentSerializer (source: <unknown>) - io.netty.buffer.ByteBuf (source: <unknown>) - io.quarkus.vertx.http.runtime.VertxInputStream (source: <unknown>) - io.vertx.core.http.HttpServerRequest (source: <unknown>) - io.vertx.core.http.HttpServerResponse (source: <unknown>) - io.vertx.ext.web.RoutingContext (source: <unknown>) - javax.crypto.Cipher (source: <unknown>) - javax.crypto.SecretKey (source: <unknown>) - javax.jws.WebService (source: <unknown>) - javax.management.ObjectName (source: <unknown>) - javax.net.ssl.HostnameVerifier (source: <unknown>) - javax.net.ssl.SSLContext (source: <unknown>) - javax.net.ssl.SSLSocket (source: <unknown>) - javax.net.ssl.SSLSocketFactory (source: <unknown>) - javax.security.auth.Subject (source: <unknown>) - javax.security.auth.login.Configuration (source: <unknown>) - javax.servlet.AsyncContext (source: <unknown>) - javax.servlet.DispatcherType (source: <unknown>) - javax.servlet.ServletContext (source: <unknown>) - javax.servlet.ServletInputStream (source: <unknown>) - javax.servlet.ServletOutputStream (source: <unknown>) - javax.servlet.http.Cookie (source: <unknown>) - javax.servlet.http.HttpServletRequest (source: <unknown>) - javax.servlet.http.HttpServletResponse (source: <unknown>) - javax.servlet.http.HttpSession (source: <unknown>) - javax.servlet.http.Part (source: <unknown>) - javax.validation.Validator (source: <unknown>) - javax.wsdl.Definition (source: <unknown>) - javax.xml.bind.Binder (source: <unknown>) - javax.xml.bind.JAXBContext (source: <unknown>) - javax.xml.bind.JAXBElement (source: <unknown>) - javax.xml.bind.JAXBException (source: <unknown>) - javax.xml.bind.JAXBIntrospector (source: <unknown>) - javax.xml.bind.Marshaller (source: <unknown>) - javax.xml.bind.Marshaller$Listener (source: <unknown>) - javax.xml.bind.Unmarshaller (source: <unknown>) - javax.xml.bind.Unmarshaller$Listener (source: <unknown>) - javax.xml.bind.UnmarshallerHandler (source: <unknown>) - javax.xml.bind.ValidationEventHandler (source: <unknown>) - javax.xml.bind.ValidationEventLocator (source: <unknown>) - javax.xml.bind.Validator (source: <unknown>) - javax.xml.bind.annotation.DomHandler (source: <unknown>) - javax.xml.bind.annotation.XmlAccessOrder (source: <unknown>) - javax.xml.bind.annotation.XmlAccessType (source: <unknown>) - javax.xml.bind.annotation.XmlAttribute (source: <unknown>) - javax.xml.bind.annotation.XmlElement (source: <unknown>) - javax.xml.bind.annotation.XmlElementDecl (source: <unknown>) - javax.xml.bind.annotation.XmlElementRef (source: <unknown>) - javax.xml.bind.annotation.XmlElementRefs (source: <unknown>) - javax.xml.bind.annotation.XmlEnum (source: <unknown>) - javax.xml.bind.annotation.XmlNs (source: <unknown>) - javax.xml.bind.annotation.XmlNsForm (source: <unknown>) - javax.xml.bind.annotation.XmlRootElement (source: <unknown>) - javax.xml.bind.annotation.XmlSchema (source: <unknown>) - javax.xml.bind.annotation.XmlSchemaType (source: <unknown>) - javax.xml.bind.annotation.XmlTransient (source: <unknown>) - javax.xml.bind.annotation.XmlType (source: <unknown>) - javax.xml.bind.annotation.XmlValue (source: <unknown>) - javax.xml.bind.annotation.adapters.XmlAdapter (source: <unknown>) - javax.xml.bind.attachment.AttachmentMarshaller (source: <unknown>) - javax.xml.bind.attachment.AttachmentUnmarshaller (source: <unknown>) - javax.xml.bind.helpers.AbstractMarshallerImpl (source: <unknown>) - javax.xml.bind.helpers.AbstractUnmarshallerImpl (source: <unknown>) - javax.xml.bind.helpers.ValidationEventLocatorImpl (source: <unknown>) - javax.xml.namespace.NamespaceContext (source: <unknown>) - javax.xml.namespace.QName (source: <unknown>) - javax.xml.parsers.DocumentBuilder (source: <unknown>) - javax.xml.parsers.DocumentBuilderFactory (source: <unknown>) - javax.xml.parsers.SAXParserFactory (source: <unknown>) - javax.xml.stream.Location (source: <unknown>) - javax.xml.stream.XMLEventFactory (source: <unknown>) - javax.xml.stream.XMLEventWriter (source: <unknown>) - javax.xml.stream.XMLInputFactory (source: <unknown>) - javax.xml.stream.XMLOutputFactory (source: <unknown>) - javax.xml.stream.XMLStreamReader (source: <unknown>) - javax.xml.stream.XMLStreamWriter (source: <unknown>) - javax.xml.stream.events.Characters (source: <unknown>) - javax.xml.stream.events.XMLEvent (source: <unknown>) - javax.xml.transform.ErrorListener (source: <unknown>) - javax.xml.transform.Source (source: <unknown>) - javax.xml.transform.Templates (source: <unknown>) - javax.xml.transform.Transformer (source: <unknown>) - javax.xml.transform.TransformerFactory (source: <unknown>) - javax.xml.transform.URIResolver (source: <unknown>) - javax.xml.transform.dom.DOMResult (source: <unknown>) - javax.xml.transform.dom.DOMSource (source: <unknown>) - javax.xml.transform.sax.SAXSource (source: <unknown>) - javax.xml.validation.Schema (source: <unknown>) - javax.xml.validation.SchemaFactory (source: <unknown>) - javax.xml.validation.ValidatorHandler (source: <unknown>) - org.apache.ws.commons.schema.XmlSchema (source: <unknown>) - org.apache.ws.commons.schema.XmlSchemaAnnotated (source: <unknown>) - org.apache.ws.commons.schema.XmlSchemaCollection (source: <unknown>) - org.apache.ws.commons.schema.XmlSchemaType (source: <unknown>) - org.apache.ws.commons.schema.extensions.ExtensionRegistry (source: <unknown>) - org.apache.ws.commons.schema.utils.NamespacePrefixList (source: <unknown>) - org.ietf.jgss.Oid (source: <unknown>) - org.jvnet.mimepull.MIMEMessage (source: <unknown>) - org.jvnet.mimepull.MIMEPart (source: <unknown>) - org.jvnet.staxex.BinaryText (source: <unknown>) - org.jvnet.staxex.NamespaceContextEx (source: <unknown>) - org.jvnet.staxex.NamespaceContextEx$Binding (source: <unknown>) - org.jvnet.staxex.XMLStreamWriterEx (source: <unknown>) - org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter (source: <unknown>) - org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter$Breakpoint (source: <unknown>) - org.osgi.framework.Bundle (source: <unknown>) - org.osgi.framework.BundleContext (source: <unknown>) - org.osgi.framework.ServiceRegistration (source: <unknown>) - org.osgi.service.blueprint.container.BlueprintContainer (source: <unknown>) - org.springframework.context.ApplicationContext (source: <unknown>) - org.springframework.context.ConfigurableApplicationContext (source: <unknown>) - org.springframework.context.support.AbstractApplicationContext (source: <unknown>) - org.springframework.core.io.Resource (source: <unknown>) - org.w3c.dom.Attr (source: <unknown>) - org.w3c.dom.DOMConfiguration (source: <unknown>) - org.w3c.dom.DOMImplementation (source: <unknown>) - org.w3c.dom.Document (source: <unknown>) - org.w3c.dom.DocumentFragment (source: <unknown>) - org.w3c.dom.DocumentType (source: <unknown>) - org.w3c.dom.Element (source: <unknown>) - org.w3c.dom.NamedNodeMap (source: <unknown>) - org.w3c.dom.Node (source: <unknown>) - org.w3c.dom.NodeList (source: <unknown>) - org.w3c.dom.TypeInfo (source: <unknown>) - org.w3c.dom.ls.LSResourceResolver (source: <unknown>) - org.xml.sax.Attributes (source: <unknown>) - org.xml.sax.ContentHandler (source: <unknown>) - org.xml.sax.DTDHandler (source: <unknown>) - org.xml.sax.EntityResolver (source: <unknown>) - org.xml.sax.ErrorHandler (source: <unknown>) - org.xml.sax.Locator (source: <unknown>) - org.xml.sax.SAXParseException (source: <unknown>) - org.xml.sax.XMLReader (source: <unknown>) - org.xml.sax.ext.LexicalHandler (source: <unknown>) - org.xml.sax.helpers.AttributesImpl (source: <unknown>) - org.xml.sax.helpers.DefaultHandler (source: <unknown>) - org.xml.sax.helpers.XMLFilterImpl (source: <unknown>) Consider adding them to the index either by creating a Jandex index for your dependency via the Maven plugin, an empty META-INF/beans.xml or quarkus.index-dependency properties. ``` -- 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: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org