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

Compilation Warnings for osets-eclipse-plug-in #3

Open
JMLCarter opened this issue Jan 19, 2018 · 1 comment
Open

Compilation Warnings for osets-eclipse-plug-in #3

JMLCarter opened this issue Jan 19, 2018 · 1 comment

Comments

@JMLCarter
Copy link
Contributor

JMLCarter commented Jan 19, 2018

Not sure these warnings are significant, but may be significant to the issue "Null Pointer Exception at Assembly Stage"
screenshot from 2018-01-19 10-07-17

The two errors types in full are

  1. Type null of the last argument to method invoke(Object, Object...) doesn't exactly match the vararg parameter type. Cast to Object[] to confirm the non-varargs invocation, or pass individual arguments of type Object for a varargs invocation.

  2. Type null of the last argument to method invoke(Object, Object...) doesn't exactly match the vararg parameter type. Cast to Object[] to confirm the non-varargs invocation, or pass individual arguments of type Object for a varargs invocation.

@Stuart-Palin-BAES
Copy link

OSETS is not particularly robust to errors in the design - particularly if elements are not completed (i.e. some information is omitted).

Some assistance in tracing errors can be obtained by downloading Eclipse XML tools and the ECOA meta-model (from the ECOA website) - and using the Eclipse XML tools to validate generated XML against the ECOA meta-model.

Some further assistance can be gained by running the OSETS tool from the project source using Run As and Eclipse Application". This creates a new instance of Eclipse (with OSETS). Load the problematic project into this new instance and run repeat the action causing the Java exception. Viewing the Console window on the parent instance of Eclipse usually gives some information on progress - which may help identify the area in which the problem exists.

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