My Oracle Support Banner

OAG 11.1.2.3.0 Policy Studio Cannot Configure Threatening Content Filter Throwing A "java.lang.NullPointerException" (Doc ID 1930536.1)

Last updated on FEBRUARY 22, 2019

Applies to:

Oracle API Gateway - Version 11.1.2.3.0 to 11.1.2.3.0 [Release 11gR1]
Information in this document applies to any platform.

Symptoms

In Oracle API Gateway (OAG) 11.1.2.3.0, Policy Studio cannot configure a Threatening Content filter:

1.) When adding a Threatening Content filter, the following error messages are logged in the Policy Studio trace file:

ERROR 15/Sep/2014:15:26:15.705 [id] There was a problem initing the Threatening Content Regular Expressions table: Fields must have cardinality of 0 or 1
ERROR 15/Sep/2014:15:26:19.857 [id] java exception:
java.lang.NullPointerException
  at org.eclipse.osgi.framework.internal.core.BundleLoader.findResource(BundleLoader.java:478)
  at org.eclipse.osgi.framework.internal.core.BundleLoader.findResource(BundleLoader.java:474)
  at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.getResource(DefaultClassLoader.java:119)
  at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1348)
  at java.lang.Class.getResourceAsStream(Class.java:2098)
  at com.vordel.client.manager.filter.contentfiltering.MimeDialog.createDialogArea(MimeDialog.java:41)
  at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:752)
  at org.eclipse.jface.window.Window.create(Window.java:426)
  at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1081)
  at org.eclipse.jface.window.Window.open(Window.java:785)
  at com.vordel.client.manager.filter.TablePage.add(TablePage.java:171)
  at com.vordel.client.manager.filter.TablePage$2.add(TablePage.java:148)
  at com.vordel.client.manager.ui.ButtonBar$4.widgetSelected(ButtonBar.java:130)
  at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
  at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
  at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
  at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
  at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
[...]

 

2.) Navigate to MIME Types tab. Notice that the list of MIME types is empty.

 

3.) Still on the MIME Types tab, click the 'Add' button.

The Policy Studio trace files reports another exception:

ERROR   15/Sep/2014:12:38:11.271 [id] java exception:
java.lang.NullPointerException
  at org.eclipse.osgi.framework.internal.core.BundleLoader.findResource(BundleLoader.java:478)
  at org.eclipse.osgi.framework.internal.core.BundleLoader.findResource(BundleLoader.java:474)
  [...]



Changes

The problem does not show up in Policy Studio from OAG 11.1.2.2.0 and earlier.

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.