Problem with KeyToComment plugin, getId()

buttash's Avatar

buttash

04 Sep, 2011 12:15 PM

Hello Hendrik - hope you are well.

Just installed the keytocomment plugin and got an error when loading.. The logs is as follows:

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.
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]
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]
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
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.
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]
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
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]
2011-09-04 12:43:04,766 [ 5159] [DEBUG][AWT-EventQueue-0] com.tagtraum.core.app.PluginManager: Instantiating plugin com.beatunes.keytocomment.KeyToComment
2011-09-04 12:43:04,768 [ 5161] [INFO ][AWT-EventQueue-0] com.tagtraum.core.app.PluginManager: Instantiated plugin class com.beatunes.keytocomment.KeyToComment
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()
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]
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
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

Wondered if you could help? I cannot see any definition of getId() in your docs. I have made no modifications to your code ...

Regards
Martin

  1. Support Staff 1 Posted by hendrik on 04 Sep, 2011 12:17 PM

    hendrik's Avatar

    What was the error you got?
    The id is actually not important in this context. It's only necessary when you want to obtain a plugin instance with an id.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac