9 Replies Latest reply on Jan 3, 2017 5:21 AM by 3357027

    OBIEE 12c upgrade issue



      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

        • 1. Re: OBIEE 12c upgrade issue
          Gianni Ceresa


          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.

          • 2. Re: OBIEE 12c upgrade issue

            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.

            • 3. Re: OBIEE 12c upgrade issue
              Joel Acha

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

              • 4. Re: OBIEE 12c upgrade issue


                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" , 

                • 5. Re: OBIEE 12c upgrade issue
                  Joel Acha

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

                  • 6. Re: OBIEE 12c upgrade issue

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

                    • 7. Re: OBIEE 12c upgrade issue
                      Joel Acha

                      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

                      • 8. Re: OBIEE 12c upgrade issue

                        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>

                        • 9. Re: OBIEE 12c upgrade issue

                          Issue resolved after changing the catalog permissions.