MyPlugin example

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

MyPlugin example

Postby douglas.courtney@navy.mil » Fri May 03, 2019 1:38 pm

I am trying to test the example MyPlugin from the MagicDraw Documentation and I am getting an error loading the plugin.

2019-04-28 18:03:16,571 [ForkJoinPool.commonPool-worker-5] INFO PLUGINS - Plugin [ name = My First Plugin, id = my.first.plugin, provider = Coder, version = 1.0, enabled = true, class = myplugin.MyPlugin, ownClassloader = false, requires api = 1.0, runtime = [file:/E:/Tools/MD_190_sp1/plugins/myplugin/myplugin.jar]]
2019-04-28 18:03:16,571 [main] INFO PLUGINS - PLUGINS LOADED.
Apr 28, 2019 6:03:16 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

I do not have permissions to the Registry on Windows and I am not sure why it is trying to make the call to the registry, since I just added the plugin folder and added the registry and .jar file.

Any help would be appreciated.
douglas.courtney@navy.mil
Forum Newbie
Forum Newbie
 
Posts: 16
Posts Rating:1
Joined: Thu Oct 13, 2011 11:26 am

Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 0 guests