tag:help.beatunes.com,2009-07-24:/discussions/plugin/9-problem-with-keytocomment-plugin-getidbeaTunes: Discussion 2014-10-21T15:50:49Ztag:help.beatunes.com,2009-07-24:Comment/97391262011-09-04T12:15:29Z2011-09-04T12:15:29ZProblem with KeyToComment plugin, getId()<div><p>Hello Hendrik - hope you are well.</p>
<p>Just installed the keytocomment plugin and got an error when
loading.. The logs is as follows:</p>
<p>2011-09-04 12:43:02,898 [ 3291] [DEBUG][AWT-EventQueue-0]
com.tagtraum.core.app.PluginManager: Adding
/Users/martin/Library/Application
Support/beaTunes/Plug-Ins/keytocomment-2.0.1.jar to plugin
classloader.<br>
2011-09-04 12:43:02,899 [ 3292] [INFO ][AWT-EventQueue-0]
com.tagtraum.core.app.PluginManager: Plugin Classpath:
[file:/Users/martin/Library/Application%20Support/beaTunes/Plug-Ins/keytocomment-2.0.1.jar]<br>
2011-09-04 12:43:02,900 [ 3293] [INFO ][AWT-EventQueue-0]
com.tagtraum.core.app.PluginManager: Plugin Descriptors:
[jar:file:/Applications/beaTunes3.app/Contents/Resources/Java/beatunes-3.0.1.jar!/META-INF/plugin.xml,
jar:file:/Users/martin/Library/Application%20Support/beaTunes/Plug-Ins/keytocomment-2.0.1.jar!/META-INF/plugin.xml]<br>
2011-09-04 12:43:02,912 [ 3305] [INFO ][AWT-EventQueue-0]
com.tagtraum.core.app.PluginManager: Reading descriptor
jar:file:/Users/martin/Library/Application%20Support/beaTunes/Plug-Ins/keytocomment-2.0.1.jar!/META-INF/plugin.xml<br>
2011-09-04 12:43:02,915 [ 3308] [DEBUG][AWT-EventQueue-0]
com.tagtraum.core.app.PluginManager: Adding
/Users/martin/Library/Application
Support/beaTunes/Plug-Ins/keytocomment-2.0.1.jar to plugin
classloader.<br>
2011-09-04 12:43:02,915 [ 3308] [INFO ][AWT-EventQueue-0]
com.tagtraum.core.app.PluginManager: Plugin Classpath:
[file:/Users/martin/Library/Application%20Support/beaTunes/Plug-Ins/keytocomment-2.0.1.jar]<br>
2011-09-04 12:43:04,764 [ 5157] [INFO ][AWT-EventQueue-0]
com.tagtraum.core.app.PluginManager: Loading
jar:file:/Users/martin/Library/Application%20Support/beaTunes/Plug-Ins/keytocomment-2.0.1.jar!/META-INF/plugin.xml<br>
2011-09-04 12:43:04,766 [ 5159] [INFO ][AWT-EventQueue-0]
com.tagtraum.core.app.PluginManager: Loading
RuntimePluginDescriptor[name=Copy key to
comment,id=keytocomment,version=Version[2.0.1],min-beatunes-version=Version[3.0.0],max-beatunes-version=Version[3.9.9],url=jar:file:/Users/martin/Library/Application%20Support/beaTunes/Plug-Ins/keytocomment-2.0.1.jar!/META-INF/plugin.xml,localBundleURL=file:/Users/martin/Library/Application%20Support/beaTunes/Plug-Ins/keytocomment-2.0.1.jar,remoteBundleURL=null]<br>
2011-09-04 12:43:04,766 [ 5159] [DEBUG][AWT-EventQueue-0]
com.tagtraum.core.app.PluginManager: Instantiating plugin
com.beatunes.keytocomment.KeyToComment<br>
2011-09-04 12:43:04,768 [ 5161] [INFO ][AWT-EventQueue-0]
com.tagtraum.core.app.PluginManager: Instantiated plugin class
com.beatunes.keytocomment.KeyToComment<br>
2011-09-04 12:43:04,768 [ 5161] [DEBUG][AWT-EventQueue-0]
com.tagtraum.core.app.PluginManager: Failed to register plugin
under id: java.lang.NoSuchMethodException:
com.beatunes.keytocomment.KeyToComment.getId()<br>
2011-09-04 12:43:04,768 [ 5161] [INFO ][AWT-EventQueue-0]
com.tagtraum.core.app.PluginManager: Registered plugin
com.beatunes.keytocomment.KeyToComment@3ec9e1f9[songNumericPersistentID=null]<br>
2011-09-04 12:43:08,445 [ 8838] [DEBUG][AWT-EventQueue-0]
com.tagtraum.beatunes.BeaTunes: Configuring Plugin Entity Class:
class com.beatunes.keytocomment.KeyToComment<br>
2011-09-04 12:43:12,712 [ 13105] [INFO ][AWT-EventQueue-0]
org.hibernate.cfg.AnnotationBinder: Binding entity from annotated
class: com.beatunes.keytocomment.KeyToComment</p>
<p>Wondered if you could help? I cannot see any definition of
getId() in your docs. I have made no modifications to your code
...</p>
<p>Regards<br>
Martin</p></div>buttashtag:help.beatunes.com,2009-07-24:Comment/97391262011-09-04T12:17:13Z2011-09-04T12:17:13ZProblem with KeyToComment plugin, getId()<div><p>What was the error you got?<br>
The id is actually not important in this context. It's only
necessary when you want to obtain a plugin instance with an id.</p></div>hendrik