Issue with Programmatic Creation of Work Items example
![]()
Hi All,
Have downloaded work_item_example_source.zip from and trying to run it on my machine; Am planning to make it work first and start building on top to achieve the objective of my project. Somehow Am not able to get this working and the exceptions thrown looks something like below: Exception in thread "main" java.lang.ExceptionInInitializerError at java.lang.J9VMInternals.initialize(J9VMInternals.java:222) at org.eclipse.emf.ecore.util.EcoreUtil.generateUUID(EcoreUtil.java:3571) at com.ibm.team.repository.common.UUID.generate(UUID.java:47) at com.ibm.team.workitem.client.internal.util.RemoteImages.createTempFile(RemoteImages.java:87) at com.ibm.team.workitem.client.internal.util.RemoteImages.resolveImageContent(RemoteImages.java:58) at com.ibm.team.workitem.client.internal.WorkItemClient.resolveURL(WorkItemClient.java:641) at com.ibm.team.workitem.common.internal.ConfigurationItemManager.resolveURL(ConfigurationItemManager.java:222) at com.ibm.team.workitem.common.internal.ConfigurationItemManager.createResourceURL(ConfigurationItemManager.java:206) at com.ibm.team.workitem.common.internal.model.WorkItemTypeManager.readElement(WorkItemTypeManager.java:229) at com.ibm.team.workitem.common.internal.model.WorkItemTypeManager.readElement(WorkItemTypeManager.java:1) at com.ibm.team.workitem.common.internal.ConfigurationItemManager.readConfigurationItem(ConfigurationItemManager.java:189) at com.ibm.team.workitem.common.internal.ConfigurationItemManager.readConfigurationItems(ConfigurationItemManager.java:182) at com.ibm.team.workitem.common.internal.ConfigurationItemManager.readConfigurationItems(ConfigurationItemManager.java:147) at com.ibm.team.workitem.common.internal.model.WorkItemTypeManager.readConfigurationItems(WorkItemTypeManager.java:264) at com.ibm.team.workitem.common.internal.ConfigurationItemManager$CacheManager.updateCache(ConfigurationItemManager.java:52) at com.ibm.team.workitem.common.internal.util.CacheHelper.internalCheckCache(CacheHelper.java:107) at com.ibm.team.workitem.common.internal.util.CacheHelper.checkCache(CacheHelper.java:64) at com.ibm.team.workitem.common.internal.util.CacheHelper.checkCache(CacheHelper.java:55) at com.ibm.team.workitem.common.internal.ConfigurationItemManager.findConfigurationItem(ConfigurationItemManager.java:103) at com.ibm.team.workitem.common.internal.model.WorkItemTypeManager.findConfigurationItem(WorkItemTypeManager.java:161) at com.ibm.team.workitem.common.internal.WorkItemCommon.findWorkItemType(WorkItemCommon.java:329) at CreateWorkItem.run(CreateWorkItem.java:147) at CreateWorkItem.main(CreateWorkItem.java:89) Caused by: java.lang.NullPointerException at java.security.SecureRandom.nextBytes(SecureRandom.java:292) at java.security.SecureRandom.next(SecureRandom.java:311) at java.util.Random.nextInt(Random.java:222) at org.eclipse.emf.ecore.util.EcoreUtil$UUID.<clinit>(EcoreUtil.java:3717) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) ... 22 more Any pointers/suggestions would be really appreciated. Thanks. Thanks & regards, Mohan. |
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.