OBIEE 12c upgrade issue — Oracle Analytics

Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

OBIEE 12c upgrade issue

Received Response
81
Views
9
Comments
Rajagopal R-Oracle
Rajagopal R-Oracle Rank 5 - Community Champion

hi.,

Getting the below error while exporting obiee 11g into a jar file .,

Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/bi/bundleutils/SelfContainedEnumResourceBundle : Unsupported major.minor version 52.0

any help

Answers

  • Hi,

    Seem to be related to the java version.

    If you google "Unsupported major.minor version 52.0" you find many references explaining the case.

    Making it short you are trying to run a piece of java compiled with a version (1.8 I would say) but you run it with a lower java version.

  • Rajagopal R-Oracle
    Rajagopal R-Oracle Rank 5 - Community Champion

    11g java version is "1.7.0_79"  and 12c version is "1.7.0_75" , do we need to consider only 1.7.0 or 1.7.0_x also for comparing java versions.

  • Joel
    Joel Rank 8 - Analytics Strategist

    As @Gianni mentioned, for OBIEE 12c, you need a  1.8 JDK. - Oracle Fusion Middleware Supported System Configurations

  • Rajagopal R-Oracle
    Rajagopal R-Oracle Rank 5 - Community Champion

    Hi.,

    I am getting below error during 11g export using migration_tool.jar

    "An error occurred during export: java.lang.RuntimeException

    Migration action failed: java.lang.NullPointerException" , 

  • Joel
    Joel Rank 8 - Analytics Strategist

    Have you upgraded your JDK on OBIEE 12c to a 1.8 version?

  • Rajagopal R-Oracle
    Rajagopal R-Oracle Rank 5 - Community Champion

    yes both 11g and 12c having same JDK version.

  • Joel
    Joel Rank 8 - Analytics Strategist

    look at this Oracle document and ensure you're passing the correct parameters in your call to the migration tool - https://blogs.oracle.com/pa/resource/11g12cUpgradeTips.ppt

  • Rajagopal R-Oracle
    Rajagopal R-Oracle Rank 5 - Community Champion

    Parameters are defined properly , i am getting the below exception

    <OBIEE_home>instances/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/catalog/SampleAppLite to /tmp/BIApplicationArchive1022741320883905507/bar/metadata/runtime/content/live.cat <oracle.bi.metadata.bar.Exporter exportWebCat>

    2016-12-29 12:04:47 SEVERE  An error occurred during export: java.lang.RuntimeException

    java.lang.RuntimeException: java.lang.NullPointerException

      at oracle.bi.metadata.util.zip.Zip.zipWithEmptyDirs(Zip.java:280)

      at oracle.bi.metadata.bar.Exporter.exportWebCat(Exporter.java:117)

      at oracle.bi.metadata.bar.Exporter.exportBar(Exporter.java:51)

      at oracle.bi.metadata.export11g.Export11gBar.exportBar(Export11gBar.java:81)

      at oracle.bi.migration.plugin.metadata.MetadataExportPlugin.export(MetadataExportPlugin.java:38)

      at oracle.bi.migration.api.adaptor.exporter.V1ExporterPluginAdaptor.export(V1ExporterPluginAdaptor.java:58)

      at oracle.bi.migration.orchestration.BundleExporter.doExport(BundleExporter.java:287)

      at oracle.bi.migration.orchestration.BundleExporter.doExport(BundleExporter.java:228)

      at oracle.bi.migration.orchestration.BundleExporter.runExport(BundleExporter.java:115)

      at oracle.bi.migration.orchestration.actionspecification.ExportAction.performAction(ExportAction.java:95)

      at oracle.bi.migration.orchestration.MigrationActionExecutor$1.run(MigrationActionExecutor.java:32)

      at java.lang.Thread.run(Thread.java:745)

      at oracle.bi.migration.orchestration.MigrationActionExecutor.executeMigrationAction(MigrationActionExecutor.java:52)

      at oracle.bi.migration.orchestration.MigrationConductor.performMigrationAction(MigrationConductor.java:122)

      at oracle.bi.migration.tool.MigrationTool.go(MigrationTool.java:200)

      at oracle.bi.migration.tool.MigrationTool.main(MigrationTool.java:255)

    Caused by: java.lang.NullPointerException

      at oracle.bi.metadata.util.zip.Zip.zipWithEmptyDirs(Zip.java:263)

      ... 15 more

    <oracle.bi.migration.tool.MigrationTool alertUser>

  • Rajagopal R-Oracle
    Rajagopal R-Oracle Rank 5 - Community Champion

    Issue resolved after changing the catalog permissions.