eclipse plugin - KNIME node extension fails to execute: "Support code location could not be determined" -
i'm creating node extension knime knime sdk (which adapted eclipse). i'm done code, tested in eclipse, worked perfectly. exported it, copied .jar
subfolder dropins
in knime installation, , started knime. made new workflow, added node, tried execute , following error appeared:
execute failed: support code location not determined. not convert url uri location. url location: file:/c:/program files/knime_2.11.2/configuration/org.eclipse.osgi/bundles/528/1/.cp/matlabcontrol-4.1.0.jar code source: (file:/c:/program files/knime_2.11.2/configuration/org.eclipse.osgi/bundles/528/1/.cp/matlabcontrol-4.1.0.jar <no signer certificates>) protection domain: protectiondomain (file:/c:/program files/knime_2.11.2/configuration/org.eclipse.osgi/bundles/528/1/.cp/matlabcontrol-4.1.0.jar <no signer certificates>) null <no principals> java.security.allpermissioncollection@6ac1c077 ( ("java.security.allpermission" "<all permissions>" "<all actions>") ) class loader: org.eclipse.osgi.internal.baseadaptor.defaultclassloader@b836456 class loader class: class org.eclipse.osgi.internal.baseadaptor.defaultclassloader
according a thread on knime forums, similar problem occurs community extension "matlab snippet", builds on same matlabcontrol
framework use (which 1 mentioned in error).
i tried evading problem including matlabcontrol
package in project (it's open source, import sources), same error appeared , mentioned package .jar
created osgi system (in case, matlab.jar
, name chose in build.properties
), assume first 1 alphabetically , of files in osgi bundle folder affected problem.
what confuses me problem occurs once try execute node , connect matlab. unfortunately, problem doesn't seem have been resolved in knime forum thread linked above, apparently older version of extension didn't have issue , users installed old version.
so, can somehow make url correctly convert uri? protection domain cause , can change it? have default class loader?
i have installed plugin via feature in folder (see comments). error persists, path changed:
execute failed: support code location not determined. not convert url uri location. url location: file:/c:/program files/knime_2.11.2/plugins/org.knime.ext.matlab_1.0.0/matlab.jar code source: (file:/c:/program files/knime_2.11.2/plugins/org.knime.ext.matlab_1.0.0/matlab.jar <no signer certificates>) protection domain: protectiondomain (file:/c:/program files/knime_2.11.2/plugins/org.knime.ext.matlab_1.0.0/matlab.jar <no signer certificates>) null <no principals> java.security.allpermissioncollection@2da869b5 ( ("java.security.allpermission" "<all permissions>" "<all actions>") ) class loader: org.eclipse.osgi.internal.baseadaptor.defaultclassloader@372bf03c class loader class: class org.eclipse.osgi.internal.baseadaptor.defaultclassloader
Comments
Post a Comment