com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions org.bonitasoft.engine.bpm.actor.ActorDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.actor.ActorDefinition at public org.bonitasoft.engine.bpm.actor.ActorDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getActorInitiator() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.contract.ContractDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.contract.ContractDefinition at public org.bonitasoft.engine.bpm.contract.ContractDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getContract() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition at public org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getProcessContainer() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl ]

JIRA | Sławomir Kisiel | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I was unable to install Bonita on GlassFish application server. There were several errors during this installation so I decided to describe some of them to help anybody else trying to achieve the same goal. First of all there is a problem with TransactionManager which is available in GlassFish under different name in JNDI. Class {{org.bonitasoft.engine.persistence.JNDIBitronixJtaPlatform}} contains hardcoded name {{java:comp/UserTransaction}} while GlassFish locates it at {{java:appserver/TransactionManager}}. This can be fixed by creating additional class: {code} package com.company.bonitasoft.engine.persistence; import javax.transaction.TransactionManager; public class JNDIBitronixJtaPlatform extends org.bonitasoft.engine.persistence.JNDIBitronixJtaPlatform { public JNDIBitronixJtaPlatform() { super(); } @Override protected TransactionManager locateTransactionManager() { return (TransactionManager)jndiService().locate("java:appserver/TransactionManager"); } } {code} create jar file, add jar into bonita/WEB-INF folder and add extra system property in GlassFish console {{sysprop.bonita.hibernate.transaction.jta_platform}} with value {{com.company.bonitasoft.engine.persistence.JNDIBitronixJtaPlatform}} Next problem was related with recently added {{bonita.war/WEB-INF\classes\org\bonitasoft\engine\bpm\process\impl\internal\jaxb.properties}}. GlassFish yells with exception: {code} [2016-09-07T09:19:14.671+0200] [glassfish 4.1] [SEVERE] [AS-WEB-CORE-00108] [javax.enterprise.web.core] [tid: _ThreadID=153 _ThreadName=admin-listener(14)] [timeMillis: 1473232754671] [levelValue: 1000] [[ ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: Error while initializing the Engine at org.apache.catalina.core.StandardContext.start(StandardContext.java:5985) at com.sun.enterprise.web.WebModule.start(WebModule.java:691) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2286) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1932) at com.sun.enterprise.web.WebApplication.start(WebApplication.java:139) at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122) at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:500) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:356) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:356) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722) at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:253) at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:231) at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:275) at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:133) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:309) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:292) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1139) at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:375) at org.glassfish.admin.rest.adapter.RestAdapter$2.service(RestAdapter.java:316) at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179) at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:231) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:231) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: Error while initializing the Engine at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:39) at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:5394) at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:743) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5963) ... 88 more Caused by: org.bonitasoft.engine.platform.StartNodeException: Platform starting failed. at org.bonitasoft.engine.api.impl.PlatformAPIImpl.startNode(PlatformAPIImpl.java:210) at org.bonitasoft.engine.PlatformTenantManager.updatePlatform(PlatformTenantManager.java:53) at org.bonitasoft.engine.PlatformTenantManager.startPlatform(PlatformTenantManager.java:60) at org.bonitasoft.engine.EngineInitializer.startPlatform(EngineInitializer.java:147) at org.bonitasoft.engine.EngineInitializer.initializeEngine(EngineInitializer.java:96) at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:36) ... 91 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowNodeExecutor' defined in class path resource [bonita-tenant-community.xml]: Cannot resolve reference to bean 'flowNodeStateManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowNodeStateManager' defined in class path resource [bonita-tenant-community.xml]: Cannot resolve reference to bean 'processDefinitionService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processDefinitionService' defined in class path resource [bonita-tenant-community.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.bonitasoft.engine.core.process.definition.ProcessDefinitionServiceImpl]: Constructor threw exception; nested exception is org.bonitasoft.engine.exception.BonitaRuntimeException: javax.xml.bind.JAXBException - with linked exception: [com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions org.bonitasoft.engine.bpm.actor.ActorDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.actor.ActorDefinition at public org.bonitasoft.engine.bpm.actor.ActorDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getActorInitiator() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.contract.ContractDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.contract.ContractDefinition at public org.bonitasoft.engine.bpm.contract.ContractDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getContract() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition at public org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getProcessContainer() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl ] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538) at org.bonitasoft.engine.service.impl.SpringBeanAccessor.getContext(SpringBeanAccessor.java:76) at org.bonitasoft.engine.service.impl.SpringBeanAccessor.getService(SpringBeanAccessor.java:49) at org.bonitasoft.engine.service.impl.SpringTenantServiceAccessor.getSessionService(SpringTenantServiceAccessor.java:275) at org.bonitasoft.engine.api.impl.PlatformAPIImpl.beforeServicesStartOfRestartHandlersOfTenant(PlatformAPIImpl.java:333) at org.bonitasoft.engine.api.impl.PlatformAPIImpl.startNode(PlatformAPIImpl.java:192) ... 96 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowNodeStateManager' defined in class path resource [bonita-tenant-community.xml]: Cannot resolve reference to bean 'processDefinitionService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processDefinitionService' defined in class path resource [bonita-tenant-community.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.bonitasoft.engine.core.process.definition.ProcessDefinitionServiceImpl]: Constructor threw exception; nested exception is org.bonitasoft.engine.exception.BonitaRuntimeException: javax.xml.bind.JAXBException - with linked exception: [com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions org.bonitasoft.engine.bpm.actor.ActorDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.actor.ActorDefinition at public org.bonitasoft.engine.bpm.actor.ActorDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getActorInitiator() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.contract.ContractDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.contract.ContractDefinition at public org.bonitasoft.engine.bpm.contract.ContractDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getContract() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition at public org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getProcessContainer() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl ] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ... 115 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processDefinitionService' defined in class path resource [bonita-tenant-community.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.bonitasoft.engine.core.process.definition.ProcessDefinitionServiceImpl]: Constructor threw exception; nested exception is org.bonitasoft.engine.exception.BonitaRuntimeException: javax.xml.bind.JAXBException - with linked exception: [com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions org.bonitasoft.engine.bpm.actor.ActorDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.actor.ActorDefinition at public org.bonitasoft.engine.bpm.actor.ActorDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getActorInitiator() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.contract.ContractDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.contract.ContractDefinition at public org.bonitasoft.engine.bpm.contract.ContractDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getContract() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition at public org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getProcessContainer() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl ] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ... 127 more Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.bonitasoft.engine.core.process.definition.ProcessDefinitionServiceImpl]: Constructor threw exception; nested exception is org.bonitasoft.engine.exception.BonitaRuntimeException: javax.xml.bind.JAXBException - with linked exception: [com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions org.bonitasoft.engine.bpm.actor.ActorDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.actor.ActorDefinition at public org.bonitasoft.engine.bpm.actor.ActorDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getActorInitiator() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.contract.ContractDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.contract.ContractDefinition at public org.bonitasoft.engine.bpm.contract.ContractDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getContract() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition at public org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getProcessContainer() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl ] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267) ... 136 more Caused by: org.bonitasoft.engine.exception.BonitaRuntimeException: javax.xml.bind.JAXBException - with linked exception: [com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions org.bonitasoft.engine.bpm.actor.ActorDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.actor.ActorDefinition at public org.bonitasoft.engine.bpm.actor.ActorDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getActorInitiator() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.contract.ContractDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.contract.ContractDefinition at public org.bonitasoft.engine.bpm.contract.ContractDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getContract() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition at public org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getProcessContainer() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl ] at org.bonitasoft.engine.bpm.bar.ProcessDefinitionBARContribution.<init>(ProcessDefinitionBARContribution.java:70) at org.bonitasoft.engine.core.process.definition.ProcessDefinitionServiceImpl.<init>(ProcessDefinitionServiceImpl.java:121) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147) ... 138 more Caused by: javax.xml.bind.JAXBException - with linked exception: [com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions org.bonitasoft.engine.bpm.actor.ActorDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.actor.ActorDefinition at public org.bonitasoft.engine.bpm.actor.ActorDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getActorInitiator() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.contract.ContractDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.contract.ContractDefinition at public org.bonitasoft.engine.bpm.contract.ContractDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getContract() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition at public org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getProcessContainer() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl ] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:277) at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:249) at javax.xml.bind.ContextFinder.find(ContextFinder.java:405) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:656) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:599) at org.bonitasoft.engine.bpm.bar.ProcessDefinitionBARContribution.<init>(ProcessDefinitionBARContribution.java:68) ... 144 more Caused by: com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions org.bonitasoft.engine.bpm.actor.ActorDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.actor.ActorDefinition at public org.bonitasoft.engine.bpm.actor.ActorDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getActorInitiator() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.contract.ContractDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.contract.ContractDefinition at public org.bonitasoft.engine.bpm.contract.ContractDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getContract() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition at public org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getProcessContainer() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl at com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:91) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:450) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:282) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:125) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1147) at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:262) ... 149 more ]] {code} Remedium was to remove this file from bonita.war. By now I have not noticed any negative side effects.

    JIRA | 6 months ago | Sławomir Kisiel
    com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions org.bonitasoft.engine.bpm.actor.ActorDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.actor.ActorDefinition at public org.bonitasoft.engine.bpm.actor.ActorDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getActorInitiator() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.contract.ContractDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.contract.ContractDefinition at public org.bonitasoft.engine.bpm.contract.ContractDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getContract() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition at public org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getProcessContainer() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl ]
  2. 0

    How do you implement simple un/marshalling for xml?

    Stack Overflow | 1 year ago | Reuben
    com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 6 counts of IllegalAnnotationExceptions Property value1 is present but not specified in @XmlType.propOrder this problem is related to the following location: at public java.lang.String Location.getValue1() at Location at public java.util.List Locations.getLocation() at Locations Property value2 is present but not specified in @XmlType.propOrder this problem is related to the following location: at public int Location.getValue2() at Location at public java.util.List Locations.getLocation() at Locations Property value3 is present but not specified in @XmlType.propOrder this problem is related to the following location: at public java.lang.String Location.getValue3() at Location at public java.util.List Locations.getLocation() at Locations Property Value1 appears in @XmlType.propOrder, but no such property exists. Maybe you meant value1? this problem is related to the following location: at Location at public java.util.List Locations.getLocation() at Locations Property Value2 appears in @XmlType.propOrder, but no such property exists. Maybe you meant value2? this problem is related to the following location: at Location at public java.util.List Locations.getLocation() at Locations Property Value3 appears in @XmlType.propOrder, but no such property exists. Maybe you meant value3? this problem is related to the following location: at Location at public java.util.List Locations.getLocation() at Locations
  3. 0

    JAXB IllegalAnnotationsException for java interface

    Stack Overflow | 1 year ago | Leejoy
    com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions org.springframework.security.core.GrantedAuthority is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.springframework.security.core.GrantedAuthority at public java.util.Set User.getAuthorities() at User at public java.util.List UserXMLRepository$UserDataTable.users at UserXMLRepository$UserDataTable
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    1.7.2 Unmarshaller error

    GitHub | 3 years ago | TitaniumCreative
    com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
  6. 0

    Unable to create Axis 2 WEb services in Eclipse using Tomcat (Web Services forum at JavaRanch)

    coderanch.com | 1 year ago
    com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions Class has two properties of the same name "a" this problem is related to the following location: at public int com.tcee.myapps.webservice.Addition.getA() at com.tcee.myapps.webservice.Addition this problem is related to the following location: at int com.tcee.myapps.webservice.Addition.a at com.tcee.myapps.webservice.Addition Class has two properties of the same name "b" this problem is related to the following location: at public int com.tcee.myapps.webservice.Addition.getB() at com.tcee.myapps.webservice.Addition this problem is related to the following location: at int com.tcee.myapps.webservice.Addition.b at com.tcee.myapps.webservice.Addition Class has two properties of the same name "c" this problem is related to the following location: at public int com.tcee.myapps.webservice.Addition.getC() at com.tcee.myapps.webservice.Addition this problem is related to the following location: at int com.tcee.myapps.webservice.Addition.c at com.tcee.myapps.webservice.Addition

  1. tvrmsmith 2 times, last 1 month ago
  2. empt-ak 1 times, last 4 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException

    3 counts of IllegalAnnotationExceptions org.bonitasoft.engine.bpm.actor.ActorDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.actor.ActorDefinition at public org.bonitasoft.engine.bpm.actor.ActorDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getActorInitiator() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.contract.ContractDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.contract.ContractDefinition at public org.bonitasoft.engine.bpm.contract.ContractDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getContract() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition at public org.bonitasoft.engine.bpm.flownode.impl.FlowElementContainerDefinition org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl.getProcessContainer() at org.bonitasoft.engine.bpm.process.impl.internal.DesignProcessDefinitionImpl ]

    at javax.xml.bind.ContextFinder.newInstance()
  2. Java RT
    JAXBContext.newInstance
    1. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:277)
    2. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:249)
    3. javax.xml.bind.ContextFinder.find(ContextFinder.java:405)
    4. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:656)
    5. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:599)
    5 frames
  3. org.bonitasoft.engine
    ProcessDefinitionBARContribution.<init>
    1. org.bonitasoft.engine.bpm.bar.ProcessDefinitionBARContribution.<init>(ProcessDefinitionBARContribution.java:68)
    1 frame