org.apache.karaf.features.internal.util.MultiException: Error

nabble.com | 5 months ago
  1. 0

    [jira] [Resolved] (KARAF-4302) Features file not working when protocol wrap required

    karaf-issues | 10 months ago | Guillaume Nodet (JIRA)
    org.apache.karaf.features.internal.util.MultiException: Error
  2. 0

    Karaf - User - Unknown protocol wrap in a pax-exam test.

    nabble.com | 5 months ago
    org.apache.karaf.features.internal.util.MultiException: Error
  3. 0

    MalformedURLException

    symmetricds | 2 years ago | brevleq
    java.net.MalformedURLException: Stream handler unavailable due to: For input string: "0:0:0:0:5efe:c0a8:18f%net10:31417"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    If you set the http_proxy environment variable in Windows (Control Panel > Advanced > Environment Variables) to something _not_ starting with http, eg: proxy.domain.com:port you get the following exception: SEVERE: badproxy SEVERE: java.net.MalformedURLException: Unknown protocol: proxy.domain.com at java.net.URL.<init>(URL.java:617) at java.net.URL.<init>(URL.java:480) at java.net.URL.<init>(URL.java:429) at com.sun.pkg.client.SystemInfo.loadProxyInfo(SystemInfo.java:201) at com.sun.pkg.client.SystemInfo.getProxySelector(SystemInfo.java:168) at com.sun.pkg.client.Image.<init>(Image.java:1007) at com.sun.pkg.client.Image.<init>(Image.java:1026) at com.sun.enterprise.registration.glassfish.RegistrationUtil.getUpdateCenterImage(RegistrationUtil.java:180) at com.sun.enterprise.registration.glassfish.RegistrationUtil.setUpdateCenterUUID(RegistrationUtil.java:187) at com.sun.enterprise.registration.glassfish.RegistrationUtil.synchUUID(RegistrationUtil.java:174) at com.sun.enterprise.registration.glassfish.PingService.postConstruct(PingService.java:101) at com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131) at com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91) at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82) at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67) at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:78) at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:340) at com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:145) at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:136) at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79) at com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start(GlassFishDecorator.java:63) at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishImpl.start(OSGiGlassFishImpl.java:69) at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97) at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55) Caused by: java.lang.IllegalStateException: Unknown protocol: proxy.domain.com at org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:372) at java.net.URL.<init>(URL.java:612) ... 29 more It should be easy to test for anything beginning with http/s and bring up a more meaningful error message or even correct the wrong env entry..

    Java.net JIRA | 4 years ago | myfear
    java.net.MalformedURLException: Unknown protocol: proxy.domain.com

  1. davidvanlaatum 4 times, last 1 month ago
  2. davidvanlaatum 3 times, last 2 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Unknown protocol: wrap

    at org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL()
  2. Apache Felix Framework
    URLHandlersStreamHandlerProxy.parseURL
    1. org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:373)[org.apache.felix.framework-5.0.1.jar:]
    1 frame
  3. Java RT
    URL.<init>
    1. java.net.URL.<init>(URL.java:615)[:1.8.0_05]
    2. java.net.URL.<init>(URL.java:483)[:1.8.0_05]
    3. java.net.URL.<init>(URL.java:432)[:1.8.0_05]
    3 frames
  4. org.apache.karaf
    AbstractRetryableDownloadTask.run
    1. org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:62)[8:org.apache.karaf.features.core:4.0.1]
    2. org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:58)[8:org.apache.karaf.features.core:4.0.1]
    2 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_05]
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_05]
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_05]
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_05]
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_05]
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_05]
    7. java.lang.Thread.run(Thread.java:745)[:1.8.0_05]
    7 frames