My Oracle Support Banner

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

Last updated on JULY 21, 2023

Applies to:

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


In Oracle API Gateway (OAG), 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:
  at org.eclipse.osgi.framework.internal.core.BundleLoader.findResource(
  at org.eclipse.osgi.framework.internal.core.BundleLoader.findResource(
  at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.getResource(
  at java.lang.ClassLoader.getResourceAsStream(
  at java.lang.Class.getResourceAsStream(
  at com.vordel.client.manager.filter.contentfiltering.MimeDialog.createDialogArea(
  at org.eclipse.jface.dialogs.Dialog.createContents(
  at org.eclipse.jface.window.Window.create(
  at org.eclipse.jface.dialogs.Dialog.create(
  at com.vordel.client.manager.filter.TablePage.add(
  at com.vordel.client.manager.filter.TablePage$2.add(
  at com.vordel.client.manager.ui.ButtonBar$4.widgetSelected(
  at org.eclipse.swt.widgets.TypedListener.handleEvent(
  at org.eclipse.swt.widgets.EventTable.sendEvent(
  at org.eclipse.swt.widgets.Widget.sendEvent(
  at org.eclipse.swt.widgets.Display.runDeferredEvents(
  at org.eclipse.swt.widgets.Display.readAndDispatch(
  at org.eclipse.jface.window.Window.runEventLoop(


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:
  at org.eclipse.osgi.framework.internal.core.BundleLoader.findResource(
  at org.eclipse.osgi.framework.internal.core.BundleLoader.findResource(


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


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

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