datapatch fails with ISNONORACLECLOUD must be declared - oracle

When trying to apply datapatch 31312468 to oracle 12.2.0.1 get the following:
Error at line 8833: 4675/23 PLS-00302: component 'ISNONORACLECLOUD' must be declared
Any ideas?
upd:
Datapatch Build label: RDBMS_12.2.0.1.0DBAPR2019RU_LINUX.X64_190227
Datapatch output: (for different patch, but it is exactly the same)
./datapatch -verbose
SQL Patching tool version 12.2.0.1.0 Production on Thu Jul 23 11:27:05 2020
Copyright (c) 2012, 2019, Oracle. All rights reserved.
Log file for this invocation: /local/oracle/cfgtoollogs/sqlpatch/sqlpatch_541_2020_07_23_11_27_05/sqlpatch_invocation.log
Connecting to database...OK
Bootstrapping registry and package to current versions...done
Determining current state...done
Current state of SQL patches:
Patch 26635944 ():
Not installed in the binary or the SQL registry
Patch 29249637 (OJVM RELEASE UPDATE: 12.2.0.1.190416 (29249637)):
Installed in the binary registry only
Bundle series DBRU:
ID 190416 in the binary registry and not installed in the SQL registry
Adding patches to installation queue and performing prereq checks...
Installation queue:
Nothing to roll back
The following patches will be applied:
29249637 (OJVM RELEASE UPDATE: 12.2.0.1.190416 (29249637))
29314339 (DATABASE APR 2019 RELEASE UPDATE 12.2.0.1.190416)
Installing patches...
Patch installation complete. Total patches installed: 2
Validating logfiles...
Patch 29249637 apply: SUCCESS
logfile: /local/oracle/cfgtoollogs/sqlpatch/29249637/22802302/29249637_apply_ORCL_2020Jul23_11_27_18.log (no errors)
Patch 29314339 apply: WITH ERRORS
logfile: /local/oracle/cfgtoollogs/sqlpatch/29314339/22821655/29314339_apply_ORCL_2020Jul23_11_27_19.log (errors)
Error at line 3715: Warning: Package Body created with compilation errors.
Error at line 32330: Warning: Package Body created with compilation errors.
Error at line 32337: 4675/4 PL/SQL: Statement ignored
Error at line 32338: 4675/23 PLS-00302: component 'ISNONORACLECLOUD' must be declared
Error at line 32360: 4675/4 PL/SQL: Statement ignored
Error at line 32361: 4675/23 PLS-00302: component 'ISNONORACLECLOUD' must be declared
Error at line 33014: Warning: Trigger created with compilation errors.
Error at line 33021: 0/0 PLS-00905: object GSMADMIN_INTERNAL.DBMS_GSM_POOLADMIN is invalid
Error at line 33038: Warning: Trigger created with compilation errors.
Error at line 33045: 0/0 PLS-00905: object GSMADMIN_INTERNAL.DBMS_GSM_POOLADMIN is invalid
Error at line 33052: Warning: Trigger created with compilation errors.
Error at line 33059: 0/0 PLS-00905: object GSMADMIN_INTERNAL.DBMS_GSM_POOLADMIN is invalid
Please refer to MOS Note 1609718.1 and/or the invocation log
/local/oracle/cfgtoollogs/sqlpatch/sqlpatch_541_2020_07_23_11_27_05/sqlpatch_invocation.log
for information on how to resolve the above errors.
SQL Patching tool complete on Thu Jul 23 11:27:47 2020

Worked around loading the following objects prior to running datapatch:
$ORACLE_HOME/rdbms/admin/dbmsgwmco.sql
$ORACLE_HOME/rdbms/admin/dbmsgwmut.sql
$ORACLE_HOME/rdbms/admin/dbmspool.sql

Related

Kotlin script fails to run on Windows - org.jetbrains.kotlin.resolve.lazy.NoDescriptorForDeclarationException

