Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : Application Errror: "Failed to execute runnable (java.lang.IllegalArgumentException)"


fpaulojr
03-13-2005, 07:28 AM
I've installed SunRise (0.41g) and Java environment without problems. But when I choose the option "New Document" I receive the following error message and the program shuts down.

"Application Error:
Message: Failed to execute runnable (java.lang.IllegalArgumentException)

java.lang.IllegalArgumentException
at java.net.URI.create(Unknown Source)
at ee.a(Unknown Source)
at ee.c(Unknown Source)
at kp.a(Unknown Source)
at aX.run(Unknown Source)
at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessa ges(Unknown Source)
at org.eclipse.swt.widgets.Display.runAsyncMessages(U nknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Un known Source)
at kx.a(Unknown Source)
at com.distantchord.sunrise.apps.Desktop.e(Unknown Source)
at com.distantchord.sunrise.apps.Desktop.main(Unknown Source)
Caused by: java.net.URISyntaxException: Illegal character in path at index 44: http://www.estadao.com.br/rss/tecnologia.xml
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
... 12 more"

Can anyone help to solve this?

Thanks

Francisco Oliveira
Brazil

Laurens
03-13-2005, 08:10 AM
There's a URL on the clipboard with a newline or tab attached at the end. Select a random piece of text and copy it to the clipboard, then try again.

When Sunrise detects there's text on the clipboard that starts with "http://", it automatically uses that URL when it creates a new document. Unfortunately, it is not very tolerant of whitespace characters. This will be fixed in the next revision.