Copy Image Fails with NullPointerException In Skin Editor 11.1.2 (Doc ID 1349079.1)

Last updated on JULY 26, 2017

Applies to:

Oracle JDeveloper - Version 11.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms


In the Skin Editor 11.1.2, copying an image as explained in section "6.2 Changing an Image for a Component Selector"
of the "Oracle Fusion Middleware Skin Editor User's Guide for Oracle Application Development Framework"
fails silently:

After selecting "copy image" nothing happens.


When starting up the Skin Editor from its console ("skineditor" in <SkinEditorHome>\skineditor\bin), java.lang.NullPointerException is reported. The following stack trace is shown in the console:

org.netbeans.core.startup.TopLogging$AWTHandler handle
SEVERE: null
java.lang.NullPointerException
        at oracle.ide.net.URLFactory.newURL(URLFactory.java:92)
        at oracle.adfdtinternal.view.rich.skins.inspector.SkinPropertiesMetadata$InheritanceValueLocalizeImage.actionPerformed(SkinPropertiesMetadata.java:617)
        at oracle.ide.inspector.LazyLoadMenuButton.callRealAction(LazyLoadMenuButton.java:78)
        at oracle.ide.inspector.LazyLoadMenuButton.access$000(LazyLoadMenuButton.java:22)   
        at oracle.ide.inspector.LazyLoadMenuButton$2$1.run(LazyLoadMenuButton.java:60)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
...


It happens in both Standalone and integrated Skin Editor.

Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms