Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle Dynamic tabs error

DavidGressJul 24 2015 — edited Aug 7 2015

I'm using JDev 12c on Windows 7 Pro and getting this error when I try to open task flow using UI Shell template:

javax.el.ELException: /file:C:/Users/dgress4/AppData/Roaming/JDeveloper/system12.1.3.0.41.140521.1008/DefaultDomain/servers/DefaultServer/tmp/_WL_user/ILS/zi1rs5/war/WEB-INF/lib/oracle-page-templates-ext.jar!/oracle/ui/pattern/dynamicShell/dynamicTabShell.jspx @273,126 value="#{viewScope.tabContext.tabs[0].binding.regionModel}": java.lang.NullPointerException

    at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:114)

    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1912)

... more

(I can add the whole stack trace if requested.)

In the navigation part I just added a panelStretchLayout and a panelGroupLayout with a series of buttons. I created the Launcher class and the method as demo video explains:

  private void _launchActivity(String title, String taskflowId, boolean newTab)
  {
   

try    {

      if (newTab)
      {
        TabContext.getCurrentInstance().addTab(
          title,
          taskflowId);
      }
      else
      {
        TabContext.getCurrentInstance().addOrSelectTab(
          title,
          taskflowId);
      }
    }
    catch (TabContext.TabOverflowException toe)
    {
      // causes a dialog to be displayed to the user saying that there are
      // too many tabs open - the new tab will not be opened...
      toe.handleDefault();
    }
  }

   

   

public void launchXxxxList(ActionEvent actionEvent)
  {
      /**
      * Example method to call a single instance task flow. Note the boolean
      * to create another tab instance is set to false. The taskflow ID is used
      * to track whether to create a new tab or select an existing one.
      */
    _launchActivity(
      "PDCN List Page",
      "/WEB-INF/xxxx-flow.xml#xxxx-flow",
     

true);

}

The page gives and ADF-60097 error.

I did a google search and others have experienced this error but I saw no solutions. Is there at least a work around?

TIA,

David

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 4 2015
Added on Jul 24 2015
8 comments
1,403 views