You are on page 1of 6

Bug 16808088 : 11G JAVA.LANG.

NULLPOINTEREXCEPTION ADDING USER TO ROLE AFTER UPGRADE


TO 11.1.1.7
Bug Attributes
B - Defect

Fixed in Product
Version

2 - Severe
Severity Loss of
Service

Product Version

Type

11.1.1.7.0

Status

96 - Closed,
Duplicate
Platform
Bug

233 - Microsoft
Windows x64
(64-bit)

Created

14-May-2013 Platform Version

2008

Updated 26-Aug-2014 Base Bug

16828974

Database
N/A
Version

Affects Platforms

Generic

Product
Source

Knowledge, Patches
and Bugs related to
this bug

Oracle

Related Products
Line

Enterprise Management Family

Managing Middleware
Area using Enterprise
Manager

Enterprise Manager
Products

1369 - Enterprise
Product Manager for Fusion
Middleware

Hdr: 16808088 N/A SECURITY 11.1.1.7.0 PRODID-1369 PORTID-233 16828974


Abstract: 11G JAVA.LANG.NULLPOINTEREXCEPTION ADDING USER TO ROLE AFTER UPGRADE TO 11.1.1.7
*** 05/14/13 09:28 am ***
----------------------------------------------------US - 3-7203662131
What were you trying to do?
--------------------------After upgrading OBIEE to 11.1.1.7 from 11.1.1.6.5 we are not able to add
users to application roles in weblogic EM. When we search of the users with
search string in principal section the user is not displayed. When we search
for the user with search string in display name section it returns the user
without principal name. When we try to add the user it is throwing a java
error
"JAVA.LANG.NULLPOINTEREXCEPTION "

What should have happened?


-------------------------Should have been able to add a user to a new Role after upgrading.
What actually did happen?
------------------------The following error is encountered:

"JAVA.LANG.NULLPOINTEREXCEPTION "
javax.el.ELException: java.lang.NullPointerException at
com.sun.el.parser.AstValue.invoke(Unknown Source) at
com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at
org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpres
sion(UIXComponentBase.java:1459) at
oracle.adf.view.rich.component.UIXDialog.broadcast(UIXDialog.java:97) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(Contex
tSwitchingComponent.java:92) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhas
e(ContextSwitchingComponent.java:361) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(Co
ntextSwitchingComponent.java:96) at
oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:1
03) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(Contex
tSwitchingComponent.java:92) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhas
e(ContextSwitchingComponent.java:361) at
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(Co
ntextSwitchingComponent.java:96) at
oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:9
7) at
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(Lifecycl
eImpl.java:1086) at
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleI
mpl.java:434) at
What are the symptoms of the problem?
------------------------------------Error above.
What changes have been made to the technical environment recently?
-----------------------------------------------------------------Upgraded from BI 11.1.1.6.5.
Generic/Port-specific findings:
------------------------------Generic.
Did you test with the latest version?
------------------------------------Yes.
Reproducible Case
----------------None. Similar bug Bug 16770702 - ADDING USER TO THE ROLE RESULTS IN JAVA
ERROR: "JAVA.LANG.NULLPOINTEREXCEPTION "
Testcase Location and Restore Instructions
-----------------------------------------Workarounds (if any):
--------------------Related Bugs
-----------Bug 16770702 - ADDING USER TO THE ROLE RESULTS IN JAVA ERROR:
"JAVA.LANG.NULLPOINTEREXCEPTION "

24 Hour Contact Information For P1 Bugs:


---------------------------------------Impact Date
----------Additional Information (if any):
-------------------------------*** 05/14/13 09:29 am ***
*** 05/14/13 09:55 am ***
*** 05/14/13 09:57 am ***
I have attached the AdminServer Log and emoms log. The error was produced at
2013-05-13 12:08
1) In this doc -> http://docs.oracle.com/cd/E23943_01/bi.1111/e10543/toc.htm
we followed
3.4.2 Configuring Active Directory as the Authentication Provider
3.5.1 Configuring the User Name Attribute In the Identity Store
3.7 Configuring a New Trusted User (BISystemUser)
Everything was working as expected before the upgrade
2) What are you using as your security provider?
'ActiveDirectoryAuthenticator'
3) Does this occur on a freshly installed system, or only on systems which
have been upgraded from OBIEE 11.1.1.6.x?
We do not have a fresh install to try on. It occurs on the systems which have
been upgraded from OBIEE 11.1.1.6.5
4) Which browser version(s) does this reproduce with?
FireFox 12.0 and IE 9
5) Please upload the WLS admin server log, and state the time when the issue
was reproduced. (Or even better, clear out the log, reproduce the issue, and
then send the log)
I have uploaded the Adminsever log and emoms log
6) Please clarify the *exact* steps taken to reproduce the issue.
step 2: go to obi application roles and select any application role
step 3: Click add and in the next screen click the 'Add'
step 4: In the pop up window select user from the drop down
step 5: search for user in the principal name section and nothing returns
step 6: search the user in the display name section and the user returns
step 7: select the returned user and click ok and we get this java error.
Note: in version 11.1.1.6.x when we click 'Add' in the pop up window when we
select User from he drop down option we have only one text box for searching
principal name. We are in 11.1.1.7 we have two text boxes 'Principal name'
and 'Display Name'
*** 05/15/13 08:24 am ***
*** 05/15/13 08:24 am ***
(Asg QA->SKONDRED)
*** 05/16/13 02:26 am ***
*** 05/16/13 02:52 am ***
*** 05/16/13 03:00 am ***
*** 05/16/13 03:06 am ***
*** 05/16/13 03:08 am ***
*** 05/16/13 03:22 am *** (CHG: Sta->11)
*** 05/16/13 03:23 am *** (CHG: Sta->16)
*** 05/16/13 04:27 am ***
*** 05/16/13 04:45 am ***
*** 05/16/13 05:04 am ***
*** 05/16/13 05:15 am ***
*** 05/16/13 05:15 am *** (CHG: Sta->11 Asg->BIEEREP)

*** 05/16/13 05:15 am ***


*** 05/16/13 05:16 am ***
*** 05/16/13 05:17 am ***
*** 05/16/13 05:25 am *** ESCALATED
*** 05/16/13 05:27 am ***
*** 05/16/13 06:26 am ***
Based on the feedback above, I had the cust do the following test:
The test was to do the following:
1. Change virtualize = false and add the needed roles.
2. Set virtualize = true again.
3. Test and confirm all users can connect correctly.
This worked and all of the users are able to connect. So this is a good short
term fix.
Now we need the long term solution. Thx.
*** 05/16/13 09:07 am ***
*** 05/16/13 09:21 am ***
*** 05/16/13 09:21 am ***
*** 05/16/13 10:01 am ***
*** 05/16/13 10:01 am ***
*** 05/16/13 10:02 am ***
*** 05/16/13 10:03 am ***
*** 05/16/13 10:24 am ***
*** 05/16/13 10:25 am *** (CHG: Sta->30)
*** 05/16/13 11:15 am *** (CHG: Sta->11)
*** 05/16/13 11:15 am ***
*** 05/16/13 12:21 pm ***
*** 05/16/13 03:04 pm ***
*** 05/16/13 06:49 pm ***
*** 05/17/13 12:31 am ***
*** 05/17/13 02:00 am ***
*** 05/17/13 02:05 am ***
*** 05/17/13 02:06 am ***
*** 05/17/13 04:28 am ***
*** 05/17/13 08:02 am ***
*** 05/17/13 10:19 am ***
*** 05/17/13 01:29 pm ***
*** 05/17/13 01:30 pm *** (CHG: Base Bug-> NULL -> 16828974)
*** 05/17/13 01:30 pm *** (CHG: Sta->40)
*** 05/17/13 01:53 pm ***
*** 05/20/13 12:37 am *** (CHG: Sta->11)
*** 05/20/13 12:37 am ***
*** 05/20/13 01:09 am ***
*** 05/20/13 11:09 am ***
*** 05/20/13 06:22 pm *** (CHG: Sta->40)
*** 05/24/13 12:16 am ***
*** 05/24/13 07:47 am *** (CHG: Sta->11)
*** 05/24/13 07:47 am ***
Base bug 16828974 is pending (status 30).
Reset the status of bug 16808088 to status 40
after the base bug has been re-opened, or re-evaluate the appropriate status
for this bug using the information provided in the base bug.
*** 05/26/13 05:36 pm *** (CHG: Sta->40)
*** 05/28/13 12:57 am *** (CHG: Sta->11)
*** 05/28/13 12:57 am ***
*** 06/03/13 11:22 am *** (CHG: Sta->40)
*** 06/06/13 07:47 am *** (CHG: Sta->11)

*** 06/06/13 07:47 am ***


Base bug 16828974 is pending (status 30).
Reset the status of bug 16808088 to status 40
after the base bug has been re-opened, or re-evaluate the appropriate status
for this bug using the information provided in the base bug.
*** 06/06/13 08:14 am ***
OPSS engineer Jerry Ray & I had an OWC with the cust on this yesterday. Jerry
saw the behavior & error, the work-around and understands the issue. I have
provided Jerry with a 11.1.1.7 box where he will implement LDAP and further
test this issue and provide his feedback here.
*** 06/06/13 08:54 am *** (CHG: Sta->40)
*** 06/06/13 08:54 am ***
*** 06/11/13 07:47 am *** (CHG: Sta->11)
*** 06/11/13 07:47 am ***
Base bug 16828974 is pending (status 30).
Reset the status of bug 16808088 to status 40
after the base bug has been re-opened, or re-evaluate the appropriate status
for this bug using the information provided in the base bug.
*** 06/12/13 12:36 am *** ESCALATION -> CLOSED
*** 06/12/13 12:38 am ***
*** 06/14/13 07:43 am ***
*** 06/14/13 07:51 am ***
Just created a new note for this issue -> Document 1561828.1 11g Not Able To
Add Users To Application Roles In Enterprise Manager (EM) Error JAVA.LANG.NULLPOINTEREXCEPTION
*** 06/17/13 04:07 am ***
*** 06/17/13 08:11 pm ***
*** 06/18/13 10:20 am ***
*** 06/27/13 08:59 pm ***
*** 07/01/13 05:19 pm ***
*** 07/01/13 05:19 pm *** (CHG: Sta->36)
*** 07/11/13 08:14 pm ***
*** 07/19/13 11:27 am ***
From Bug is was stated:
When virtualize is set to true in Identity Store configuration in jps-config,
WebLogic Domain > bifoundation_domain > Security > Security Provider
Configuration
the following properties shouldn't be set:
username.attr
*** 07/25/13 11:05 am ***
*** 07/31/13 01:21 pm ***
*** 08/15/13 09:23 pm ***
*** 08/16/13 06:46 am ***
*** 09/16/13 01:35 pm ***
*** 11/14/13 05:14 am ***
*** 01/26/14 08:24 am ***
*** 01/27/14 05:29 am ***
*** 03/04/14 03:58 am ***
*** 03/13/14 06:51 am ***
*** 04/08/14 02:53 am ***
*** 04/24/14 02:55 am ***
*** 05/08/14 01:20 pm ***
*** 07/18/14 03:56 am ***
*** 08/24/14 03:19 pm ***
*** 08/26/14 12:38 am *** (CHG: Sta->96)

You might also like