Skip to Content
0
Former Member
May 18, 2016 at 05:53 PM

Issue with UML tool

418 Views

Have been trying to use the UML 2.0 tool from https://wiki.hybris.com/display/release5/hybris+UML+Tool with b2bcommerce-items.xml from ver 5.7 - as below

C:\umlh57\commerce>java -jar umltool.jar b2bcommerce-items.xml -e -o result [main] INFO - Starting spring context...

Exception in thread "main" java.lang.reflect.InvocationTargetException 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.ee.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58) Caused by: java.lang.IllegalArgumentException: Cannot parse file due to duplicate item code 'B2BUnit at de.hybris.xmlumltool.main.InputItems.loadTypes(InputItems.java:91) at de.hybris.xmlumltool.main.InputItems.init(InputItems.java:65) at de.hybris.xmlumltool.main.InputItems.(InputItems.java:60) at de.hybris.xmlumltool.main.UMLTool.main(UMLTool.java:134) ... 5 more

C:\umlh57\commerce>

Any advice on how to get this resolved? It works with basecommerce-items.xml or other items.xml