Constants in the BPM model

12 Dec '13, 06:04 PM
20,494 Views
No Forum Badges

Is there a way to handle data input as if they were constants, setting them directly in the model? I need to show some data to the user before they make choices.

 
x 0
Follow
Answer Answer at this question and get points!
Forum Expert - Level 5

You can use context parameter, when you start your application uses a landmark no-operation as a non-operation, and save the desired variable as a constant with a Set Unit

slds

   
x 1
No Forum Badges

Thank you. But the problem is that at this stage I'm working only at the prototype using the BPMN simulation; I guess, therefore, that without implementing WEB IFML stage I can not handle constant. Right?

 
x 0
Forum Expert - Level 5

That's right.

It's not possible, from Bpm simulation, but you can use a process parameter in the process, than add a case values for parameter. In the user activity add the process parameter, this field is show this field is displayed as a combobox and thus can have a constant value in the model.

 
Although it is recommended that you do from the WebML.
 
Another way to show a constant value is to do it from the style that you can program on the default page, and assign the demo of this project bpm style, from the processing option "Publish style"
 
best regards!!

 
x 0
No Forum Badges

The last way that you indicated needs the creation of a  WebProject?

I don't know why, but I have some problems trying to syncronize my BPMN project to WebProject. If I try to directly sync with database i have this error:

Unable to update the web project 

Reason:

java.lang.NullPointerException

at com.webratio.bpm.ui.transform.WebProjectUpdater.update(WebProjectUpdater.java:213)
at com.webratio.bpm.ui.transform.WebProjectUpdater.access$0(WebProjectUpdater.java:95)
at com.webratio.bpm.ui.transform.WebProjectUpdater$1.run(WebProjectUpdater.java:73)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
at com.webratio.bpm.ui.transform.WebProjectUpdater$2.run(WebProjectUpdater.java:84)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

If I try to generate full web project without synchronize the database I have this error:7

compiled failed:

org.eclipse.core.runtime.CoreException: C:\WebRatio\WebRatio Personal 7.2.1\WebRatio\plugins\com.webratio.generator.webapp_7.2.1.201312200101\DataModel\JavaCompile.xml:7: Compile failed; see the compiler error output for details.
at org.eclipse.ant.core.AntRunner.handleInvocationTargetException(AntRunner.java:452)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:384)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:475)
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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.java:198)
at com_webratio_generator_webapp_7_2_1_201312200101_DataModel_Main_template_1389195703657.run(com_webratio_generator_webapp_7_2_1_201312200101_DataModel_Main_template_1389195703657:134)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateObject(GroovyTemplate.java:255)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateScript(GroovyTemplate.java:192)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluate(GroovyTemplate.java:167)
at com.webratio.commons.transform.groovy.Script2$11.doCall(Script2.java:119)
at com.webratio.commons.transform.groovy.Script2$11.doCall(Script2.java:101)
at com.webratio.commons.transform.groovy.Script2$11.doCall(Script2.java:97)
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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:927)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
at com_webratio_generator_webapp_7_2_1_201312200101_WebApp_Main_template_1389195711106.run(com_webratio_generator_webapp_7_2_1_201312200101_WebApp_Main_template_1389195711106:110)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateObject(GroovyTemplate.java:255)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateScript(GroovyTemplate.java:192)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluate(GroovyTemplate.java:167)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluate(GroovyTemplate.java:149)
at com.webratio.ide.deploy.core.jobs.GenerateWebAppJob.doRun(GenerateWebAppJob.java:163)
at com.webratio.ide.deploy.core.jobs.AbstractDeploymentJob.runExternal(AbstractDeploymentJob.java:84)
at com.webratio.commons.mf.jobs.ExternalJob.run(ExternalJob.java:53)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: C:\WebRatio\WebRatio Personal 7.2.1\WebRatio\plugins\com.webratio.generator.webapp_7.2.1.201312200101\DataModel\JavaCompile.xml:7: Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1079)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:882)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
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.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:662)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:495)
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.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
... 38 more
 
