marwensaid / eid-applet

Automatically exported from code.google.com/p/eid-applet
Other
1 stars 1 forks source link

HTTP status code 500 #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I get the following problem when i want to authenticate: 
There is no problem with te identification.

Does anyone know what goes wrong?

eID Applet - Copyright (C) 2008-2010 FedICT.
Released under GNU LGPL version 3.0 license.
More info: http://code.google.com/p/eid-applet/
checking applet privileges...
security manager permission check for java 1.6...
checking web application trust...
running privileged code...
eID browser applet version: 1.0.0.GA
Java version: 1.6.0_20
Java vendor: Sun Microsystems Inc.
OS: Windows 7
OS version: 6.1
OS arch: x86
Web application URL: https://localhost/ValidatePin.aspx
Current time: Fri May 28 08:35:58 CEST 2010
sending message: HelloMessage
current protocol state: null
protocol state transition: INIT
response message: AuthenticationRequestMessage
current protocol state: INIT
protocol state transition: AUTHENTICATE
include hostname: false
include inet address: false
remove card after authn: false
logoff: false
pre-logoff: false
TLS session Id channel binding: false
server certificate channel binding: false
include identity: false
include address: false
include photo: false
include integrity data: false
Detecteren van eID kaart...
PKCS#11 path: C:\WINDOWS\system32\beidpkcs11.dll
library description: Belgium eID PKCS#11 interface v2
manufacturer ID: Belgium Government
library version: 1.0
cryptoki version: 2.b
reader: ACS ACR38U 0
Belgium eID card in slot: 0
Authentiseren...
getting protection parameter
key alias: Root
key alias: CA
key alias: Authentication
key alias: Signature
sending message: AuthenticationDataMessage
current protocol state: AUTHENTICATE
HTTP response code: 500
<html>
    <head>
        <title>Object reference not set to an instance of an 
object.</title>
        <style>
         body {font-family:"Verdana";font-weight:normal;font-
size: .7em;color:black;} 
         p {font-family:"Verdana";font-weight:normal;color:black;margin-
top: -5px}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-
top: -5px}
         H1 { font-family:"Verdana";font-weight:normal;font-
size:18pt;color:red }
         H2 { font-family:"Verdana";font-weight:normal;font-
size:14pt;color:maroon }
         pre {font-family:"Lucida Console";font-size: .9em}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; 
color:navy; cursor:hand; }
        </style>
    </head>

    <body bgcolor="white">

            <span><H1>Server Error in '/' Application.<hr width=100% 
size=1 color=silver></H1>

            <h2> <i>Object reference not set to an instance of an 
object.</i> </h2></span>

            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-
serif ">

            <b> Description: </b>An unhandled exception occurred during 
the execution of the current web request. Please review the stack trace 
for more information about the error and where it originated in the code.

            <br><br>

            <b> Exception Details: </b>System.NullReferenceException: 
Object reference not set to an instance of an object.<br><br>

            <b>Source Error:</b> <br><br>

            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code>

An unhandled exception was generated during the execution of the current 
web request. Information regarding the origin and location of the 
exception can be identified using the exception stack trace below.</code>

                  </td>
               </tr>
            </table>

            <br>

            <b>Stack Trace:</b> <br><br>

            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code><pre>

[NullReferenceException: Object reference not set to an instance of an 
object.]
   Be.FedICT.EID.Applet.Service.AuthnAppletService.ProcessRequest
(HttpContext httpContext) in C:\Users\tijs\Desktop\applet\eid-applet-
aspx\AppletService\AuthnAppletService.cs:99

System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionSt
ep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, 
Boolean&amp; completedSynchronously) +75
</pre></code>

                  </td>
               </tr>
            </table>

            <br>

            <hr width=100% size=1 color=silver>

            <b>Version Information:</b>&nbsp;Microsoft .NET Framework 
Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

            </font>

    </body>
</html>
<!-- 
[NullReferenceException]: Object reference not set to an instance of an 
object.
   at Be.FedICT.EID.Applet.Service.AuthnAppletService.ProcessRequest
(HttpContext httpContext) in C:\Users\tijs\Desktop\applet\eid-applet-
aspx\AppletService\AuthnAppletService.cs:line 99
   at 
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplicat
ion.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& 
completedSynchronously)
-->
error: error sending message to service. HTTP status code: 500
error type: java.io.IOException
at be.fedict.eid.applet.Controller.sendMessage:193
at be.fedict.eid.applet.Controller.performEidAuthnOperation:1014
at be.fedict.eid.applet.Controller.run:342
at be.fedict.eid.applet.Applet$AppletThread$1.run:525
at java.security.AccessController.doPrivileged:-2
at be.fedict.eid.applet.Applet$AppletThread.run:520
at java.lang.Thread.run:-1
Algemene fout.

Original issue reported on code.google.com by tijscorn...@gmail.com on 28 May 2010 at 7:30

GoogleCodeExporter commented 9 years ago
Once the eID IdP product is finished we will drop the eID Applet Service 
implementation for ASP.NET and PHP. Please check out the eID IdP when using 
ASP.NET.

Original comment by frank.co...@gmail.com on 14 Aug 2010 at 6:26