<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic NumberFormatException when editing 5.3 activiti diagram in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/numberformatexception-when-editing-5-3-activiti-diagram/m-p/58082#M35453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a .activiti file in designer release 5.3. The ids were automatically assigned to userTaskX, gatewayY etc. where X and Y are incrementing integers. Because these ids are used as the activity ids in the generated .bpmn20.xml file they are not really private to Designer. I opened the .activiti file in an XML editor and did a global search and replace for more typical Java-style names (e.g. performAction). When I reopened the .activiti file in the the 5.3 Designer it was happy with this and I could continue editing ok. However in 5.4 Designer it seems I cannot. The exception is at the end. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that the id that ends up in the BPMN file should be editable by the user. I can see this may pose problems for Designer so perhaps there should be an additional internalId private to the .activiti file? Also I note that the id field &lt;/SPAN&gt;&lt;STRONG&gt;is&lt;/STRONG&gt;&lt;SPAN&gt; editable in 5.4 though the edit is never committed to the .activiti file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;java.lang.NumberFormatException: For input string: "reviewMinutes"&lt;BR /&gt;at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)&lt;BR /&gt;at java.lang.Integer.parseInt(Integer.java:449)&lt;BR /&gt;at java.lang.Integer.valueOf(Integer.java:554)&lt;BR /&gt;at org.activiti.designer.eclipse.util.ActivitiUiUtil.getNextId(ActivitiUiUtil.java:222)&lt;BR /&gt;at org.activiti.designer.features.AbstractCreateBPMNFeature.getNextId(AbstractCreateBPMNFeature.java:28)&lt;BR /&gt;at org.activiti.designer.features.CreateUserTaskFeature.create(CreateUserTaskFeature.java:29)&lt;BR /&gt;at org.eclipse.graphiti.features.impl.AbstractCreateFeature.execute(AbstractCreateFeature.java:100)&lt;BR /&gt;at org.eclipse.graphiti.internal.command.GenericFeatureCommandWithContext.execute(GenericFeatureCommandWithContext.java:64)&lt;BR /&gt;at org.eclipse.graphiti.internal.command.GFPreparableCommand.doExecute(GFPreparableCommand.java:37)&lt;BR /&gt;at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)&lt;BR /&gt;at org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStackImpl.java:52)&lt;BR /&gt;at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)&lt;BR /&gt;at org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStackImpl.java:39)&lt;BR /&gt;at org.eclipse.graphiti.internal.command.CommandExec.executeCommand(CommandExec.java:74)&lt;BR /&gt;at org.eclipse.graphiti.ui.internal.command.CreateModelObjectCommand.execute(CreateModelObjectCommand.java:52)&lt;BR /&gt;at org.eclipse.graphiti.ui.internal.editor.EmfOnGefCommand.execute(EmfOnGefCommand.java:58)&lt;BR /&gt;at org.eclipse.graphiti.internal.command.GFPreparableCommand2.doExecute(GFPreparableCommand2.java:37)&lt;BR /&gt;at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)&lt;BR /&gt;at org.eclipse.emf.workspace.EMFCommandOperation.doExecute(EMFCommandOperation.java:119)&lt;BR /&gt;at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)&lt;BR /&gt;at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:511)&lt;BR /&gt;at org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.doExecute(WorkspaceCommandStackImpl.java:208)&lt;BR /&gt;at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)&lt;BR /&gt;at org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStackImpl.java:47)&lt;BR /&gt;at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)&lt;BR /&gt;at org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStackImpl.java:39)&lt;BR /&gt;at org.eclipse.graphiti.ui.internal.editor.GFCommandStack.execute(GFCommandStack.java:108)&lt;BR /&gt;at org.eclipse.gef.tools.AbstractTool.executeCommand(AbstractTool.java:426)&lt;BR /&gt;at org.eclipse.gef.tools.AbstractTool.executeCurrentCommand(AbstractTool.java:443)&lt;BR /&gt;at org.eclipse.gef.tools.CreationTool.performCreation(CreationTool.java:266)&lt;BR /&gt;at org.eclipse.gef.tools.CreationTool.handleButtonUp(CreationTool.java:186)&lt;BR /&gt;at org.eclipse.gef.tools.AbstractTool.mouseUp(AbstractTool.java:1206)&lt;BR /&gt;at org.eclipse.gef.EditDomain.mouseUp(EditDomain.java:301)&lt;BR /&gt;at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseReleased(DomainEventDispatcher.java:380)&lt;BR /&gt;at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseUp(LightweightSystem.java:548)&lt;BR /&gt;at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:213)&lt;BR /&gt;at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)&lt;BR /&gt;at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)&lt;BR /&gt;at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3552)&lt;BR /&gt;at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171)&lt;BR /&gt;at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)&lt;BR /&gt;at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)&lt;BR /&gt;at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)&lt;BR /&gt;at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)&lt;BR /&gt;at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)&lt;BR /&gt;at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)&lt;BR /&gt;at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)&lt;BR /&gt;at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)&lt;BR /&gt;at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)&lt;BR /&gt;at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)&lt;BR /&gt;at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)&lt;BR /&gt;at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)&lt;BR /&gt;at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:597)&lt;BR /&gt;at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)&lt;BR /&gt;at org.eclipse.equinox.launcher.Main.basicRun(Main.java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t;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Apr 2011 09:22:11 GMT</pubDate>
    <dc:creator>tstephen</dc:creator>
    <dc:date>2011-04-10T09:22:11Z</dc:date>
    <item>
      <title>NumberFormatException when editing 5.3 activiti diagram</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/numberformatexception-when-editing-5-3-activiti-diagram/m-p/58082#M35453</link>
      <description>Hi, I created a .activiti file in designer release 5.3. The ids were automatically assigned to userTaskX, gatewayY etc. where X and Y are incrementing integers. Because these ids are used as the activity ids in the generated .bpmn20.xml file they are not really private to Designer. I opened the .act</description>
      <pubDate>Sun, 10 Apr 2011 09:22:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/numberformatexception-when-editing-5-3-activiti-diagram/m-p/58082#M35453</guid>
      <dc:creator>tstephen</dc:creator>
      <dc:date>2011-04-10T09:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: NumberFormatException when editing 5.3 activiti diagram</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/numberformatexception-when-editing-5-3-activiti-diagram/m-p/58083#M35454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This problem is solved in the trunk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also created a new archived update site that has these fixes in it at &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/designer/archived/activiti-designer-5.4.1.zip" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/designer/archived/activiti-designer-5.4.1.zip&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Apr 2011 20:00:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/numberformatexception-when-editing-5-3-activiti-diagram/m-p/58083#M35454</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-04-10T20:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: NumberFormatException when editing 5.3 activiti diagram</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/numberformatexception-when-editing-5-3-activiti-diagram/m-p/58084#M35455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks. The archived update site has a couple of problems…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - The site.xml is in a sub-folder site so by default Eclipse won't find it. I got past this by modifying the URL is creates from the file picker to be jar:file…..jar!/&lt;/SPAN&gt;&lt;STRONG&gt;site/site.xml&lt;/STRONG&gt;&lt;SPAN&gt;. (The bold bit is what I had to add)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Although the zip is numbered 5.4.1 the feature bundle and xml file still say 5.4.0 so Eclipse won't let me install it over the existing 5.4.0. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I realise I could install in a fresh Eclipse or even overwrite the existing files but I think for now I'll wait. Let me know if you put together an updated archive site. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 01:10:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/numberformatexception-when-editing-5-3-activiti-diagram/m-p/58084#M35455</guid>
      <dc:creator>tstephen</dc:creator>
      <dc:date>2011-04-11T01:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: NumberFormatException when editing 5.3 activiti diagram</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/numberformatexception-when-editing-5-3-activiti-diagram/m-p/58085#M35456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The update site works fine if you install it with the local update site functionality in the install software wizard of Eclipse. Did you use the archive option?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You are right that the version is still 5.4.0, so you have to install it to a fresh Eclipse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Version 5.5.0 will have a new version number.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 19:10:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/numberformatexception-when-editing-5-3-activiti-diagram/m-p/58085#M35456</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-04-11T19:10:51Z</dc:date>
    </item>
  </channel>
</rss>