BUILD FAILED
C:\WebRatio\WebRatio Personal 7.2.1\WebRatio\plugins\com.webratio.generator.webapp_7.2.1.201312200101\DataModel\JavaCompile.xml:7: Compile failed; see the compiler error output for details.
 
Total time: 0 seconds
Buildfile: C:\WebRatio\WebRatio Personal 7.2.1\WebRatio\plugins\com.webratio.generator.webapp_7.2.1.201312200101\DataModel\JavaCompile.xml
 
main:
    [javac] Compiling 15 source files to C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes
    [javac] ----------
    [javac] 1. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ActivityInstance.java (at line 368)
    [javac] com.webratio.webapp.ProcessInstance_AttachmentCountBean __attachmentCount = activityInstance2ProcessInstance
    [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] com.webratio.webapp.ProcessInstance_AttachmentCountBean cannot be resolved to a type
    [javac] ----------
    [javac] 2. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ActivityInstance.java (at line 369)
    [javac] .getAttachmentCountBean();
    [javac] ^^^^^^^^^^^^^^^^^^^^^^
    [javac] The method getAttachmentCountBean() from the type ProcessInstance refers to the missing type ProcessInstance_AttachmentCountBean
    [javac] ----------
    [javac] ----------
    [javac] 3. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ProcessInstance.java (at line 31)
    [javac] private com.webratio.webapp.ProcessInstance_AttachmentCountBean _attachmentCountBean;
    [javac]        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] com.webratio.webapp.ProcessInstance_AttachmentCountBean cannot be resolved to a type
    [javac] ----------
    [javac] 4. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ProcessInstance.java (at line 177)
    [javac] com.webratio.webapp.ProcessInstance_AttachmentCountBean __attachmentCount = this.getAttachmentCountBean();
    [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] com.webratio.webapp.ProcessInstance_AttachmentCountBean cannot be resolved to a type
    [javac] ----------
    [javac] 5. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ProcessInstance.java (at line 177)
    [javac] com.webratio.webapp.ProcessInstance_AttachmentCountBean __attachmentCount = this.getAttachmentCountBean();
    [javac]                                                                                 ^^^^^^^^^^^^^^^^^^^^^^
    [javac] The method getAttachmentCountBean() from the type ProcessInstance refers to the missing type ProcessInstance_AttachmentCountBean
    [javac] ----------
    [javac] 6. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ProcessInstance.java (at line 188)
    [javac] public com.webratio.webapp.ProcessInstance_AttachmentCountBean getAttachmentCountBean() {
    [javac]       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] com.webratio.webapp.ProcessInstance_AttachmentCountBean cannot be resolved to a type
    [javac] ----------
    [javac] 7. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ProcessInstance.java (at line 189)
    [javac] return _attachmentCountBean;
    [javac]       ^^^^^^^^^^^^^^^^^^^^
    [javac] ProcessInstance_AttachmentCountBean cannot be resolved to a type
    [javac] ----------
    [javac] 8. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ProcessInstance.java (at line 192)
    [javac] public void setAttachmentCountBean(com.webratio.webapp.ProcessInstance_AttachmentCountBean _attachmentCountBean) {
    [javac]                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] com.webratio.webapp.ProcessInstance_AttachmentCountBean cannot be resolved to a type
    [javac] ----------
    [javac] 9. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ProcessInstance.java (at line 193)
    [javac] this._attachmentCountBean = _attachmentCountBean;
    [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] ProcessInstance_AttachmentCountBean cannot be resolved to a type
    [javac] ----------
    [javac] 9 problems (9 errors)
 

 

 
x 0
No Forum Badges

The last way that you indicated needs the creation of a  WebProject?

I don't know why, but I have some problems trying to syncronize my BPMN project to WebProject. If I try to directly sync with database i have this error:

Unable to update the web project 

Reason:

java.lang.NullPointerException