when running:
kotlinc -script Day1.kts
Day1.kts:
println("hello")
I get:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.ReflectionUtil (file:/C:/Users/ASUS/kotlin-native-windows-1.4.21/konan/lib/kotlin-native.jar) to method java.util.ResourceBundle
.setParent(java.util.ResourceBundle)
WARNING: Please consider reporting this to the maintainers of com.intellij.util.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
error: compilation failed: Front-end Internal error: Failed to analyze declaration Day1
File being compiled: (1,1) in C:/Users/ASUS/IdeaProjects/adventOfCode2020/Day1.kts
The root cause org.jetbrains.kotlin.resolve.lazy.NoDescriptorForDeclarationException was thrown at: org.jetbrains.kotlin.resolve.lazy.BasicAbsentDescriptorHandler.diagnoseDescriptorNot
Found(AbsentDescriptorHandler.kt:18)
* Source files: Day1.kts
* Compiler version info: Konan: 1.4.21 / Kotlin: 1.4.21
* Output kind: PROGRAM
exception: org.jetbrains.kotlin.util.KotlinFrontEndException: Front-end Internal error: Failed to analyze declaration Day1
File being compiled: (1,1) in C:/Users/ASUS/IdeaProjects/adventOfCode2020/Day1.kts
The root cause org.jetbrains.kotlin.resolve.lazy.NoDescriptorForDeclarationException was thrown at: org.jetbrains.kotlin.resolve.lazy.BasicAbsentDescriptorHandler.diagnoseDescriptorNot
Found(AbsentDescriptorHandler.kt:18)
at org.jetbrains.kotlin.resolve.ExceptionWrappingKtVisitorVoid.visitDeclaration(ExceptionWrappingKtVisitorVoid.kt:43)
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitDeclaration(KtVisitorVoid.java:453)
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitDeclaration(KtVisitorVoid.java:21)
at org.jetbrains.kotlin.psi.KtVisitor.visitScript(KtVisitor.java:78)
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitScript(KtVisitorVoid.java:73)
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitScript(KtVisitorVoid.java:519)
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitScript(KtVisitorVoid.java:21)
at org.jetbrains.kotlin.psi.KtScript.accept(KtScript.java:69)
at org.jetbrains.kotlin.psi.KtElementImplStub.accept(KtElementImplStub.java:60)
at org.jetbrains.kotlin.resolve.LazyTopDownAnalyzer$analyzeDeclarations$1.registerDeclarations(LazyTopDownAnalyzer.kt:78)
at org.jetbrains.kotlin.resolve.LazyTopDownAnalyzer$analyzeDeclarations$1.visitKtFile(LazyTopDownAnalyzer.kt:96)
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitKtFile(KtVisitorVoid.java:513)
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitKtFile(KtVisitorVoid.java:21)
at org.jetbrains.kotlin.psi.KtFile.accept(KtFile.kt:243)
at org.jetbrains.kotlin.psi.KtFile.accept(KtFile.kt:230)
at org.jetbrains.kotlin.resolve.ExceptionWrappingKtVisitorVoid.visitElement(ExceptionWrappingKtVisitorVoid.kt:27)
at com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:35)
at org.jetbrains.kotlin.psi.KtVisitor.visitKtFile(KtVisitor.java:73)
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitKtFile(KtVisitorVoid.java:69)
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitKtFile(KtVisitorVoid.java:513)
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitKtFile(KtVisitorVoid.java:21)
at org.jetbrains.kotlin.psi.KtFile.accept(KtFile.kt:243)
at org.jetbrains.kotlin.psi.KtFile.accept(KtFile.kt:230)
at org.jetbrains.kotlin.resolve.LazyTopDownAnalyzer.analyzeDeclarations(LazyTopDownAnalyzer.kt:201)
at org.jetbrains.kotlin.resolve.LazyTopDownAnalyzer.analyzeDeclarations$default(LazyTopDownAnalyzer.kt:60)
at org.jetbrains.kotlin.backend.konan.TopDownAnalyzerFacadeForKonan.analyzeFilesWithGivenTrace(TopDownAnalyzerFacadeForKonan.kt:94)
at org.jetbrains.kotlin.backend.konan.TopDownAnalyzerFacadeForKonan.analyzeFiles(TopDownAnalyzerFacadeForKonan.kt:67)
at org.jetbrains.kotlin.backend.konan.ToplevelPhasesKt$frontendPhase$1$1.invoke(ToplevelPhases.kt:86)
at org.jetbrains.kotlin.backend.konan.ToplevelPhasesKt$frontendPhase$1$1.invoke(ToplevelPhases.kt)
at org.jetbrains.kotlin.cli.common.messages.AnalyzerWithCompilerReport.analyzeAndReport(AnalyzerWithCompilerReport.kt:115)
at org.jetbrains.kotlin.backend.konan.ToplevelPhasesKt$frontendPhase$1.invoke(ToplevelPhases.kt:85)
at org.jetbrains.kotlin.backend.konan.ToplevelPhasesKt$frontendPhase$1.invoke(ToplevelPhases.kt)
at org.jetbrains.kotlin.backend.common.phaser.PhaseBuildersKt$namedOpUnitPhase$1.invoke(PhaseBuilders.kt:97)
at org.jetbrains.kotlin.backend.common.phaser.PhaseBuildersKt$namedOpUnitPhase$1.invoke(PhaseBuilders.kt:95)
at org.jetbrains.kotlin.backend.common.phaser.NamedCompilerPhase.invoke(CompilerPhase.kt:94)
at org.jetbrains.kotlin.backend.common.phaser.CompositePhase.invoke(PhaseBuilders.kt:23)
at org.jetbrains.kotlin.backend.common.phaser.NamedCompilerPhase.invoke(CompilerPhase.kt:94)
at org.jetbrains.kotlin.backend.common.phaser.CompilerPhaseKt.invokeToplevel(CompilerPhase.kt:41)
at org.jetbrains.kotlin.backend.konan.KonanDriverKt.runTopLevelPhases(KonanDriver.kt:29)
at org.jetbrains.kotlin.cli.bc.K2Native.doExecute(K2Native.kt:78)
at org.jetbrains.kotlin.cli.bc.K2Native.doExecute(K2Native.kt:35)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:88)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:44)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:98)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:76)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:45)
at org.jetbrains.kotlin.cli.common.CLITool$Companion.doMainNoExit(CLITool.kt:227)
at org.jetbrains.kotlin.cli.common.CLITool$Companion.doMainNoExit$default(CLITool.kt:225)
at org.jetbrains.kotlin.cli.common.CLITool$Companion.doMain(CLITool.kt:214)
at org.jetbrains.kotlin.cli.bc.K2Native$Companion$main$1.invoke(K2Native.kt:264)
at org.jetbrains.kotlin.cli.bc.K2Native$Companion$main$1.invoke(K2Native.kt:261)
at org.jetbrains.kotlin.util.UtilKt.profileIf(Util.kt:27)
at org.jetbrains.kotlin.util.UtilKt.profile(Util.kt:21)
at org.jetbrains.kotlin.cli.bc.K2Native$Companion.main(K2Native.kt:263)
at org.jetbrains.kotlin.cli.bc.K2NativeKt.main(K2Native.kt:457)
at org.jetbrains.kotlin.cli.utilities.MainKt$main$1.invoke(main.kt:41)
at org.jetbrains.kotlin.cli.utilities.MainKt$main$1.invoke(main.kt)
at org.jetbrains.kotlin.cli.utilities.MainKt.mainImpl(main.kt:17)
at org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:41)
Caused by: org.jetbrains.kotlin.resolve.lazy.NoDescriptorForDeclarationException: Descriptor wasn't found for declaration SCRIPT
at org.jetbrains.kotlin.resolve.lazy.BasicAbsentDescriptorHandler.diagnoseDescriptorNotFound(AbsentDescriptorHandler.kt:18)
at org.jetbrains.kotlin.resolve.lazy.BasicAbsentDescriptorHandler.diagnoseDescriptorNotFound(AbsentDescriptorHandler.kt:17)
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver.findClassDescriptor(LazyDeclarationResolver.kt:88)
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver.getScriptDescriptor(LazyDeclarationResolver.kt:65)
at org.jetbrains.kotlin.resolve.LazyTopDownAnalyzer$analyzeDeclarations$1.visitScript(LazyTopDownAnalyzer.kt:89)
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitScript(KtVisitorVoid.java:519)
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitScript(KtVisitorVoid.java:21)
at org.jetbrains.kotlin.psi.KtScript.accept(KtScript.java:69)
at org.jetbrains.kotlin.psi.KtElementImplStub.accept(KtElementImplStub.java:60)
at org.jetbrains.kotlin.resolve.ExceptionWrappingKtVisitorVoid.visitDeclaration(ExceptionWrappingKtVisitorVoid.kt:32)
... 58 more
I'm using Windows 10, Kotlin Native Windows 1.4.21.
It works fine in Mac.
Thank you.
As we figured at the https://youtrack.jetbrains.com/issue/KT-44049, the problem was in the incorrect archive being downloaded.
This document mentions downloading kotlin-compiler-1.4.21.zip, while you have probably downloaded kotlin-native-prebuilt-windows-1.4.21.zip

