Message:

   The following issue has been resolved as FIXED.

   Resolver: Howard M. Lewis Ship
       Date: Sun, 5 Sep 2004 6:12 AM

Applied James' patch and all tests pass ... but I don't have a JWS test case 
handy.  Will close the issue after James verifies in his environment.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/HIVEMIND-10

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: HIVEMIND-10
    Summary: Unable to use HiveMind in a Java WebStart client...
       Type: Bug

     Status: Resolved
   Priority: Major
 Resolution: FIXED

    Project: HiveMind
 Components: 
             framework
   Fix Fors:
             1.0
   Versions:
             1.0

   Assignee: 
   Reporter: James Carman

    Created: Thu, 24 Jun 2004 10:12 AM
    Updated: Sun, 5 Sep 2004 6:12 AM
Environment: Windows XP
Internet Explorere 6.0
hivemind-1.0-beta-1-snapshot.jar
Java Web Start 1.4.2_04 Console, started Thu Jun 24 12:52:16 EDT 2004
Java 2 Runtime Environment: Version 1.4.2_04 by Sun Microsystems Inc.


Description:
I have created a simple application that just loads the HiveMind modules into 
the default registry...

public class Main
{
    public static void main( String[] args )
    {
        System.out.println( "Starting application..." );
        RegistryBuilder.constructDefaultRegistry();
    }
}

I am starting this via Java WebStart, but it doesn't want to launch.  It keeps 
getting some weird error about "no property editor for java.lang.String"...

[EMAIL PROTECTED]:09:25 ERROR (ReadAttributeRule        )     - Error at 
jar:file:C:/Documents%20and%20Settings/James%20Carman/Application%20Data/Sun/Java/Deployment/javaws/cache/http/Dlocalhost/P8080/DMworkbench/DMapp/XMhivemind-1.0-beta-1-snapshot.jar1088096963896!/META-INF/hivemodule.sdl,
 line 574, column 7: Unable to process attribute name (of element 
service-model): Unable to translate 'primitive' to type java.lang.String: No 
property editor for java.lang.String.
org.apache.hivemind.ApplicationRuntimeException: Unable to translate 
'primitive' to type java.lang.String: No property editor for java.lang.String.
        at org.apache.hivemind.schema.rules.SmartTranslator.translate(Unknown 
Source)
        at org.apache.hivemind.schema.rules.ReadAttributeRule.begin(Unknown 
Source)
        at org.apache.hivemind.impl.SchemaElement.fireBegin(Unknown Source)
        at org.apache.hivemind.impl.SchemaProcessorImpl.processElement(Unknown 
Source)
        at 
org.apache.hivemind.impl.SchemaProcessorImpl.processRootElement(Unknown Source)
        at org.apache.hivemind.impl.SchemaProcessorImpl.process(Unknown Source)
        at 
org.apache.hivemind.impl.ConfigurationPointImpl.constructElementsList(Unknown 
Source)
        at 
org.apache.hivemind.impl.ConfigurationPointImpl.constructElements(Unknown 
Source)
        at org.apache.hivemind.impl.ElementsInnerProxyList.inner(Unknown Source)
        at org.apache.hivemind.impl.ElementsInnerProxyList.size(Unknown Source)
        at org.apache.hivemind.impl.ElementsProxyList.size(Unknown Source)
        at java.util.AbstractList$Itr.hasNext(Unknown Source)
        at 
org.apache.hivemind.impl.RegistryImpl.readServiceModelFactories(Unknown Source)
        at org.apache.hivemind.impl.RegistryImpl.getServiceModelFactory(Unknown 
Source)
        at org.apache.hivemind.impl.ModuleImpl.getServiceModelFactory(Unknown 
Source)
        at org.apache.hivemind.impl.ServicePointImpl.getService(Unknown Source)
        at org.apache.hivemind.impl.ServicePointImpl.getService(Unknown Source)
        at org.apache.hivemind.impl.RegistryImpl.getService(Unknown Source)
        at org.apache.hivemind.impl.RegistryImpl.startup(Unknown Source)
        at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(Unknown 
Source)
        at 
org.apache.hivemind.impl.RegistryBuilder.constructDefaultRegistry(Unknown 
Source)
        at com.carmanconsulting.workbench.Main.main(Main.java:18)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.javaws.Launcher.executeApplication(Unknown Source)
        at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
        at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
        at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
        at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
        at com.sun.javaws.Launcher.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to