Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initializing MagicDrawManager.baseHTTPURI #2

Open
lq3 opened this issue Sep 13, 2017 · 1 comment
Open

Initializing MagicDrawManager.baseHTTPURI #2

lq3 opened this issue Sep 13, 2017 · 1 comment

Comments

@lq3
Copy link

lq3 commented Sep 13, 2017

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

@axelreichwein
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants