Strange behavior for the class initialization

Hey all,.
Take a look at the following examples:

example 1

public class A {}
protected public static String A_FIELD = "a";

{} public static getField()
Return A_FIELD;
}
}

Then we have:

public class B extends a {}
{public static
A_FIELD = 'b ';.
}
}


Why B.getField () returns "a"? Is the compiler tries to optimize the code and replaces B.getField () A.getField ()? Class B was not supposed to be loaded by the JAVA virtual machine and ran the static block?


2nd example:

public class A {}
public static final String A_FIELD = Factory.createInstance () .getField ();

protected String getField() {}
return "a";
}
}


public class B extends a {}

protected String getField() {}
return to 'b ';.
}
}

public class {Factory

public a {createInstance()
(A) return B.class.newInstance ();
}

}

Sometimes, not always, using weblogic server A.A_FIELD is 'a' instead of 'b '. What is the logic?



I hope that you can help them understand what is happening inside the JAVA virtual machine :)
Thank you

FLOB wrote:
Choose the second example :).

No don't.

Winston

Tags: Java

Similar Questions

  • I get a strange behavior of the bar tabs and the address bar in Firefox 29,0 for Mac.

    I just installed Firefox 29,0 for Mac.
    I have a strange behavior of the bar tabs and the address bar with this new version.
    Instead of the address bar, I get two rows of symbols. And it is impossible to write anything in the address bar.
    (I add a screenshot, but I can't find a way to do it).

    Firefox has an RSS icon in the palette of the toolbar that you can drag a toolbar (but not on the location bar container).

    • Firefox menu button > Options/Preferences > toolbars
    • View > toolbars > customize
  • Jdev 12.2.1: oracle.jbo.ExprSecurityException: Houston-25152: calling the constructor for the class oracle.jbo.server.SequenceImpl is not allowed.

    Hi experts,

    I've migrated a 12.1.3 to 12.2.1 project and I get this exception:

    oracle.jbo.JboException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-29000. Error message parameters are {0=org.codehaus.groovy.control.MultipleCompilationErrorsException, 1=startup failed:
    General error during semantic analysis: JBO-25152: Calling the constructor for class oracle.jbo.server.SequenceImpl is not permitted.
    
    
    oracle.jbo.ExprSecurityException: JBO-25152: Calling the constructor for class oracle.jbo.server.SequenceImpl is not permitted.
      at oracle.jbo.script.InternalSecurityPolicyEnforcer.checkConstructor(InternalSecurityPolicyEnforcer.java:308)
      at oracle.jbo.script.ExprASTScanningVisitor.visitConstructorCallExpression(ExprASTScanningVisitor.java:137)
      at org.codehaus.groovy.ast.expr.ConstructorCallExpression.visit(ConstructorCallExpression.java:44)
      at org.codehaus.groovy.ast.CodeVisitorSupport.visitListOfExpressions(CodeVisitorSupport.java:273)
      at org.codehaus.groovy.ast.CodeVisitorSupport.visitTupleExpression(CodeVisitorSupport.java:178)
      at org.codehaus.groovy.ast.expr.TupleExpression.visit(TupleExpression.java:76)
      at org.codehaus.groovy.ast.CodeVisitorSupport.visitMethodCallExpression(CodeVisitorSupport.java:131)
      at oracle.jbo.script.ExprASTScanningVisitor.visitMethodCallExpression(ExprASTScanningVisitor.java:152)
      at org.codehaus.groovy.ast.expr.MethodCallExpression.visit(MethodCallExpression.java:64)
      at org.codehaus.groovy.ast.CodeVisitorSupport.visitListOfExpressions(CodeVisitorSupport.java:273)
      at org.codehaus.groovy.ast.CodeVisitorSupport.visitTupleExpression(CodeVisitorSupport.java:178)
      at org.codehaus.groovy.ast.expr.TupleExpression.visit(TupleExpression.java:76)
      at org.codehaus.groovy.ast.CodeVisitorSupport.visitMethodCallExpression(CodeVisitorSupport.java:131)
      at oracle.jbo.script.ExprASTScanningVisitor.visitMethodCallExpression(ExprASTScanningVisitor.java:172)
      at org.codehaus.groovy.ast.expr.MethodCallExpression.visit(MethodCallExpression.java:64)
      at org.codehaus.groovy.ast.CodeVisitorSupport.visitExpressionStatement(CodeVisitorSupport.java:69)
      at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitExpressionStatement(ClassCodeVisitorSupport.java:193)
      at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40)
      at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:35)
      at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:163)
      at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:69)
      at oracle.jbo.script.ExprASTScan.visit(ExprASTScan.java:77)
      at sun.reflect.GeneratedMethodAccessor445.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSite.invoke(PojoMetaMethodSite.java:189)
      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:55)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
      at org.codehaus.groovy.control.customizers.ASTTransformationCustomizer.call(ASTTransformationCustomizer.groovy:292)
      at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1047)
      at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:583)
      at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:561)
      at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:538)
      at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:286)
      at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:259)
      at groovy.lang.GroovyShell.parseClass(GroovyShell.java:674)
      at groovy.lang.GroovyShell.parse(GroovyShell.java:686)
      at oracle.jbo.ExprEval$6.run(ExprEval.java:1699)
      at oracle.jbo.ExprEval$6.run(ExprEval.java:1696)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.jbo.ExprEval.parse(ExprEval.java:1695)
      at oracle.jbo.ExprEval.parseScript(ExprEval.java:1631)
      at oracle.jbo.ExprEval.findScript(ExprEval.java:1235)
      at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:2120)
      at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:1791)
      at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:1778)
      at oracle.jbo.server.ViewObjectImpl.createViewAccessorRS(ViewObjectImpl.java:18026)
      at oracle.jbo.server.ViewRowImpl.createViewAccessorRS(ViewRowImpl.java:2872)
      at oracle.adf.model.bean.DCDataRow.createViewAccessorRS(DCDataRow.java:452)
      at oracle.jbo.server.ViewRowImpl.createViewAccessorRS(ViewRowImpl.java:2880)
      at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:2091)
      at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:2126)
      at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:920)
      at oracle.jbo.server.ProgrammaticViewRowImpl.getAttributeInternalDelegation(ProgrammaticViewRowImpl.java:406)
      at oracle.adf.model.bean.DCDataRow.getAttributeInternal(DCDataRow.java:279)
      at oracle.adf.model.bean.DCCriteriaValueRowImpl.getAttributeInternal(DCCriteriaValueRowImpl.java:247)
      at oracle.jbo.server.ViewRowImpl.getAttrInvokeAccessor(ViewRowImpl.java:1008)
      at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:956)
      at oracle.jbo.server.ViewRowImpl.findOrCreateViewAccessorRS(ViewRowImpl.java:2813)
      at oracle.jbo.server.ViewRowImpl.getListBindingRSI(ViewRowImpl.java:2732)
      at oracle.adf.model.bean.DCCriteriaValueRowImpl.lookupListBinding(DCCriteriaValueRowImpl.java:79)
      at oracle.jbo.server.ApplicationModuleImpl.internalGetListBindingRSI(ApplicationModuleImpl.java:10032)
      at oracle.jbo.server.ApplicationModuleImpl.getListBindingRSI(ApplicationModuleImpl.java:10008)
      at oracle.adf.model.bc4j.DCJboDataControl.internalGetListRSI(DCJboDataControl.java:2526)
      at oracle.adf.model.bc4j.DCJboDataControl.getListBindingRSI(DCJboDataControl.java:2495)
      at oracle.jbo.uicli.binding.JUCtrlListBinding.initFromServerBinding(JUCtrlListBinding.java:639)
      at oracle.jbo.uicli.binding.JUSearchBindingCustomizer.findOrCreateLovBinding(JUSearchBindingCustomizer.java:1846)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfAttributeDescriptor._getInternalModel(FacesCtrlSearchBinding.java:4106)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfAttributeDescriptor.getModel(FacesCtrlSearchBinding.java:3949)
      at oracle.adfinternal.view.faces.renderkit.rich.table.TableFilterUtils.createfilterFieldFromAttributeCriterion(TableFilterUtils.java:73)
      at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer._renderModelDrivenFilterField(BaseColumnRenderer.java:2133)
      at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer._renderFilterField(BaseColumnRenderer.java:2094)
      at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.renderColumnFilterCell(BaseColumnRenderer.java:1385)
      at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:169)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1650)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1230)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)
      at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.access$3300(BaseTableRenderer.java:80)
      at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer$FlattenedColumnEncoder.processComponent(BaseTableRenderer.java:3273)
      at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer$FlattenedColumnEncoder.processComponent(BaseTableRenderer.java:3240)
      at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:198)
      at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:330)
      at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:295)
      at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.encodeFlattenedColumn(BaseTableRenderer.java:3019)
      at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.encodeFlattenedColumn(BaseTableRenderer.java:3003)
      at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderFilterRow(TableRenderer.java:2756)
      at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderColumnHeaderTable(TableRenderer.java:2283)
      at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderColumnHeader(TableRenderer.java:2062)
      at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:819)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1650)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1230)
      at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:686)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:878)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1299)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:350)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:315)
      at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:1906)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelCollectionRenderer.access$1200(PanelCollectionRenderer.java:100)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelCollectionRenderer$PanelCollectionHelper._renderStretchedContent(PanelCollectionRenderer.java:818)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelCollectionRenderer$PanelCollectionHelper._encodeAll(PanelCollectionRenderer.java:953)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelCollectionRenderer$PanelCollectionHelper.access$600(PanelCollectionRenderer.java:635)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelCollectionRenderer.encodeAll(PanelCollectionRenderer.java:496)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1650)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1230)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)
      at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2417)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.access$500(PanelHeaderRenderer.java:47)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer$ChildEncoderCallback.processComponent(PanelHeaderRenderer.java:1702)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer$ChildEncoderCallback.processComponent(PanelHeaderRenderer.java:1685)
      at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:198)
      at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:330)
      at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:295)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderChildrenAfterHelpAndInfo(PanelHeaderRenderer.java:733)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer._renderContentCell(PanelHeaderRenderer.java:1350)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderContentRow(PanelHeaderRenderer.java:656)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:325)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1650)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1230)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)
      at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2417)
      at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer.access$500(ShowDetailItemRenderer.java:40)
      at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer$ChildEncoderCallback.processComponent(ShowDetailItemRenderer.java:663)
      at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer$ChildEncoderCallback.processComponent(ShowDetailItemRenderer.java:646)
      at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:198)
      at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:330)
      at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:295)
      at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer._encodeChildren(ShowDetailItemRenderer.java:583)
      at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailItemRenderer.encodeAll(ShowDetailItemRenderer.java:127)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1650)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1230)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)
      at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2417)
      at oracle.adfinternal.view.faces.renderkit.rich.ShowOneContainerRenderer.access$600(ShowOneContainerRenderer.java:42)
      at oracle.adfinternal.view.faces.renderkit.rich.ShowOneContainerRenderer$BodyEncoderCallback.processComponent(ShowOneContainerRenderer.java:471)
      at oracle.adfinternal.view.faces.renderkit.rich.ShowOneContainerRenderer$BodyEncoderCallback.processComponent(ShowOneContainerRenderer.java:404)
      at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:198)
      at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:330)
      at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:295)
      at oracle.adfinternal.view.faces.renderkit.rich.ShowOneContainerRenderer.encodeShowDetailItems(ShowOneContainerRenderer.java:361)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelTabBaseRenderer._renderTabBody(PanelTabBaseRenderer.java:949)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelTabBaseRenderer.encodeAll(PanelTabBaseRenderer.java:258)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1650)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1230)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:878)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1299)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:350)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:315)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1650)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1230)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
      at oracle.adfinternal.view.faces.taglib.region.IncludeTag$FacetWrapper.encodeAll(IncludeTag.java:568)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:878)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1299)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:350)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:315)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1650)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1230)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:677)
      at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3284)
      at oracle.adfinternal.view.faces.renderkit.rich.PageTemplateRenderer.encodeAll(PageTemplateRenderer.java:68)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1650)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1230)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:677)
      at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3284)
      at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:275)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1650)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1230)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:660)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:677)
      at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3284)
      at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1428)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1650)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:538)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1230)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
      at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:102)
      at com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:431)
      at com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:232)
      at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)
      at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)
      at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:338)
      at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:134)
      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
      at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:170)
      at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView(ResponseRenderManager.java:52)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1228)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeRenderResponse(LifecycleImpl.java:1040)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:332)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:254)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:651)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:194)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:529)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:529)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:354)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:232)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:166)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:141)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:649)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:124)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:232)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:94)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:224)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:32)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3654)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
      at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
      at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
      at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
      at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
      at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)
      at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
      at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
      at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
      at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
      at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
    
    
    1 error
    }
    

    In 2014, I created this thread with a similar problem: Jdev 12.1.3: Houston-25152: calling the constructor for the class oracle.jbo.server.SequenceImpl is not allowed (WITH HR TEST... )

    It would be the same question, I would need a way to determine which EO is the cause, so I could change trustMode = "of trust".


    The strange here is that the application works very well before the migration.

    Kind regards

    Jose.

    I found the problem. I'm oracle.jbo.server.SequenceImpl in the original Version mistakenly.

    Thank you for all your help.

  • Strange behavior of the browser blocks SQLDEV DM

    Hello

    I feel some strange behaviors in the browser of Datamodeler.

    After the opening of my model

    I have doubleclick in the window of the browser to fetch a few properties of the index:

    Drawings and models > MyModel > relational models > my RelModel > models > Oracle Database 10g > Tables

    So far, everything that happens.

    -I can select the tables and

    -doubleclicking shows the properties of the table.

    -I can scroll vertically

    -Select other tables

    -open and close the subtree of this physical tables

    Now, as soon as I click on any 'more' in the physical tables (for example, the index node or node of the plate) the browser "tri-de gel".

    The tree is distorted, scrolling seems erratic and it is impossible to select. Most of the time the main menu is also distorted.

    If I make the browser window, most of the time I'm able to hit the "file > save" from the menu. The model seems to be registered properly.

    No damage seems to have been done to the template on the reopening

    I'm on Windows 8 pro with the 64-bit version of datamodeler version 4.1.2.895 (from datamodeler - x 64 - 4.1.2 - 895.zip)

    Any ideas anyone?

    any response greatly appreciated.

    concerning

    Wouter

    Hi Wouter,

    I'm sorry, this is a bug and we are preparing a new version with this bug fixed.

    If I make the browser window, most of the time I'm able to hit the "file > save.

    Close the Data Modeler (X - close button in the upper right corner) and it will ask to save the drawing it is changed.

    Philippe

  • Strange behavior of the rectangle tool

    I drew a rectangle with the rectangle tool and got a form than of a conical label around the rectangle. Never seen that before and I could not duplicate once I opened the application again. This seems a strange behavior of the app, or is there something that I don't know this tool? Please tell me this is something lacking in my knowledge base. It drives me crazy

    Monika, yes it was. He worked with the forward Warp effect. Thank you for your response. Mental health is back thank you for your kindness

  • Re: CSS external style; I finished a Web site for the class (html 5 and I forgot to select the external CSS stylesheet; do I have to redo the project in Dreamweaver CS6)

    Hello

    Re: External CSS to model; I finished a Web site for the class (html 5 and I forgot to select the external CSS stylesheet; do I have to redo the project in Dreamweaver CS6)

    In 2015, CC, you can do the following...

    1. turn highlight everything between your

  • Strange behavior with the PSD in Photoshop

    I am currently working with a two-page ID CS5.5 document. This is a CMYK document with CMYK images and grayscale.

    Strange behavior is the following: I have a gray levels (tiff) image that is repeated on the page 1 and page 2. This image looks completely different from page 1 to page 2. I have triple checked everything (opactiy, effects, etc.) and then I started to remove items from page 2 one by one.

    As I deleted a psd file all of a sudden all the images in grayscale on page 2 changed his appearance to match page 1. The PSD in question is also in CMYK with a transparent background. What the frack happens?

    I'm more concerned to know if it makes a difference when it goes to print, or if it's just weird screen in InDesign.

    Anyone who has heard of this or know why this happens - would like to hear from you.

    Thank you!

    I think it's simply because of full transparency on the page. Should not affect the production of gray images... but check in Acrobat.

    Mike

  • Question: How do I assign a TOKEN for the class, field, method in the export file?

    Hi all

    Please take a look at this photo: http://www.flickr.com/photos/25615172@N08/5788551711

    I have a question for you:

    1 / in the export file, what allocation rule of tokens for the classes, fields, methods?

    2 / how, the articulation between * #token_c2.token_f2* and public-> field3 protected class3 ?

    3 / how the articulation between * #token_c2.token_m2* and public-> protected method3 class3 ?

    Thank you
    HoaND

    I am interested in this topic as well and looking for the answer elsewhere. Let me know if you have the answer

  • Metrics "database time spent waiting (%) "is 23,02268 for the class of events 'C '.

    Hello
    in 10g,.
    I have this alert in DB control homepage:

    Metrics "database time spent waiting (%) "is 23,02268 for the class of events"Commit ".


    I do any action/correction?

    Thank you.

    If your user name is happy, then you need not to do anything. If you want to analyze the details, thanks for posting your database AWR report.

    Concerning
    Asif Kabir

  • "Database of the time spent waiting (%) "is 100 for the class of events 'competition '.

    Hello

    When start Enterprise Manager in Oracle 10 g, I have the following warning:

    'Database time spent waiting (%) "represent 100 for the class of events 'competition '.

    I'm new to the topic of listening, what I do with the warning?

    Greetings,

    >
    When start Enterprise Manager in Oracle 10 g, I have the following warning:

    'Database time spent waiting (%) "represent 100 for the class of events 'competition '.

    I'm new to the topic of listening, what I do with the warning?
    >

    Are there conclusions ADDM OEM homepage? If so, click it and let ADDM say the cause of competition and let make you a recommendation. If this is not the case, go to the ADDM (Central Advisor-> ADDM) page and click 'Run ADDM to analyze current performance of proceedings'. It then (probably) will give you findings and recommendations.

    Kind regards
    Uwe

    http://uhesse.WordPress.com

  • Strange behavior on the web page of preloading in WebView

    I have the following problem: in my Swing application, I want to display a web page. To do this, I use a JFXPanel that contains a WebView. The web page must be loaded in the background, and only if the loading process is totally finished I want to make the JFXPanel visible. I use thegetLoadWorker().workDoneProperty() method of the corresponding WebEngine to determine if the page is totally loaded.

    The problem is, now that the JFXPanel gets visible, I see initially a totally empty Board, and after a short period, the web page in Web view is visible. I made a simple Application demo that reproduces this behavior. If the page is loaded, a button is enabled and clicking on this button adds the WebView Panel below. In addition the link following points to an animated gif that shows the behavior: http://tinypic.com/view.php?pic=oh66bl & s = 5 #. Ujv2IhddWKl

    Here is the code of the demo application:

    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javafx.application.Platform;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.embed.swing.JFXPanel;
    import javafx.scene.Scene;
    import javafx.scene.web.WebEngine;
    import javafx.scene.web.WebView;
    import javax.swing.JFrame;
    import javax.swing.SwingUtilities;
    public class WebViewTest extends javax.swing.JPanel {
    
       private static JFXPanel browserFxPanel;
       private WebView webView;
       private WebEngine eng;
    
       /**
      * Creates new form WebViewTest
      */
       public WebViewTest() {
      initComponents();
       Platform.setImplicitExit(false);
      browserFxPanel = new JFXPanel();
       Platform.runLater(new Runnable() {
       public void run() {
      webView = createBrowser();
       Scene scene = new Scene(webView);
      scene.setFill(null);
      browserFxPanel.setScene(
      scene);
       }
       });
       }
    
       /**
      * This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The
      * content of this method is always regenerated by the Form Editor.
      */
       @SuppressWarnings("unchecked")
       // <editor-fold defaultstate="collapsed" desc="Generated Code">  
       private void initComponents() {
      java.awt.GridBagConstraints gridBagConstraints;
    
      pnlMain = new javax.swing.JPanel();
      showWebpageButton = new javax.swing.JButton();
    
      setLayout(new java.awt.GridBagLayout());
    
      pnlMain.setLayout(new java.awt.BorderLayout());
      gridBagConstraints = new java.awt.GridBagConstraints();
      gridBagConstraints.gridx = 0;
      gridBagConstraints.gridy = 1;
      gridBagConstraints.gridwidth = 3;
      gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
      gridBagConstraints.weightx = 1.0;
      gridBagConstraints.weighty = 1.0;
      add(pnlMain, gridBagConstraints);
    
      showWebpageButton.setText("show web page");
      showWebpageButton.setEnabled(false);
      showWebpageButton.addActionListener(new java.awt.event.ActionListener() {
       public void actionPerformed(java.awt.event.ActionEvent evt) {
      showWebpageButtonActionPerformed(evt);
       }
       });
      gridBagConstraints = new java.awt.GridBagConstraints();
      gridBagConstraints.gridx = 1;
      gridBagConstraints.gridy = 0;
      gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
      add(showWebpageButton, gridBagConstraints);
       }// </editor-fold>  
    
       private void showWebpageButtonActionPerformed(java.awt.event.ActionEvent evt) {   
      pnlMain.removeAll();
      pnlMain.add(browserFxPanel, BorderLayout.CENTER);
       WebViewTest.this.invalidate();
       WebViewTest.this.revalidate();
       }   
       // Variables declaration - do not modify  
       private javax.swing.JPanel pnlMain;
       private javax.swing.JButton showWebpageButton;
       // End of variables declaration  
    
       private WebView createBrowser() {
       Double widthDouble = pnlMain.getSize().getWidth();
       Double heightDouble = pnlMain.getSize().getHeight();
       final WebView view = new WebView();
      view.setMinSize(widthDouble, heightDouble);
      view.setPrefSize(widthDouble, heightDouble);
      eng = view.getEngine();
      eng.load("http://todomvc.com/architecture-examples/angularjs/#/");
      eng.getLoadWorker().workDoneProperty().addListener(new ChangeListener<Number>() {
       public void changed(ObservableValue<? extends Number> ov, Number t, Number t1) {
       final double workDone = eng.getLoadWorker().getWorkDone();
       final double totalWork = eng.getLoadWorker().getTotalWork();
       if (workDone == totalWork) {
      showWebpageButton.setEnabled(true);
       }
       }
       });
       return view;
       }
    
       public static void main(String[] args) {
       SwingUtilities.invokeLater(new Runnable() {
       public void run() {
       final JFrame f = new JFrame("Navigator Dummy");
      f.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
      f.setSize(new Dimension(1024, 800));
       final WebViewTest navDummy = new WebViewTest();
      f.getContentPane().add(navDummy);
      f.setVisible(true);
       }
       });
       }
    }
    
    
    

    I don "t understand this behavior, in fact the page has already been loaded. To me, it seems that the WebView starts to render the site just to the point where it becomes visible. What can I do to get the WebView already shows the web page is loaded right now that it becomes Visible (to avoid this effect of flickr)?

    I already posted this question on StackOverflow (see http://stackoverflow.com/questions/18873315/javafx-webview-loading-page-in-background ) but didn't get an answer and found this forum today.

    Thanks in advance!

    Try the updated version in this post.

    It requires a snapshot offscreen before displaying the Web mode to make sure all is rendered before the Web is displayed.

    The code is kind of ugly and the 'solution' is a bit of a hack, you would probably want to clean it up a bit before using it anywhere (for example, there is no need to create a new WebView and snapshot, web page on each load - I did it just to get a feel for the worst-case scenario and try to pinpoint where are produce slowdowns).

    A small rectangle moves back on the top of the screen so that the fluidity of the animation can be monitored.

    On the first charge, there will be a slight stutter in the animation, but the rendered web page instantly appears when click the show page"" button.

    As you say, the stuttering occurs only the first time the page is loaded, then everything is smooth.  If you use a progress bar regular instead of an animation, the initial stuttering is probably fine, because people expect to see breaks in the progress bars from time to time (more progress reported by progress bars is not a smooth linear progression).  My guess is that if you use a regular progress bar, the behavior seen with this example is probably acceptable for almost all users.

    As for the differences between the rendering between 2.2 JavaFX and JavaFX 8, there was a lot of changes to the internal architecture of JavaFX for JavaFX 8 that have improved rendering performance, as well as probably represents the delta.

    import javafx.animation.*;
    import javafx.application.Application;
    import javafx.concurrent.Worker;
    import javafx.geometry.*;
    import javafx.scene.Scene;
    import javafx.scene.control.*;
    import javafx.scene.layout.*;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Rectangle;
    import javafx.scene.web.WebView;
    import javafx.stage.Stage;
    import javafx.util.Duration;
    
    public class WebViewJavaFXTest extends Application {
        public static final String PAGE_URL = "http://todomvc.com/architecture-examples/angularjs/#/";
        private Rectangle distractor;
    
        @Override
        public void start(Stage stage) throws Exception {
            distractor = new Rectangle(20, 20, Color.CORAL);
            TranslateTransition r = new TranslateTransition(Duration.seconds(10), distractor);
            r.setFromX(0);
            r.setToX(800);
            r.setInterpolator(Interpolator.LINEAR);
            r.setCycleCount(RotateTransition.INDEFINITE);
            r.setAutoReverse(true);
            r.play();
    
            VBox layout = initView();
            stage.setScene(new Scene(layout));
            stage.show();
        }
    
        private VBox initView() {
            final ProgressBar progress = new ProgressBar();
            final Button showWebView = new Button("Show Page");
            showWebView.setDisable(true);
            HBox controls = new HBox(
                    10,
                    progress,
                    showWebView
            );
            controls.setAlignment(Pos.CENTER_LEFT);
            Button tryAgain = new Button("Try Again");
            tryAgain.setOnAction(actionEvent ->
                    tryAgain.getScene().setRoot(
                            initView()
                    )
            );
    
            StackPane webViewHolder = new StackPane();
            webViewHolder.setPrefSize(1024, 700);
    
            final WebView webView = new WebView();
            progress.progressProperty().bind(
                    webView.getEngine().getLoadWorker().progressProperty()
            );
            webView.setPrefSize(1024, 700);
            webView.getEngine().load(PAGE_URL);
            webView.getEngine().getLoadWorker().stateProperty().addListener(
                    (o, old, state) -> {
                        if (state == Worker.State.SUCCEEDED) {
                            webView.snapshot(
                                    snapshotResult -> {
                                        showWebView.setDisable(false);
                                        return null;
                                    },
                                    null,
                                    null
                            );
                        } else {
                            showWebView.setDisable(true);
                        }
                    }
            );
    
            showWebView.setOnAction(actionEvent -> {
                controls.getChildren().setAll(
                        tryAgain
                );
                webViewHolder.getChildren().setAll(webView);
            });
            VBox layout = new VBox(
                    10,
                    distractor,
                    controls,
                    webViewHolder
            );
            layout.setPadding(new Insets(10));
    
            return layout;
        }
    
        public static void main(String[] args) {
            launch();
        }
    
    }
    
  • Strange behavior with the function «Help in command line»

    So I do a little playing with the opening of the files compiled help (.chm) with the command-line help feature, and I saw a strange behavior when trying to index multi-level access keywords. According to the documentation, if you set the 'Key' operation, you can enter a value for ' string to search for "to access this section. The more precise help that:

    If this string contains a keyword index, the string must match the key of the index as it appears in the help index file. To access a topic with a multilevel index keyword, enter the keyword of the top-level index, a colon and the keyword of the second level index. Do not separate the elements with spaces. For example, a chain of error codes: GPIB jumps about a subject with a keyword of top-level index of error codes and a second level keyword index of GPIB.

    All right, seems simple enough. Except that when I tried, I couldn't work, even with the example provided. I tried the following simple test:

    Opens the help file, but it opens to this page, not to the page ' error codes: GPIB "non-descript. I saw this in 8.2 and 8.6. Anyone have any success with access to a multi-level keyword?

    Note - side

    Curiously, the Index for the help lvconcepts.chm file looks like this:

    In other words, the input index text is just "GPIB", but the text that appears in the keyword field is "codes error, GPIB. I'm curious to know how this was accomplished. I decompiled the lvconcepts.chm file and watched the .hhk file, and it is not immediately obvious to me. (By the way, if you try to use "error codes, GPIB" it does not either).

    Hello

    Please contact National Instruments!
    It is a very strange behavior.  I tested out and seen the exact
    same results you are experiencing.  This was reported to R & D (AUTO ID # 130246) for further investigations.
    From what I can tell the a possible workaround solution that we have documented
    in the post of root Canal.  I can't continue to look into this in order
    to see if there is no other workaround solution or a reason why it is
    run in this way.  Thanks much for the feedback!  If
    you have any other questions on this subject please post them here.
    Have a great day!

  • Strange behavior of the ADF in IE

    Dear Guru,

    We have an application developed using Jdeveloper - 11.1.2.3 and deployed to production WLS - 10.3.5, when running applications through internet Explorer became 'with the exception of compatibility"then we added under settings in the application (as suggested in many blogs) Web.XML and deployed the same,

    < context-param >

    oracle.adf.view.rich.HIDE_UNSUPPORTED_BROWSER_ALERTS < param-name > < / param-name >

    IECompatibilityModes < param-value > < / param-value >

    < / context-param >

    Now not to launch except for compatibility but demand was showing strange behavior as

    (1) after that expiry of the IE user page should clear the cache to re-login to the application, that is not the case in chrome and mozilla.

    (2) little components or records show not yet what is normal in chrome and mozilla.

    Please help me out.

    Best regards,

    Hello

    Please specify the version of Internet Explorer. Remove the entry mask not supported.

    To set this feature, use the following:

    1. for 11.1.1.6.0, 11.1.2.0.0, 1. 11.1.2.2.0 and 11.1.2.3.0, download and apply the hotfix 14400317 in your JDeveloper/ADF environment.

    2. for all the above mentioned versions, add the context-param for version detection of agents activated using the version of Trident on the version of the browser in the Web.XML in your ViewController project:


    org.apache.myfaces.trinidad.Agent #OVERRIDE_IE_COMPATIBILITY_MODE
    true

    I also tried this and his work in my environment of webcenter for IE 8 and 9.

    Reference:something about the Fusion Middleware: work around IE (IE8/9) Compatibility Mode in ADF/WebCenter App

    Thank you
    Amey

  • [MAF - AMPA] Strange behavior of the MAF with REST service

    Hi MAF Experts.

    I just noticed that there is a strange behavior in my application of the MAF. The first loading of the page, amx:page does not make its contents (of REST). However if I kill the app and relaunch the app, content appears.

    Pattern:

    1. Start of the CRG App
    2. Opening of session
    3. Dashboard (the content is rendered)
    4. Go to any other aspect (lets say a list of products)
    5. Open product list (content do not get returned)
    6. Kill the MAF application
    7. Start of the CRG App
    8. Dashboard (the content is rendered)
    9. Go to the product list
    10. List of products (content gets rendered)

    I put a few breakpoints on EntityCRUDService and RestPersistenceManager.

    So far it return the list of entities and display the correct data (from watches in debug mode)

    Last thing I noticed is the red color below. She defined the EntityList with the new value of REST (This displays a correct value).

    TaskExecutor.getInstance (.execute (isDoRemoteReadInBackground ())

    , () -> {

    Auto Sync all actions pending first, pass false for inBackground because

    We want to process actions pending before the reading distance

    getDataSynchManager (.synchronize (false));

    The list of entities < E > = executeRemoteFindAll();

    If (entities! = null)

    {

    When an error occurs (for example server is not available, the method returns the value zero)

    setEntityList (entities);

    }

    });

    Any suggestion?

    All the rest service are configured with AutoQuery = true in the persistence - mapping.xml

    See you soon,.

    Hendry

    Hendry,

    Thanks your testcase, I was able to understand the problem.

    It turns out that MAF 2.1 has problems dealing with the advanced way in which AMPA running background tasks with the help of a thread in all of features.

    We have slightly modified the implementation in AMPA to use one thread per function and now the update issue is resolved. I sent you a link to new construction.

    We will publish the new generation soon on GitHub so that others can benefit in the same solution.

    Steven Davelaar,

    Oracle Mobile A-team.

  • Strange behavior of the Animation

    Hello guys.

    I'm fading in the textArea 3 and 3 labels State 'default' to 'addRecommend' and fade out the text box and labels seeOther State to addREcommend. The defautl-> addRecommend works very well. However, addRecommend-> seeOther

    show "a text box" (which is not included in State seeOther) and kill my "add to database button" (which is in a State of seeOther).

    If I delete detailText and details of my transition melted, everything will work, but I need to have my detailText and fade out too much in detail. If I do not explain my question, please copy my code and paste it into your flex. I spent 5 hours to debug it but no luck. I have really really grateful if someone could help me.

    < fx:Script >

    <! [CDATA]

    protected function add_clickHandler(event:MouseEvent):void

    {

    currentState = "addRecommend";

    / / addRecommendMove.play ();

    }

    protected function seeOther_clickHandler(event:MouseEvent):void

    {

    currentState = "seeOther."

    }

    ]]>

    < / fx:Script >

    < s: states >

    < name s: State = "default" / >

    < s: State name = "addRecommend" / >

    < s: State name = "seeOther" / >

    < / s: states >

    < s:transitions >

    < s:Transition toState = "addRecommend" >

    < s:Sequence >

    < s:Parallel >

    < s:Move target = "{add}" / >

    < s:Resize target = "{add}" / >

    < s:Move target = "{seeOthers}" / >

    < / s:Parallel >

    < s:Parallel >

    < s:AddAction target = "{[yourname, username, recommendCityLabel, recommendCity, detailText, detail]}" / >

    <!-if delete detailText and detail, the transition fade will be fine... but I need them to fade our and bland in...-->

    < s: bland target = "{[yourname, username, recommendCityLabel, recommendCity, detailText, detail]}" / >

    <!-if delete detailText and detail, the transition fade will be fine... but I need them to fade our and bland in...-->

    < / s:Parallel >

    < / s:Sequence >

    < / s:Transition >

    < s:Transition toState = "seeOther" >

    < s:Sequence >

    < s:Parallel >

    < s: bland target = "{[yourname, username, recommendCityLabel, recommendCity, detailText, detail]}" / >

    <!-if delete detailText and detail, the transition fade will be fine... but I need them to fade our and bland in...-->

    < / s:Parallel >

    < s:Parallel >

    < s:Move target = "{add}" / >

    < s:Move target = "{seeOthers}" / >

    < / s:Parallel >

    < / s:Sequence >

    < / s:Transition >

    < / s:transitions >

    < s:Label color = "#000000".

    x="10"

    y="60"

    ID = "YourName".

    fontSize = "13".

    fontFamily = 'arial '.

    text = "Your name" includeIn = "addRecommend" / >

    < s:TextInput x = "10" y = "75" width = "50%" paddingLeft = "10" id = "userName" includeIn = "addRecommend" / >

    < s:Label color = "#000000".

    y="110"

    x="10"

    fontSize = "13".

    fontFamily = 'arial '.

    ID = "recommendCityLabel".

    text = "Recommended City" includeIn = "addRecommend" / >

    < s:TextInput x = "10" y = "125" id = "recommendCity" width = "85%" includeIn = "addRecommend" / >

    < s:Label color = "#000000" x = "10" y = "155".

    fontSize = "13".

    ID = "detailText" <!-if I add this label to my transition melted, the strange behavior->

    text = "you can add details!

    fontFamily = 'arial '.

    includeIn = "addRecommend" / >

    < s:TextArea = "180".

    x = "10".

    paddingLeft = "10".

    ID = "detail" <! - if I add this textArea for my transition melted, the strange behavior too - >

    Width = "90%" height = "160" includeIn = "addRecommend" / >

    < s:Button id = 'Add '.

    x="10"

    y="60"

    y.addRecommend = "350"

    width = "210".

    width.addRecommend = "150"

    height = "35".

    fontWeight = "bold".

    fontSize = "12".

    fontFamily = 'arial '.

    toolTip = "recommend your favorite places.

    label = "add your recommendation."

    label.addRecommend = "Add to database"

    Click = "add_clickHandler (Event)" "

    />

    < s:Button id = "seeOthers".

    y="105"

    x="10"

    y.addRecommend = "400"

    width = "220".

    height = "35".

    fontWeight = "bold".

    fontSize = "12".

    fontFamily = 'arial '.

    toolTip = "see recommendation of others.

    label = "see other recommendations.

    Click = "seeOther_clickHandler (event)" / >

    Hello

    I had a look at these, I think that the provision itself was a bit wonky, I enclose the code in a link like this forum tends to eat code that doesn't help when you're trying to look at the code.

    You have the basics of work, but to avoid confusion in the States and the code, I suggest you try to group your objects to display relevant to the effects of transition, it is easier to control and maintain.
    On a side note use you designview in the ide to see how States will look, this tool will be of great help while you learn, ignore anyone who tells you not to use designview, it is a page layout tool and works well for these types of tasks.
    David.

