You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Triquoit Mathieu <ma...@gmail.com> on 2009/05/28 14:46:58 UTC

java.io.IOException: FakeURLStreamHandler can not be used!

Hello,

I am using jdic in a module to create an email (by example with Outlook)...
When the code to create the mail is reached, I have the following exception
:

org.jdesktop.jdic.init.JdicInitException: java.io.IOException:
FakeURLStreamHandler can not be used!
        at org.jdesktop.jdic.init.JdicManager.initShareNative(Unknown
Source)
        at
org.jdesktop.jdic.desktop.internal.ServiceManager.<clinit>(Unknown Source)
        at org.jdesktop.jdic.desktop.Desktop.mail(Unknown Source)
        at
eu.europa.ec.taxud.eforms.editor.gui.EFormFrame.sendMailImpl(EFormFrame.java:550)
        at
eu.europa.ec.taxud.eforms.editor.gui.EFormFrame.sendMail(EFormFrame.java:516)
        at
eu.europa.ec.taxud.eforms.editor.gui.EFormFrame$3$1.run(EFormFrame.java:421)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.IOException: FakeURLStreamHandler can not be used!
        at
org.apache.felix.framework.FakeURLStreamHandler.openConnection(FakeURLStreamHandler.java:39)
        at java.net.URL.openConnection(Unknown Source)
        ... 14 more
In main loop, we have serious trouble: java.lang.NullPointerException
In main loop, we have serious trouble: java.lang.NullPointerException

Do you have any idea ?

Thanks in advance,
Regards,
Mathieu

Re: java.io.IOException: FakeURLStreamHandler can not be used!

Posted by "Richard S. Hall" <he...@ungoverned.org>.
What URL are you trying to open?

-> richard

On 5/28/09 8:46 AM, Triquoit Mathieu wrote:
> Hello,
>
> I am using jdic in a module to create an email (by example with Outlook)...
> When the code to create the mail is reached, I have the following exception
> :
>
> org.jdesktop.jdic.init.JdicInitException: java.io.IOException:
> FakeURLStreamHandler can not be used!
>          at org.jdesktop.jdic.init.JdicManager.initShareNative(Unknown
> Source)
>          at
> org.jdesktop.jdic.desktop.internal.ServiceManager.<clinit>(Unknown Source)
>          at org.jdesktop.jdic.desktop.Desktop.mail(Unknown Source)
>          at
> eu.europa.ec.taxud.eforms.editor.gui.EFormFrame.sendMailImpl(EFormFrame.java:550)
>          at
> eu.europa.ec.taxud.eforms.editor.gui.EFormFrame.sendMail(EFormFrame.java:516)
>          at
> eu.europa.ec.taxud.eforms.editor.gui.EFormFrame$3$1.run(EFormFrame.java:421)
>          at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>          at java.awt.EventQueue.dispatchEvent(Unknown Source)
>          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
> Source)
>          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
>          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>          at java.awt.EventDispatchThread.run(Unknown Source)
> Caused by: java.io.IOException: FakeURLStreamHandler can not be used!
>          at
> org.apache.felix.framework.FakeURLStreamHandler.openConnection(FakeURLStreamHandler.java:39)
>          at java.net.URL.openConnection(Unknown Source)
>          ... 14 more
> In main loop, we have serious trouble: java.lang.NullPointerException
> In main loop, we have serious trouble: java.lang.NullPointerException
>
> Do you have any idea ?
>
> Thanks in advance,
> Regards,
> Mathieu
>
>    

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org