Custom protocol handlers make the L1 initialization fail
--------------------------------------------------------

                 Key: CDV-810
                 URL: https://jira.terracotta.org/jira//browse/CDV-810
             Project: Community Development
          Issue Type: Bug
          Components: DSO:L1
            Reporter: Geert Bevin
            Assignee: Geert Bevin


As per http://forums.terracotta.org/forums/posts/list/0/1237.page

Just executing this: 
   
JAVA_OPTS="-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol" 
dso-java.sh tutorial.HelloWorld

Results in:

2008-07-17 09:59:24,051 INFO - Terracotta 2.7.0-SNAPSHOT, as of 20080717-080730 
(Revision 9274 by [EMAIL PROTECTED] from trunk)
 2008-07-17 09:59:24,582 INFO - Configuration loaded from the file at 
'/Users/gbevin/Downloads/demos/helloworld/tc-config.xml'.
 java.lang.NullPointerException
        at 
com.tc.object.bytecode.hook.impl.ClassProcessorHelper.registerStandardLoaders(ClassProcessorHelper.java:467)
        at 
com.tc.object.bytecode.hook.impl.ClassProcessorHelper.init(ClassProcessorHelper.java:414)
        at 
com.tc.object.bytecode.hook.impl.ClassProcessorHelper.systemLoaderInitialized(ClassProcessorHelper.java:795)
        at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1382)
        at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1341)
        at java.net.URL.getURLStreamHandler(URL.java:1139)
        at java.net.URL.<init>(URL.java:393)
        at java.net.URL.<init>(URL.java:283)
        at java.net.URL.<init>(URL.java:306)
        at sun.net.www.ParseUtil.fileToEncodedURL(ParseUtil.java:245)
        at sun.misc.Launcher.getFileURL(Launcher.java:400)
        at sun.misc.Launcher$ExtClassLoader.getExtURLs(Launcher.java:177)
        at sun.misc.Launcher$ExtClassLoader.<init>(Launcher.java:149)
        at sun.misc.Launcher$ExtClassLoader$1.run(Launcher.java:133)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.misc.Launcher$ExtClassLoader.getExtClassLoader(Launcher.java:130)
        at sun.misc.Launcher.<init>(Launcher.java:51)
        at sun.misc.Launcher.<clinit>(Launcher.java:39)
        at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1359)
        at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1341)
 Error occurred during initialization of VM
 java.lang.AssertionError: already set
 Abort trap

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev
  • [tc-dev] [JIRA] Created: (CDV-8... Terracotta JIRA (on behalf of Geert Bevin)

Reply via email to