Errors while performing schema compare

I'm trying to perform a schema compare using the latest VS 2019 and SSDT tools.
However, two errors appear, which both start with:
An error occurred while attempting to reverse engineer elements of type
If I do the same SQL compare from VS 2017, there are no errors.
The first is:
Severity Code Description Project File Line Suppression State
Error An error occurred while attempting to reverse engineer elements of type Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlDatabaseCredential: Batch Command during reverse engineer failed with Error Code: -2146232060 Line Number: 7 Error Message:
Incorrect syntax near 'HINT'.
Incorrect syntax near 'HINT'.
...
Incorrect syntax near 'HINT'.
Incorrect syntax near 'HINT'.. 0
And the second is:
Severity Code Description Project File Line Suppression State
Error An error occurred while attempting to reverse engineer elements of type Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlErrorMessage: Batch Command during reverse engineer failed with Error Code: -2146232060 Line Number: 15 Error Message:
Incorrect syntax near 'HINT'.
Incorrect syntax near 'HINT'.
...
Incorrect syntax near 'HINT'.
Incorrect syntax near 'HINT'.. 0
I had the same error. Schema comparison from VS2019 to SQL Server 13.0.x failed. It worked properly with other SQL Server instances (other versions).
I applied all updates on SQL server up to 13.0.5292.0, and it works like a charm.

