SourceEditor 2.0 not starting

Added by Marco Ceragioli about 1 year ago

Hello!
When I try to star SourceEditor2.0 (by just clicking on the link on your homepage), the JavaWebStart gives me this error:

java.lang.reflect.InvocationTargetException

I'll paste here what it says in the dialog box (first tab):

@
<jnlp
spec="1.0+"
codebase="http://sqs2.net/2009/12/04"
href="SourceEditor.jnlp">
<information>
<title>SQS SourceEditor2.0(2009/12/04)</title>
<vendor>Hiroya KUBO, Chiba University of Commerce</vendor>
<homepage href="http://www.sqs2.net/">
</homepage>
<icon href="wizard.gif" kind="default">
</icon>
<icon href="wizard.gif" kind="splash">
</icon>
<icon href="wizard.gif" kind="shortcut">
</icon>
<related-content href="LICENSE.txt">
<title>SourceEditor's License</title>
<description>Apache License, Version 2</description>
</related-content>

&lt;update check="background" policy="prompt-update"/&gt;
&lt;description&gt;Shared Questionnaire System&lt;/description&gt;
&lt;description kind="one-line"&gt;0&lt;/description&gt;
&lt;description kind="short"&gt;
&lt;/description&gt;
&lt;!--&lt;association mime-type="application/x-sqs-source" extensions="sqs"/&gt;-->
&lt;offline-allowed&gt;
&lt;/offline-allowed&gt;
&lt;shortcut online="false"&gt;
&lt;!--&lt;desktop/&gt;-->
&lt;menu submenu="SQS"/&gt;
&lt;/shortcut&gt;
&lt;/information&gt;
&lt;security&gt;
&lt;all-permissions/&gt;
&lt;/security&gt;
&lt;resources&gt;
&lt;j2se version="1.6+" max-heap-size="812m" initial-heap-size="32m" /&gt;
&lt;!--Dawt.useSystemAAFontSettings=on--&gt;

<jar href="SourceEditor-2.0-SNAPSHOT.jar" main="true"/>
<jar href="sqs-util-1.3.37.jar"/>
<jar href="commons-logging-1.1.jar"/>
<jar href="jetty-6.1.9.jar"/>
<jar href="jetty-util-6.1.9.jar"/>
<jar href="servlet-api-2.5-6.1.9.jar"/>
<jar href="xercesImpl-2.9.1.jar"/>
<jar href="xml-apis-1.3.04.jar"/>
<jar href="xalan-2.7.0.jar"/>
<jar href="serializer-2.7.1.jar"/>
<jar href="commons-io-1.4.jar"/>
<jar href="commons-lang-2.4.jar"/>
<jar href="commons-codec-1.2.jar"/>
<jar href="sqs-translator-1.0.9.jar"/>
<jar href="xmlgraphics-commons-1.3.1.jar"/>
<jar href="fop-0.95-20090301.jar"/>
<jar href="batik-all-1.7.jar"/>
<jar href="avalon-framework-api-4.2.0.jar"/>
<jar href="avalon-framework-impl-4.2.0.jar"/>
<jar href="itext-2.0.4.jar"/>
<jar href="xml-apis-ext-1.3.04.jar"/>
<jar href="ipafont-00201.jar"/>
<jar href="servlet-api-2.3.jar"/>

&lt;/resources&gt;
&lt;application-desc main-class="net.sf.sqs_xml.editor.sqs.swing.SourceEditorLauncher"&gt;
&lt;!-- &lt;argument&gt;arg1&lt;/argument&gt; -->
&lt;!-- &lt;argument&gt;arg2&lt;/argument&gt; -->
&lt;/application-desc&gt;
&lt;/jnlp&gt;@

And also (second tab):

java.lang.reflect.InvocationTargetException
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.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCircularityError: net/sqs2/net/ClassURLConnection
at net.sqs2.net.ClassURLStreamHandlerFactory.createURLStreamHandler(ClassURLStreamHandlerFactory.java:12)
at java.net.URL.getURLStreamHandler(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.JarURLConnection.parseSpecs(Unknown Source)
at java.net.JarURLConnection.<init>(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.<init>(Unknown Source)
at com.sun.jnlp.JNLPCachedJarURLConnection.<init>(Unknown Source)
at com.sun.javaws.net.protocol.jar.Handler.openConnection(Unknown Source)
at java.net.URL.openConnection(Unknown Source)
at com.sun.deploy.util.URLUtil.checkTargetURL(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at net.sqs2.net.ClassURLStreamHandlerFactory.createURLStreamHandler(ClassURLStreamHandlerFactory.java:12)
at java.net.URL.getURLStreamHandler(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at net.sf.sqs_xml.editor.base.swing.SourceEditorMenuBarMediator.createImageIcon(SourceEditorMenuBarMediator.java:87)
at net.sf.sqs_xml.editor.sqs.swing.SQSSourceEditorMenuBarMediator.<clinit>(SQSSourceEditorMenuBarMediator.java:58)
at net.sf.sqs_xml.editor.sqs.swing.SQSSourceEditorMediator.createSourceEditorMenuBarMediator(SQSSourceEditorMediator.java:92)
at net.sf.sqs_xml.editor.base.swing.SourceEditorMediator.<init>(SourceEditorMediator.java:58)
at net.sf.sqs_xml.editor.sqs.swing.SQSSourceEditorMediator.<init>(SQSSourceEditorMediator.java:62)
at net.sf.sqs_xml.editor.sqs.swing.SourceEditorLauncher.main(SourceEditorLauncher.java:18)
... 9 more

I have the latest version of Java installed. And the MarkReader works perfectly.

Arigatou gozaimasu!


Replies (2)

RE: SourceEditor 2.0 not starting - Added by Shigeru YAMADA about 1 year ago

I am a user of SQS system.
I have faced the same problem as yours at the environment of latest version of Java (JRE6u24).

I wonder if it could be a help for you.
I avoided the problem with re-installing older verson of Java (JRE6u23).
(from [[http://java.sun.com/products/archive/]] )

Best
Shigeru YAMADA

RE: SourceEditor 2.0 not starting - Added by Marco Ceragioli about 1 year ago

OMG, it worked!
I had to uninstall any other version on JRE I already had, but with the exact update you suggested, it works!

Now, I only have to understand how to actually create a questionnaire... ^_-

Thanks a lot!

Marco

(1-2/2)