Initializing MagicDrawManager.baseHTTPURI
lq3 opened this issue · 1 comments
Hello,
I am trying to run OSLCClient4GettingSysMLBlock as a Java application in Eclipse, but it fails to initialize MagicDrawManager.
Exception in thread "main" java.lang.ExceptionInInitializerError
at edu.gatech.mbsec.adapter.magicdraw.application.MagicDrawManager.(MagicDrawManager.java:122)
at edu.gatech.mbsec.adapter.magicdraw.clients.HTTPClient4GettingResourceRepresentation.main(HTTPClient4GettingResourceRepresentation.java:42)
Caused by: java.lang.NullPointerException
at edu.gatech.mbsec.adapter.subversion.SubversionManager.(SubversionManager.java:24)
at edu.gatech.mbsec.adapter.magicdraw.services.OSLC4JMagicDrawApplication$3.start(OSLC4JMagicDrawApplication.java:421)
at edu.gatech.mbsec.adapter.magicdraw.services.OSLC4JMagicDrawApplication.readDataFirstTime(OSLC4JMagicDrawApplication.java:426)
at edu.gatech.mbsec.adapter.magicdraw.services.OSLC4JMagicDrawApplication.(OSLC4JMagicDrawApplication.java:233)
... 2 more
How to initialize the HTTPUI correctly ?
Best regards
You have probably wrongly configured the OSLC adapter configuration file. Could you make sure that syncWithSvnRepo = false
Furthermore, it is safer to test the adapter using clients located here