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

sid121091
Champ in-the-making
Champ in-the-making
How do I connect the rest of my application to a local explorer environment?

sid121091
Champ in-the-making
Champ in-the-making
Ok. I imported the war files into my tomcat. Changes the db.properties of both rest and explorer. started tomcat. Now when I open http://localhost:8080/activiti-explorer, it is just loading without an end. Am I missing something?

sid121091
Champ in-the-making
Champ in-the-making
The process definition is able to be successfully deployed on my local explorer. But what do I do after that?

1. My project involves the usage of a console. How do I link the console of my project with the explorer of my local bypassing my project explorer?
2. I also use a rest client for adding data into my console through the rest. How do I link my local rest with the project console?
3. If it is able to deploy in my local, why am I not able to deploy it in the explorer application?

sid121091
Champ in-the-making
Champ in-the-making
I have replicated the same setup in another machine with the same configurations and it works fine there. Is this because some software is hindering with the process in my machine?

vasile_dirla
Star Contributor
Star Contributor
Hi,
As you can see this issue could be reproduced only in a specific machine.
I cannot reproduce it either and it's quite complicated to investigate an issue which could not be reproduced.

sid121091
Champ in-the-making
Champ in-the-making
I have replaced my laptop and got a new one. Works fine there. Surprising why it did not work in the previous one (similar configurations). Anyways thank you all for your help right through it all.
[RESOLVED]
[SOLUTION]: Change of laptop

vasile_dirla
Star Contributor
Star Contributor
Smiley Happy for sure there is something different in these 2 configs..
Anyway… it's good you find a way to do your work.

sid121091
Champ in-the-making
Champ in-the-making
Hi, Facing the same issue again. Can this issue be because of the system locale?

sid121091
Champ in-the-making
Champ in-the-making
We are deploying this process in the new systems and facing the same issue again. Can it be because of system configurations like locale, etc.?

setu_poddar
Champ in-the-making
Champ in-the-making
We are facing this issue on some set of machines only. What kind of system config can cause this issue?
It has become a very big blocker for us please help
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)