cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Explorer Failing from logging in

sid121091
Champ in-the-making
Champ in-the-making
Hi,

I am new to this, and I apologise in advance if I am not presenting my problem correctly.

Every time I log in to my local activiti explorer, or access anything in it or even try to deploy something, I get the error "Error Parsing XML" along with the following error log. I have searched through the entire forum but am unable to identify the right solution for my specific issue. I request you to help me at the earliest.


[INFO] Starting scanner at interval of 10 seconds. 
com.vaadin.event.ListenerMethod$MethodException: Invocation of method valueChange in org.activiti.explorer.ui.task.TaskPage$1 failed. 
   at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:530) 
   at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164) 
   at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219) 
   at com.vaadin.ui.AbstractField.fireValueChange(AbstractField.java:897) 
   at com.vaadin.ui.AbstractField.setValue(AbstractField.java:529) 
   at com.vaadin.ui.AbstractSelect.setValue(AbstractSelect.java:676) 
   at com.vaadin.ui.AbstractSelect.setValue(AbstractSelect.java:645) 
   at com.vaadin.ui.Table.setValue(Table.java:3572) 
   at com.vaadin.ui.AbstractSelect.select(AbstractSelect.java:1422) 
   at org.activiti.explorer.ui.AbstractTablePage.selectElement(AbstractTablePage.java:81) 
   at org.activiti.explorer.ui.task.TaskPage.initUi(TaskPage.java:70) 
   at org.activiti.explorer.ui.AbstractPage.attach(AbstractPage.java:43) 
   at com.vaadin.ui.AbstractComponent.setParent(AbstractComponent.java:560) 
   at com.vaadin.ui.AbstractComponentContainer.addComponent(AbstractComponentContainer.java:211) 
   at com.vaadin.ui.CssLayout.addComponent(CssLayout.java:95) 
   at org.activiti.explorer.ui.mainlayout.MainLayout.setMainContent(MainLayout.java:58) 
   at org.activiti.explorer.ui.MainWindow.switchView(MainWindow.java:79) 
   at org.activiti.explorer.DefaultViewManager.switchView(DefaultViewManager.java:342) 
   at org.activiti.explorer.DefaultViewManager.showInboxPage(DefaultViewManager.java:172) 
   at org.activiti.explorer.DefaultViewManager.showDefaultPage(DefaultViewManager.java:90) 
   at org.activiti.explorer.ui.login.LoginPage$ActivitiLoginListener.onLogin(LoginPage.java:102) 
   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 com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510) 
   at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164) 
   at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219) 
   at com.vaadin.ui.LoginForm$2.handleParameters(LoginForm.java:103) 
   at com.vaadin.ui.Window.handleParameters(Window.java:515) 
   at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:528) 
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) 
   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) 
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221) 
   at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:44) 
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) 
   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399) 
   at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) 
   at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) 
   at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) 
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) 
   at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) 
   at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) 
   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) 
   at org.mortbay.jetty.Server.handle(Server.java:326) 
   at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) 
   at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) 
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) 
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) 
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) 
   at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) 
   at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) 
Caused by: org.activiti.engine.ActivitiException: Error parsing XML 
   at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:236) 
   at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:107) 
   at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(DeploymentManager.java:50) 
   at org.activiti.engine.impl.persistence.deploy.DeploymentManager.resolveProcessDefinition(DeploymentManager.java:115) 
   at org.activiti.engine.impl.persistence.deploy.DeploymentManager.findDeployedProcessDefinitionById(DeploymentManager.java:65) 
   at org.activiti.engine.impl.persistence.entity.TaskEntity.getTaskDefinition(TaskEntity.java:751) 
   at org.activiti.engine.impl.cmd.GetTaskFormCmd.execute(GetTaskFormCmd.java:50) 
   at org.activiti.engine.impl.cmd.GetTaskFormCmd.execute(GetTaskFormCmd.java:32) 
   at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24) 
   at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57) 
   at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47) 
   at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131) 
   at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45) 
   at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31) 
   at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40) 
   at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35) 
   at org.activiti.engine.impl.FormServiceImpl.getTaskFormData(FormServiceImpl.java:58) 
   at org.activiti.explorer.ui.task.TaskDetailPanel.initTaskForm(TaskDetailPanel.java:300) 
   at org.activiti.explorer.ui.task.TaskDetailPanel.init(TaskDetailPanel.java:118) 
   at org.activiti.explorer.ui.task.TaskDetailPanel.attach(TaskDetailPanel.java:99) 
   at com.vaadin.ui.AbstractComponent.setParent(AbstractComponent.java:560) 
   at com.vaadin.ui.AbstractComponentContainer.addComponent(AbstractComponentContainer.java:211) 
   at com.vaadin.ui.GridLayout.addComponent(GridLayout.java:230) 
   at org.activiti.explorer.ui.AbstractPage.setDetailComponent(AbstractPage.java:155) 
at org.activiti.explorer.ui.task.TaskPage.access$000(TaskPage.java:44) 
   at org.activiti.explorer.ui.task.TaskPage$1.valueChange(TaskPage.java:117) 
   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 com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510) 
   … 51 more 
Caused by: java.lang.RuntimeException: Could not validate XML with BPMN 2.0 XSD 
   at org.activiti.bpmn.converter.BpmnXMLConverter.convertToBpmnModel(BpmnXMLConverter.java:262) 
   at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:185) 
   … 81 more 
Caused by: java.lang.ArrayIndexOutOfBoundsException: 2 
   at org.apache.xerces.impl.xs.XSConstraints.overlapUPA(Unknown Source) 
   at org.apache.xerces.impl.xs.XSConstraints.overlapUPA(Unknown Source) 
   at org.apache.xerces.impl.xs.models.XSDFACM.checkUniqueParticleAttribution(Unknown Source) 
   at org.apache.xerces.impl.xs.XSConstraints.fullSchemaChecking(Unknown Source) 
   at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) 
   at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) 
   at org.apache.xerces.jaxp.validation.BaseSchemaFactory.newSchema(Unknown Source) 
   at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:627) 
   at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:659) 
   at org.activiti.bpmn.converter.BpmnXMLConverter.createSchema(BpmnXMLConverter.java:214) 
   at org.activiti.bpmn.converter.BpmnXMLConverter.validateModel(BpmnXMLConverter.java:193) 
   at org.activiti.bpmn.converter.BpmnXMLConverter.convertToBpmnModel(BpmnXMLConverter.java:251) 
   … 82 more 
31 REPLIES 31

setu_poddar
Champ in-the-making
Champ in-the-making
we are deploying activiti on specific of machine and getting this error. It has become a big road blocker. 
It looks like system specific issue, please help with it

jbarrez
Star Contributor
Star Contributor
The error seems to indicate it happens when parsing XML. On what kind of server are you deploying this? This could interfere with the xml parsing …

Also: are all characters in  the XML UTF8? You mention locale … what locale do you use?