Uploaded image for project: 'HiveMind'
  1. HiveMind
  2. HIVEMIND-10

Unable to use HiveMind in a Java WebStart client...

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.0
    • framework
    • None
    • 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"...

      06-24@13: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)

      Attachments

        1. short-curcuit-patch.txt
          2 kB
          James Carman
        2. patch.txt
          20 kB
          James Carman
        3. patch.txt
          0.6 kB
          James Carman

        Activity

          People

            Unassigned Unassigned
            jwcarman James Carman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: