melly

Sparkplug error

Discussion created by melly on Aug 22, 2006
Latest reply on Aug 26, 2006 by barata7

I try to build and run my own sparkplug using ant but i ''ve got this error.

 

Buildfile: build.xml

 

clean:

delete Deleting: D:\sparkplugs\builder\target\lib\plugin-classes.jar

delete Deleting directory D:\sparkplugs\builder\build\classes

delete Deleting directory D:\sparkplugs\builder\target

 

compile:

mkdir Created dir: D:\sparkplugs\builder\build\classes

javac Compiling 1 source file to D:\sparkplugs\builder\build\classes

 

jar:

mkdir Created dir: D:\sparkplugs\builder\target

mkdir Created dir: D:\sparkplugs\builder\target\lib

copy Copying 17 files to D:\sparkplugs\builder\target\lib

copy Copying 1 file to D:\sparkplugs\builder\target

jar Building jar: D:\sparkplugs\builder\target\lib\plugin-classes.jar

zip Building zip: D:\sparkplugs\builder\myplugin.jar

 

run:

copy Copying 1 file to D:\sparkplugs\spark\plugins

java Aug 23, 2006 11:40:28 AM com.jivesoftware.spark.util.log.Logger logError

java SEVERE: Error loading LocalPreferences.

java com.thoughtworks.xstream.converters.ConversionException: emptyGroups

Shown : emptyGroupsShown

java -


Debugging information -


java required-type : com.jivesoftware.sparkimpl.settings.local.LocalPreferences

java cause-message : emptyGroupsShown : emptyGroupsShown

java class : com.jivesoftware.sparkimpl.settings.local.LocalPreferences

java message : emptyGroupsShown : emptyGroupsShown

java line number : 25

java path : /settings/emptyGroupsShown

java cause-exception : com.thoughtworks.xstream.alias.CannotResolveClassException

java java at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother

(TreeUnmarshaller.java:45)

java at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(Refer enceByXPathUnmarshaller.java:39)

java at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:99)

java at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(Ref erenceByXPathMarshallingStrategy.java:12)

java at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:521)

java at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:509)

java at com.thoughtworks.xstream.XStream.fromXML(XStream.java:475)

java at com.jivesoftware.sparkimpl.settings.local.SettingsManager.getLocalPreferences(S ettingsManager.java:54)

java at com.jivesoftware.LoginDialog.(Spark.java:35)

java at com.jivesoftware.Spark$1.run(Spark.java:115)

java at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

java at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)

java at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java: 242)

java at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:16 3)

java at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

java at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

java at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

 

BUILD SUCCESSFUL

 

please advice!!

Outcomes