Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000120 [Oberon Platform] Application server major always 2014-08-13 14:04 2014-08-13 14:08
Reporter administrator View Status public  
Assigned To administrator
Priority normal Resolution fixed  
Status resolved   Product Version 4.1 - DB build 0071
Summary 0000120: framework.link() returns java.lang.NullPointerException
Description I get the error:

java.lang.NullPointerException
at com.oberon.ooql.sdk.A.d.A(Unknown Source)
at com.oberon.ooql.sdk.User.open(Unknown Source)
at com.oberon.ooql.sdk.Framework.link(Unknown Source)

in web applications (doLogin.jsp page)
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000190)
administrator (administrator)
2014-08-13 14:08

When you start Tomcat or other application servers you should see the connection Pool initialization; a text similar to the following:

OBEROn Platform
Version: 4.1 - Build 0071
(c) Copyright 2008-2014 Mirko Solazzi. All rights reserved.
-----------------------------------------------------------
Mail Server: localhost
------------------- Opening DB Connection POOL ----------------------
Opening connection [1] to OBEROn DB .....
Connecting to database 'XE' - URL: jdbc:oracle:thin:@127.0.0.1:1521:XE
SQL Connected to database 'XE'
... Local DB connection [1] is ready
Opening connection [2] to OBEROn DB .....
....
Connection successful!
Total DB connections Opened: 10
**************************************************************************
*** Servlet Initialized successfully *** [DB-Build = 0071]
**************************************************************************


If this message is not present, probably you missed to declare in the web.xml file the ServletInitializer servlet:


<servlet>
 <servlet-name>ServletInitializer</servlet-name>
 <servlet-class>com.oberon.ooql.connection.ServletInitializer</servlet-class>
 <load-on-startup>1</load-on-startup>
</servlet>


Without the connection pool initialization the application server will not able to connect to the OBEROn DB

- Issue History
Date Modified Username Field Change
2014-08-13 14:04 administrator New Issue
2014-08-13 14:08 administrator Note Added: 0000190
2014-08-13 14:08 administrator Status new => resolved
2014-08-13 14:08 administrator Fixed in Version => 4.1 - DB build 0071
2014-08-13 14:08 administrator Resolution open => fixed
2014-08-13 14:08 administrator Assigned To => administrator
© 2008-2013 Mirko Solazzi | Website Templates by IceTemplates.com
Please Read: Privacy Policy and Terms of Use

Powered by Mantis Bugtracker
Copyright © 2000 - 2008 Mantis Group