[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-distro-pkg-dev
Subject:    [Bug 1464] New: NPE on JNLPClassLoader.getPermissions
From:       bugzilla-daemon () icedtea ! classpath ! org
Date:       2013-05-30 16:10:32
Message-ID: bug-1464-30 () http ! icedtea ! classpath ! org/bugzilla/
[Download RAW message or body]


--1369930233.D7EA60.2992
Date: Thu, 30 May 2013 16:10:33 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"

http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1464

            Bug ID: 1464
           Summary: NPE on JNLPClassLoader.getPermissions
    Classification: Unclassified
           Product: IcedTea-Web
           Version: 1.3.2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P3
         Component: NetX (javaws)
          Assignee: omajid@redhat.com
          Reporter: wjbittle@gmail.com
                CC: unassigned@icedtea.classpath.org

The JNLP deployment of my application:
http://www.praisenter.org/release/production/v2/Praisenter.jnlp

It fails on Ubuntu 13.04 64bit running Open JDK 7 and IcedTea 1.3.2 (both
installed from the Ubuntu Software Center).
java -version:
java version "1.7.0_21"
OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-1ubuntu1)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
update-alternatives verifies I'm running the appropriate versions of java and
javaws

It works on Ubuntu 12.04 LTS 64bit running Open JDK 7 and IcedTea 1.2.3 (again,
both installed from the Ubuntu Software Center).
java -version:
java version "1.7.0_21"
OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-1ubuntu1)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

The failure is similar to bug 1199 (derby is trying to execute a SQL statment).
 Is there any work around for this problem?

The stacktrace:
Caused by: java.lang.NullPointerException
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getPermissions(JNLPClassLoader.java:1143)
  at
net.sourceforge.jnlp.runtime.JNLPPolicy.getPermissions(JNLPPolicy.java:86)
    at net.sourceforge.jnlp.runtime.JNLPPolicy.implies(JNLPPolicy.java:182)
    at java.security.ProtectionDomain.implies(ProtectionDomain.java:272)
    at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:344)
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getAccessControlContextForClassLoading(JNLPClassLoader.java:2179)
  at
net.sourceforge.jnlp.runtime.JNLPClassLoader.findLoadedClassAll(JNLPClassLoader.java:1522)
  at
net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1554)
    at
org.apache.derby.impl.sql.execute.GenericExecutionFactory.getResultSetFactory(Unknown
Source)
    at
org.apache.derby.impl.sql.execute.BaseActivation.getResultSetFactory(Unknown
Source)
    at
org.apache.derby.exe.acf81e0010x013exf625x13dcx000016ea53d80.fillResultSet(Unknown
Source)
    at
org.apache.derby.exe.acf81e0010x013exf625x13dcx000016ea53d80.execute(Unknown
Source)
    at org.apache.derby.impl.sql.GenericActivationHolder.execute(Unknown
Source)
    at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown
Source)
    at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
Source)
    ... 10 more

-- 
You are receiving this mail because:
You are on the CC list for the bug.

--1369930233.D7EA60.2992
Date: Thu, 30 May 2013 16:10:33 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"

<html>
    <head>
      <base href="http://icedtea.classpath.org/bugzilla/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - NPE on JNLPClassLoader.getPermissions"
   href="http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1464">1464</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>NPE on JNLPClassLoader.getPermissions
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>IcedTea-Web
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.3.2
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P3
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>NetX (javaws)
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>omajid&#64;redhat.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>wjbittle&#64;gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>unassigned&#64;icedtea.classpath.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The JNLP deployment of my application:
<a href="http://www.praisenter.org/release/production/v2/Praisenter.jnlp">http://www.praisenter.org/release/production/v2/Praisenter.jnlp</a>


It fails on Ubuntu 13.04 64bit running Open JDK 7 and IcedTea 1.3.2 (both
installed from the Ubuntu Software Center).
java -version:
java version &quot;1.7.0_21&quot;
OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-1ubuntu1)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
update-alternatives verifies I'm running the appropriate versions of java and
javaws

It works on Ubuntu 12.04 LTS 64bit running Open JDK 7 and IcedTea 1.2.3 (again,
both installed from the Ubuntu Software Center).
java -version:
java version &quot;1.7.0_21&quot;
OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-1ubuntu1)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

The failure is similar to <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - NullPointerException in JNLPClassLoader.getPermissions with \
Apache Derby/Open Wonderland client"  href="show_bug.cgi?id=1199">bug 1199</a> (derby \
is trying to execute a SQL statment).  Is there any work around for this problem?

The stacktrace:
Caused by: java.lang.NullPointerException
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getPermissions(JNLPClassLoader.java:1143)
  at
net.sourceforge.jnlp.runtime.JNLPPolicy.getPermissions(JNLPPolicy.java:86)
    at net.sourceforge.jnlp.runtime.JNLPPolicy.implies(JNLPPolicy.java:182)
    at java.security.ProtectionDomain.implies(ProtectionDomain.java:272)
    at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:344)
    at
net.sourceforge.jnlp.runtime.JNLPClassLoader.getAccessControlContextForClassLoading(JNLPClassLoader.java:2179)
  at
net.sourceforge.jnlp.runtime.JNLPClassLoader.findLoadedClassAll(JNLPClassLoader.java:1522)
  at
net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1554)
    at
org.apache.derby.impl.sql.execute.GenericExecutionFactory.getResultSetFactory(Unknown
Source)
    at
org.apache.derby.impl.sql.execute.BaseActivation.getResultSetFactory(Unknown
Source)
    at
org.apache.derby.exe.acf81e0010x013exf625x13dcx000016ea53d80.fillResultSet(Unknown
Source)
    at
org.apache.derby.exe.acf81e0010x013exf625x13dcx000016ea53d80.execute(Unknown
Source)
    at org.apache.derby.impl.sql.GenericActivationHolder.execute(Unknown
Source)
    at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown
Source)
    at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
Source)
    ... 10 more</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>

--1369930233.D7EA60.2992--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic