My Oracle Support Banner

Java.Lang.Nullpointerexception Task Owner Not Defaulted from Territory When Task Type Selected from Lov (Not Template) (Doc ID 2674297.1)

Last updated on JULY 21, 2020

Applies to:

Oracle Customer Support - Version 12.2.8 and later
Oracle Field Service - Version 12.2.8 and later
Information in this document applies to any platform.

Symptoms

Task Owner Not Defaulting based on Territory setup while Creating task using Task Type


Steps
The issue can be reproduced at will with the following steps:

(R) Customer support specialist
(N) Create service request--> Resolution and wrap up tab-->create task using Task Type, select value from the task type LOVclick on Go.

Setting these profiles overrides Territory setup and defaults based on values in these profiles.
  . Service: Default Service Request Task Owner
  . Service: Default Service Request Task Owner Type

But making them null causes an error (null pointer exception) as described in this
Bug 18797396 - CS HTML: JAVA.LANG.NULLPOINTER EXCEPTION WHEN CREATING TASK FOR SR
Customer Support Specialist: java.lang.NullPointerException Error While Creating Task for Service Request (Doc ID 1679610.1)

Issue
Need to default the Task Owner based on Territories when creating tasks with Task of Type. Setting these profiles uses their values instead.

Note: Task Owner is taken from Territories when Task is created using Template.

If profile Service: Default Service Request Task Owner is not set with any valid value, we get the error while creating task.

Error

## Detail 0 ##
java.lang.NullPointerException
at
oracle.apps.csf.skillsassign.server.SkillsAssignAMImpl.getReadOnlyFlag(SkillsAssignAMImpl.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.