at com.webratio.bpm.ui.transform.WebProjectUpdater.update(WebProjectUpdater.java:213)
at com.webratio.bpm.ui.transform.WebProjectUpdater.access$0(WebProjectUpdater.java:95)
at com.webratio.bpm.ui.transform.WebProjectUpdater$1.run(WebProjectUpdater.java:73)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
at com.webratio.bpm.ui.transform.WebProjectUpdater$2.run(WebProjectUpdater.java:84)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

If I try to generate full web project without synchronize the database I have this error:7

compiled failed:

org.eclipse.core.runtime.CoreException: C:\WebRatio\WebRatio Personal 7.2.1\WebRatio\plugins\com.webratio.generator.webapp_7.2.1.201312200101\DataModel\JavaCompile.xml:7: Compile failed; see the compiler error output for details.
at org.eclipse.ant.core.AntRunner.handleInvocationTargetException(AntRunner.java:452)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:384)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:475)
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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.java:198)
at com_webratio_generator_webapp_7_2_1_201312200101_DataModel_Main_template_1389195703657.run(com_webratio_generator_webapp_7_2_1_201312200101_DataModel_Main_template_1389195703657:134)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateObject(GroovyTemplate.java:255)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateScript(GroovyTemplate.java:192)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluate(GroovyTemplate.java:167)
at com.webratio.commons.transform.groovy.Script2$11.doCall(Script2.java:119)
at com.webratio.commons.transform.groovy.Script2$11.doCall(Script2.java:101)
at com.webratio.commons.transform.groovy.Script2$11.doCall(Script2.java:97)
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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:927)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
at com_webratio_generator_webapp_7_2_1_201312200101_WebApp_Main_template_1389195711106.run(com_webratio_generator_webapp_7_2_1_201312200101_WebApp_Main_template_1389195711106:110)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateObject(GroovyTemplate.java:255)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluateScript(GroovyTemplate.java:192)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluate(GroovyTemplate.java:167)
at com.webratio.commons.transform.groovy.GroovyTemplate.evaluate(GroovyTemplate.java:149)
at com.webratio.ide.deploy.core.jobs.GenerateWebAppJob.doRun(GenerateWebAppJob.java:163)
at com.webratio.ide.deploy.core.jobs.AbstractDeploymentJob.runExternal(AbstractDeploymentJob.java:84)
at com.webratio.commons.mf.jobs.ExternalJob.run(ExternalJob.java:53)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: C:\WebRatio\WebRatio Personal 7.2.1\WebRatio\plugins\com.webratio.generator.webapp_7.2.1.201312200101\DataModel\JavaCompile.xml:7: Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1079)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:882)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
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.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:662)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:495)
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.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
... 38 more
 
BUILD FAILED
C:\WebRatio\WebRatio Personal 7.2.1\WebRatio\plugins\com.webratio.generator.webapp_7.2.1.201312200101\DataModel\JavaCompile.xml:7: Compile failed; see the compiler error output for details.
 
Total time: 0 seconds
Buildfile: C:\WebRatio\WebRatio Personal 7.2.1\WebRatio\plugins\com.webratio.generator.webapp_7.2.1.201312200101\DataModel\JavaCompile.xml
 
