Showing results for 
Search instead for 
Did you mean: 

Issue with UML tool

Former Member
0 Kudos

Have been trying to use the UML 2.0 tool from 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 Caused by: java.lang.IllegalArgumentException: Cannot parse file due to duplicate item code 'B2BUnit at de.hybris.xmlumltool.main.InputItems.loadTypes( at de.hybris.xmlumltool.main.InputItems.init( at de.hybris.xmlumltool.main.InputItems.( at de.hybris.xmlumltool.main.UMLTool.main( ... 5 more


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

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Late response but it might be because someone decided to define B2BUnit twice in the file. Merge those and run the script again and it should work