ADF Exceptions

Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer). What can be the cause?

Problem Get following error message when trying to deploy ADF application to Weblogic application server: Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer) Cause It is a vrey generic error and many reasons for it can exist behind. Here are some of them: Weblogic server is experiencing memory issues. You can double check that by trying to execute any administration task through console. If…

Continue Reading

ADF Exceptions

oracle.jbo.expr.JIEvalException: JBO-25077: Name SearchValue not found in the given object: {}. What can be the cause?

Problem Just after adding a groofy expression as a default value for view object bind variable, I get this exception: oracle.jbo.expr.JIEvalException: JBO-25077: Name SearchValue not found in the given object: {} This exception was preceded by lower severity messages like: JBO-25186: Exception in expression “SearchTargetYearVar” of unknown type : groovy.lang.MissingPropertyException : No such property: viewObject for class: oracle.jbo.common.VariableImpl$VariableExprValueSupplier JBO-25186 [adf][oracle.jbo.script.ExprScriptException]…

Continue Reading

ADF Exceptions

[ADF security error] Accessing the securityContext property on class oracle.adf.share.ADFContext is not permitted. What can be the reason?

Problem ADF application has view object containing bind variable based on groovy expression. The latter tries to access ADF security context. On compilation I get static type checking error: [Static type checking] – [ADF security error] Accessing the securityContext property on class oracle.adf.share.ADFContext is not permitted. Possible solution You need to switch definition type of groovy expression. Move it from…

Continue Reading

ADF Exceptions

JBO-25186: Exception in expression “bindVariableName” of unknown type : oracle.jbo.ExprSecurityException. What can be the reason?

Problem I have a bind variable (i.e. “bindVariableName“) defined in view object query scope. It is based on groovy expression which access ADF security context. In particular I try to verify whether user is in certain role: adf.context.securityContext.isUserInRole(“RoleName”). And get an exception: JBO-25186: Exception in expression “IsPlanAssumptProvideAssigned” of unknown type : oracle.jbo.ExprSecurityException Reason Looks that ADF does not execute groovy…

Continue Reading

ADF Desktop Integration (ADFdi), ADF Exceptions

ADFDI-05538: The workbook integration has been altered after publishing. What can be the reason?

Here is full error message: ADFDI-05538: The workbook integration has been altered after publishing. It can no longer be used safely. The integration will now terminate. What is the reason? Most probably, you did publish excel with different file name and trying to open previously published (old file name) version. This even can be a legal case, for example if…

Continue Reading

ADF, ADF Exceptions

ADF How to access bind variable from view object row?

Problem I just faced a requirement to pass bind variable value to one of view object attributes LOV. It looks straight forward while we can provide view criteria and bind variable values to LOV’s view object via view accessor: I thought that it should be no problem just to write a groovy expression into parameters value field: adf.object.viewObject.myBindVariable But  I’ve…

Continue Reading

ADF, ADF Exceptions

ADF java.lang.ClassCastException: …ViewRowImpl cannot be cast to …ViewRow ?

For example: java.lang.ClassCastException: model.DepartmentsViewRowImpl cannot be cast to model.common.DepartmentsViewRow JDeveloper, when generating View Object Row client interface sometimes goes wrong with class definition. Such error can be displayed when implementation of class is not defined. In particular error sample –  “implements DepartmentsViewRow” is missing in DepartmentsViewRowImpl class: public class DepartmentsViewRowImpl extends ViewRowImpl implements DepartmentsViewRow { … }

ADF, ADF Exceptions

JBO-25058: Definition vc_temp_1 of type Variable is not found in …

“JBO-25058: Definition vc_temp_1 of type Variable is not found in …”. What can be the reason? ADF creates/reuses application module (AM) instance for each user request. It is passivated (saved) after each HTTP request (if configured accordingly). When in application there are used some queries with view criteria, filter variables are passivated  for according AM as well. During the next…

Continue Reading

ADF, ADF Desktop Integration (ADFdi), ADF Exceptions

ADF Desktop Integration Excel worksheet exception on upload operation: ArgumentException: invalid area string: N5:Q5,S5

Full exception stack: ArgumentException: invalid area string: N5:Q5,S5 Source: adfdi-excel-om-api Stack: at oracle.adf.client.windows.excel.om.api.ExcelRangeAreas.ParseRangeAddress() at oracle.adf.client.windows.excel.om.api.cache.ExcelRangeCache.get_RangeAreas() at oracle.adf.client.windows.excel.om.api.ExcelRangeReader..ctor(ExcelRange range, Int32 maxRows) at oracle.adf.client.windows.excel.runtime.uicomponent.table.DEGUploadHelper.InitDataRangeIterator() at oracle.adf.client.windows.excel.runtime.uicomponent.table.TableOperationHelper.ProcessRows(Boolean abortOnFail) at oracle.adf.client.windows.excel.runtime.uicomponent.table.TableOperationHelper.Run(RTColumn rtColumnFlaggedOrChanged, Int32 cRowsFlaggedOrChanged, Boolean abortOnFail) at oracle.adf.client.windows.excel.runtime.uicomponent.table.DEGUploadHelper.Upload(Boolean haveOptions, Boolean abortOnFail, Boolean downloadAfterUpload) at oracle.adf.client.windows.excel.runtime.uicomponent.RTDataEntryGrid.Invoke(RTComponentAction rtAction) at oracle.adf.client.windows.excel.runtime.uicomponent.RTActionCollection.DoInvoke(RTColumnCollection parent) This exception is thrown when data upload to server is requested. Range N5:Q5,S5 specifies cells…

Continue Reading

ADF, ADF Desktop Integration (ADFdi), ADF Exceptions

ADFDI-00502: The client was unable to establish an unauthenticated session with the web application. What can be the reason?

I have experienced such error. The reason was, that web application didn’t know, that servlet “adfdiRemoteServlet”, responsible for Excel workbook connectivity, should be secured. Problem happens only when ADF security is set to “ADF Authentication and Authorization”. This means, that ADF takes care not just for login, but for access to various resources (in our case it is adfdiRemoteServlet) as…

Continue Reading