main:
    [javac] Compiling 15 source files to C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes
    [javac] ----------
    [javac] 1. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ActivityInstance.java (at line 368)
    [javac] com.webratio.webapp.ProcessInstance_AttachmentCountBean __attachmentCount = activityInstance2ProcessInstance
    [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] com.webratio.webapp.ProcessInstance_AttachmentCountBean cannot be resolved to a type
    [javac] ----------
    [javac] 2. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ActivityInstance.java (at line 369)
    [javac] .getAttachmentCountBean();
    [javac] ^^^^^^^^^^^^^^^^^^^^^^
    [javac] The method getAttachmentCountBean() from the type ProcessInstance refers to the missing type ProcessInstance_AttachmentCountBean
    [javac] ----------
    [javac] ----------
    [javac] 3. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ProcessInstance.java (at line 31)
    [javac] private com.webratio.webapp.ProcessInstance_AttachmentCountBean _attachmentCountBean;
    [javac]        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] com.webratio.webapp.ProcessInstance_AttachmentCountBean cannot be resolved to a type
    [javac] ----------
    [javac] 4. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ProcessInstance.java (at line 177)
    [javac] com.webratio.webapp.ProcessInstance_AttachmentCountBean __attachmentCount = this.getAttachmentCountBean();
    [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] com.webratio.webapp.ProcessInstance_AttachmentCountBean cannot be resolved to a type
    [javac] ----------
    [javac] 5. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ProcessInstance.java (at line 177)
    [javac] com.webratio.webapp.ProcessInstance_AttachmentCountBean __attachmentCount = this.getAttachmentCountBean();
    [javac]                                                                                 ^^^^^^^^^^^^^^^^^^^^^^
    [javac] The method getAttachmentCountBean() from the type ProcessInstance refers to the missing type ProcessInstance_AttachmentCountBean
    [javac] ----------
    [javac] 6. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ProcessInstance.java (at line 188)
    [javac] public com.webratio.webapp.ProcessInstance_AttachmentCountBean getAttachmentCountBean() {
    [javac]       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] com.webratio.webapp.ProcessInstance_AttachmentCountBean cannot be resolved to a type
    [javac] ----------
    [javac] 7. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ProcessInstance.java (at line 189)
    [javac] return _attachmentCountBean;
    [javac]       ^^^^^^^^^^^^^^^^^^^^
    [javac] ProcessInstance_AttachmentCountBean cannot be resolved to a type
    [javac] ----------
    [javac] 8. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ProcessInstance.java (at line 192)
    [javac] public void setAttachmentCountBean(com.webratio.webapp.ProcessInstance_AttachmentCountBean _attachmentCountBean) {
    [javac]                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] com.webratio.webapp.ProcessInstance_AttachmentCountBean cannot be resolved to a type
    [javac] ----------
    [javac] 9. ERROR in C:\WebRatio\WebRatio Personal 7.2.1\Tomcat\webapps\WEBMELP\WEB-INF\classes\com\webratio\webapp\ProcessInstance.java (at line 193)
    [javac] this._attachmentCountBean = _attachmentCountBean;
    [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] ProcessInstance_AttachmentCountBean cannot be resolved to a type
    [javac] ----------
    [javac] 9 problems (9 errors)
 

 

 
x 0
Answer at this question and get points!

Related questions

500 error with WebRatio BPM Anyone Using WebRatio BPM as a Dashboard in the NOC? [beginner] - How to store and browse data collected with BPM app? Bpmn data object BPMN: URL field BPMN vs. Web Model BPM - Service Task in errore BPM Subprocess BPM Subprocess BPM subprocess loop usage Business object data COLORARE le sequence flow Creación DB Apache Derby - Modelado BPMN Create sub-processes in WebRatio 8.5.2. ¿ Cuál es la diferencia entre Web Ratio y Bizagi? Dynamic attribute/field names. Possible? End message event Error updating metadata process From BPM to WebProject - BUILD FAILED Generation options problem How can i save a diagram as an image file? How to create a new Web Project How to fix Expense report example? How to implement a BPMN Service Task into WebModel How to open a window ajax in a BPM activity? Import an XPDL 2.2 file into a BPM Project Integrating a BPM model into an existent WebML model Intermediate Catching Timer Event Localize body mail messages in BPM flows Next Activity Note property - Error synchronizing with web project Problema generando la logica de un proyecto problemi con il salvataggio Process model import in other languages Question about integrating LinkedIn using BPMN and WebML Remove default BPM css import for all templates Renamed Gateways still cause Errors Resize fields Sending and Catching message in Webratio BPM Simulation Software Synchronize bpmn to web project Tarea de servicio no me evalua el valor Unable to connect the BAM application to a BPM based Web application Unable to get ExpenseReport example work in WebRation Personl 7.2.2 Unable to update the web project Unspecified BPM Engine Database Uso de la componente chart de webRatio White report