javax.naming.InvalidNameException: java:comp/env/jdbc/SAPDEV [Root exception is java.net.MalformedURLException: unknown protocol: java] at com.sun.jndi.fscontext.FSContextFactory.getFileNam eFromURLString(FSContextFactory.java:119) at com.sun.jndi.fscontext.RefFSContextFactory.createC ontext(RefFSContextFactory.java:41) at com.sun.jndi.fscontext.RefFSContextFactory.createC ontextAux(RefFSContextFactory.java:47) at com.sun.jndi.fscontext.FSContextFactory.getInitial Context(FSContextFactory.java:49) at javax.naming.spi.NamingManager.getInitialContext(N amingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(Init ialContext.java:288) at javax.naming.InitialContext.init(InitialContext.ja va:223) at javax.naming.InitialContext.<init>(InitialContext. java:197)

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Code Template Editor: MalformedURLException on code completion

    Eclipse Bugzilla | 5 years ago | karsten.thoms
    java.lang.RuntimeException: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: java.net.MalformedURLException: unknown protocol: java
  2. 0

    Problems in getting database connection from data source registerd with JNDI

    javaprogrammingforums.com | 9 months ago
    javax.naming.InvalidNameException: java:comp/env/jdbc/SAPDEV [Root exception is java.net.MalformedURLException: unknown protocol: java] at com.sun.jndi.fscontext.FSContextFactory.getFileNam eFromURLString(FSContextFactory.java:119) at com.sun.jndi.fscontext.RefFSContextFactory.createC ontext(RefFSContextFactory.java:41) at com.sun.jndi.fscontext.RefFSContextFactory.createC ontextAux(RefFSContextFactory.java:47) at com.sun.jndi.fscontext.FSContextFactory.getInitial Context(FSContextFactory.java:49) at javax.naming.spi.NamingManager.getInitialContext(N amingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(Init ialContext.java:288) at javax.naming.InitialContext.init(InitialContext.ja va:223) at javax.naming.InitialContext.<init>(InitialContext. java:197)
  3. 0

    [xtext][grammar] InvocationTargetException on rename refactoring

    Eclipse Bugzilla | 6 years ago | sebastian.zarnekow
    org.eclipse.emf.common.util.WrappedException: java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    exceptions when deleting projects

    Eclipse Bugzilla | 5 years ago | moritz.eysholdt
    org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: java.net.MalformedURLException: unknown protocol: java
  6. 0

    Convert a vfs url string to url object

    Stack Overflow | 4 years ago | Anish Antony
    java.net.MalformedURLException: unknown protocol: vfs

  1. mist69 1 times, last 4 weeks ago
  2. Eric 1 times, last 1 month ago
  3. Casper 1 times, last 2 months ago
  4. filpgame 1 times, last 3 months ago
  5. poroszd 1 times, last 3 months ago
41 more registered users
48 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.net.MalformedURLException

    unknown protocol: java

    at java.net.URL.<init>()
  2. Java RT
    URL.<init>
    1. java.net.URL.<init>(URL.java:574)
    2. java.net.URL.<init>(URL.java:464)
    3. java.net.URL.<init>(URL.java:413)
    3 frames