Maybe you are looking for

  • HP pavilion 2289se g6: win7 64-bit drivers for hp pavilion g6-2289se

    Hello I bought the Hp laptop with the back. Please help me find the drivers for win7 professional 64-bit. Product name: HP Pavilion G6-2289se Product number: D3G91EA #ABV Serial number: (deleted content) Thank you Zdzislaw

  • P6616F: PC will not boot after upgrading processor

    I did some research which processor is compatible with my pc. I have a HP P6616F, AMD Phenom X 4 820 2.8 Ghz currently. I bought the FX6 AMD core 3.5 GHz. Once installed, I turn on my pc, but see that the fan turns my screen stays on the mode 'sleep'

  • Driver does not install correctly

    This device is not configured correctly. ___There (code 1) is not selected for the device information set to pilot or element.___To reinstall the drivers for this device, click on reinstall. This device is not configured correctly. (Code 1) There is

  • I can't connect to the internet. "Connectivity limited or not. Seems to be the Winsock error. __

    Symptoms Internet connection icon indicates: "connectivity limited or not. When I try to run Internet explorer, I get "Internet Explorer cannot display webpage". When I run "Diagnose connection problems" I get the following Diagnostic log indicating

  • Acquire the serial number

    I bought Lightroom 5 Staples online as a download version.  I received 2 emails on their part.  With the reception and the other with the product key, but no serial number was found.  I have not received an email from Adobe with the digital serial nu