I am creating a java application that helps user to upload attachments to QC. To do so I have downloaded QCTool4j, Com4j, com.mercury.qualitycenter.otaclient-9.2 and Log4j. The issue I am facing is: If I try to connect to QC there are couple of warnings thrown by Log4j which you can see in the screen shot, but still with those warning I am able to connect to QC, which I confirmed with system.out.println(map.isconnected()); But during these 2 lines I get an error saying reference memory could not be read. Observation: If I use Com4j, com.mercury.qualitycenter.otaclient-9.2 to connect to QC I am able to connect it without any problem, but if I want to use QCTool4j I need Log4j and this leads the code to this Error Could you please take a look and provide your valuable inputs, so that I can use all the four jars together without any problem. Also if you feel I might need to check some settings please share the points too.
Created attachment 27329 [details] Error Message and code