mllr_solve 'Error reading byte order magic number' on Windows

I'm following the Adapting Default Acoustic model tutorial and have hit a error running mllr_solve.
INFO: main.c(382): -- 1. Read input mean, (var) and accumulation.
ERROR: "pio.c", line 434: fread() failed; retrying...
: No error
ERROR: "swap.c", line 79: error while reading bo_magic
ERROR: "s3io.c", line 177: Error reading byte order magic number
ERROR: "s3io.c", line 265: Error reading header for en-us-8khz\means
FATAL: "main.c", line 392: Couldn't read en-us-8khz\means
I compiled sphinxtrain and sphinxbase using Visual Studio 2017 using 'Release\Win32'.
Is there anyway to change the means/variances files or change s3io.c?
This issue is most likely caused by runtime incompatibility between sphinxbase and sphinxtrain. Time to blame Windows designers, not software
https://cmusphinx.github.io/wiki/faq/#q-pocketsphinx-crashes-on-windows-in-_lock_file

Oracle Webtier 12.2.1.1 on Windows startComponent.cmd "exit status = -1073741515"

I am attempting to install Oracle HTTP server 12.2.1.1 on Windows Server 2012 R2 in standalone mode. I believe I followed the Oracle documentation correctly. I have progressed to this point: https://docs.oracle.com/middleware/1221/core/WTINS/GUID-3ED8EE64-EE8B-4EF3-84A1-19CEF21B8547.htm#WTINS414
My attempts to run "startComponent.cmd ohs1" have resulted in this error:
weblogic.nodemanager.NMException: Received error message from Node Manager Serve
r: [Server start command for OHS server 'ohs1' failed due to: [Failed t
o start the server ohs1
The error message also says to check a log file. Contents are:
<2016-06-29 15:42:10> <INFO> <OHS-4018> <Starting server ohs1>
<2016-06-29 15:42:10> <INFO> <OHS-0> <Running C:\Middleware\Oracle_Home_12\ohs\bin\launch.exe C:\Middleware\Oracle_Home_12\ohs\bin\httpd.exe -DOHS_MPM_WINNT -d C:/Middleware/Oracle_Home_12/user_projects/domains/base_domain/config/fmwconfig/components/OHS/instances/ohs1 -f C:\Middleware\Oracle_Home_12\user_projects\domains\base_domain\config\fmwconfig\components\OHS\instances\ohs1\httpd.conf>
<2016-06-29 15:42:11> <SEVERE> <OHS-0> <C:\Middleware\Oracle_Home_12\ohs\bin\launch.exe C:\Middleware\Oracle_Home_12\ohs\bin\httpd.exe -DOHS_MPM_WINNT -d C:/Middleware/Oracle_Home_12/user_projects/domains/base_domain/config/fmwconfig/components/OHS/instances/ohs1 -f C:\Middleware\Oracle_Home_12\user_projects\domains\base_domain\config\fmwconfig\components\OHS\instances\ohs1\httpd.conf: exit status = -1073741515>
<2016-06-29 15:42:11> <INFO> <OHS-4005> <Check the instance log file for more information: C:\Middleware\Oracle_Home_12\user_projects\domains\base_domain\servers\ohs1\logs\ohs1.log>
<2016-06-29 15:42:11> <SEVERE> <OHS-0> <Failed to start the server ohs1>
The log file referenced here, "C:\Middleware\Oracle_Home_12\user_projects\domains\base_domain\servers\ohs1\logs\ohs1.log", does not exist.
I also made sure that the required Microsoft redistributable was installed.
What am I doing wrong?
I received help from the Oracle Community:
Do you have lastinvocation.log file under
C:/Middleware/Oracle_Home_12/user_projects/domains\base_domain\servers\ohs1\logs?
If yes, rename it to lastinvocation.cmd and run this from command line and check if the ohs1.log file gets generated.
If yes, what is the error message seen?
The error message returned was:
"The program can't start because MSVCR110.dll is missing from your computer. Try reinstalling the program to fix this problem."
The user then pointed me to an Oracle Doc:
This is also described in the below article
Oracle HTTP Server 12.2.1 Fails To Start With Error 'MSVCR110.dll' Missing From Your Computer (Doc ID 2078713.1)
This Oracle article had a link to a DIFFERENT (larger) version of vcredist_x64.exe than I had used when installing the components. This version worked.
Thanks to Aishwarya in the Oracle community!

error about LLBLgen pro when run a asp.net file on localhost

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'SD' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 25: using App2.DAL.ValidatorClasses;
Line 26:
Line 27: using SD.LLBLGen.Pro.ORMSupportClasses;
Line 28:
Line 29: namespace App2.DAL.EntityClasses
Source File: c:\inetpub\wwwroot\App_Code\App2.DAL\DatabaseGeneric\EntityClasses\ListI9DocsEntity.cs Line: 27
You need to check your references to LLBLGen ORMSupportClasses assembly in your asp.net project. Make sure the dll is copied to the output /bin directory.
BTW, ask your questions on the LLBLGen Forums, as they are monitored every day by the support team.

Resources