真的好困啊QAQ 2022-06-16 17:19 采纳率: 57.1%
浏览 423
已结题

kettle闪退,全网无解决方法

kettle打开闪退,全网无解决方法
操作系统:win10专业版(64位) jdk"18.0.1.1" kettle7.1
我想描述一下我的出错过程,从一开始就和别人不太一样

(1)在初始环境下(没有改变任何值),提示java虚拟机无法创建并提示a fatal exception occured,经过spoon.debug生成日志文件后,提示 "-XX:MaxPermSize=256m",也就是该参数不支持创建java虚拟机,但是这也是我身边的同学未出现的问题
这一步解决方法:我在上网查找后发现java8版本后不再支持这个参数,于是我选择删除,进入下一步
(2)在txt文本打开spoon.bat并删除参数后,打开时出现闪退情况。无论是java环境、jdk版本、kettle版本都有调试过,也更改了内存,但是还是出现了报错。报错文件如下
TXT:

DEBUG: Using JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files\Java\jdk-18.0.1.1
DEBUG: _PENTAHO_JAVA=C:\Program Files\Java\jdk-18.0.1.1\bin\java.exe

D:\FireFox\pdi-ce-7.1.0.0-12\data-integration>"C:\Program Files\Java\jdk-18.0.1.1\bin\java.exe"  "-Xms512m" "-Xmx512m"  "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" "-Djava.library.path=libswt\win64" "-DKETTLE_HOME=D:\FireFox\pdi-ce-7.1.0.0-12\data-integration" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_JNDI_ROOT=" -jar launcher\pentaho-application-launcher-7.1.0.0-12.jar -lib ..\libswt\win64  /level:Debug 
java.lang.reflect.InaccessibleObjectException: Unable to make field private static final sun.net.www.protocol.jar.JarFileFactory sun.net.www.protocol.jar.JarURLConnection.factory accessible: module java.base does not "opens sun.net.www.protocol.jar" to unnamed module @6d9d8d52
    at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
    at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
    at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:180)
    at java.base/java.lang.reflect.Field.setAccessible(Field.java:174)
    at org.pentaho.di.core.plugins.KettleURLClassLoader.getFieldObject(KettleURLClassLoader.java:170)
    at org.pentaho.di.core.plugins.KettleURLClassLoader.closeClassLoader(KettleURLClassLoader.java:227)
    at org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePluginType.java:611)
    at org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginType.java:120)
    at org.pentaho.di.core.plugins.PluginRegistry.registerType(PluginRegistry.java:636)
    at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:591)
    at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:115)
    at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:79)
    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:124)
    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:98)
    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:79)
    at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:624)
    at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:616)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:833)
00:27:57,858 INFO  [KarafBoot] Checking to see if org.pentaho.clean.karaf.cache is enabled
00:27:57,938 INFO  [KarafInstance] 
*******************************************************************************
*** Karaf Instance Number: 1 at D:\FireFox\pdi-ce-7.1.0.0-12\data-integrati ***
***   on\.\system\karaf\caches\spoon\data-1                                 ***
*** FastBin Provider Port:52901                                             ***
*** Karaf Port:8802                                                         ***
*** OSGI Service Port:9051                                                  ***
*******************************************************************************
ERROR: Error parsing system bundle export statement: org.osgi.framework.startlevel;uses:="org.os
    at org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:214)
    at org.apache.felix.framework.ExtensionManager.<init>(ExtensionManager.java:229)
    at org.apache.felix.framework.Felix.<init>(Felix.java:388)
    at org.apache.felix.framework.FrameworkFactory.newFramework(FrameworkFactory.java:28)
    at org.apache.karaf.main.Main.launch(Main.java:231)
    at org.pentaho.platform.osgi.KarafBoot$4.run(KarafBoot.java:239)
    at java.base/java.lang.Thread.run(Thread.java:833)
    at org.pentaho.platform.osgi.KarafBoot.startup(KarafBoot.java:247)
    at org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init(OSGIPluginRegistryExtension.java:109)
    at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:596)
    at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:115)
    at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:79)
    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:124)
    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:98)
    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:79)
    at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:624)
    at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:616)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:833)
Problem creating boot delegation class loader: java.lang.reflect.InaccessibleObjectException: Unable to make protected java.security.SecureClassLoader(java.lang.ClassLoader) accessible: module java.base does not "opens java.security" to unnamed module @6d9d8d52
org.pentaho.di.core.exception.KettleException: 
java.lang.ExceptionInInitializerError
 at java.lang.Thread.run (Thread.java:833)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
 at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
 at java.util.concurrent.FutureTask.run (FutureTask.java:264)
 at org.pentaho.di.ui.spoon.Spoon$1.call (Spoon.java:616)
 at org.pentaho.di.ui.spoon.Spoon$1.call (Spoon.java:624)
 at org.pentaho.di.core.KettleEnvironment.init (KettleEnvironment.java:79)
 at org.pentaho.di.core.KettleEnvironment.init (KettleEnvironment.java:98)
 at org.pentaho.di.core.KettleEnvironment.init (KettleEnvironment.java:124)
 at org.pentaho.di.core.KettleClientEnvironment.init (KettleClientEnvironment.java:79)
 at org.pentaho.di.core.KettleClientEnvironment.init (KettleClientEnvironment.java:115)
 at org.pentaho.di.core.plugins.PluginRegistry.init (PluginRegistry.java:596)
 at org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init (OSGIPluginRegistryExtension.java:109)
 at org.pentaho.platform.osgi.KarafBoot.startup (KarafBoot.java:247)
 at java.lang.Thread.run (Thread.java:833)
 at org.pentaho.platform.osgi.KarafBoot$4.run (KarafBoot.java:239)
 at org.apache.karaf.main.Main.launch (Main.java:253)
 at org.apache.karaf.main.KarafActivatorManager.startKarafActivators (KarafActivatorManager.java:58)
 at java.lang.CompoundEnumeration.hasMoreElements (ClassLoader.java:2739)
 at java.lang.CompoundEnumeration.next (ClassLoader.java:2730)
 at java.net.URLClassLoader$3.hasMoreElements (URLClassLoader.java:684)
 at java.net.URLClassLoader$3.next (URLClassLoader.java:659)
 at java.security.AccessController.doPrivileged (AccessController.java:399)
 at java.net.URLClassLoader$3$1.run (URLClassLoader.java:660)
 at java.net.URLClassLoader$3$1.run (URLClassLoader.java:662)
 at jdk.internal.loader.URLClassPath$1.hasMoreElements (URLClassPath.java:359)
 at jdk.internal.loader.URLClassPath$1.next (URLClassPath.java:348)
 at jdk.internal.loader.URLClassPath.getLoader (URLClassPath.java:452)
 at jdk.internal.loader.URLClassPath.getLoader (URLClassPath.java:484)
 at java.security.AccessController.doPrivileged (AccessController.java:712)
 at jdk.internal.loader.URLClassPath$3.run (URLClassPath.java:485)
 at jdk.internal.loader.URLClassPath$3.run (URLClassPath.java:502)
 at jdk.internal.loader.URLClassPath$JarLoader.<init> (URLClassPath.java:732)
 at java.net.URL.<init> (URL.java:479)
 at java.net.URL.getURLStreamHandler (URL.java:1436)
 at org.apache.felix.framework.URLHandlers.createURLStreamHandler (URLHandlers.java:495)

    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:149)
    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:98)
    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:79)
    at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:624)
    at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:616)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.ExceptionInInitializerError
    at org.apache.felix.framework.URLHandlers.createURLStreamHandler(URLHandlers.java:495)
    at java.base/java.net.URL.getURLStreamHandler(URL.java:1436)
    at java.base/java.net.URL.<init>(URL.java:479)
    at java.base/jdk.internal.loader.URLClassPath$JarLoader.<init>(URLClassPath.java:732)
    at java.base/jdk.internal.loader.URLClassPath$3.run(URLClassPath.java:502)
    at java.base/jdk.internal.loader.URLClassPath$3.run(URLClassPath.java:485)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
    at java.base/jdk.internal.loader.URLClassPath.getLoader(URLClassPath.java:484)
    at java.base/jdk.internal.loader.URLClassPath.getLoader(URLClassPath.java:452)
    at java.base/jdk.internal.loader.URLClassPath$1.next(URLClassPath.java:348)
    at java.base/jdk.internal.loader.URLClassPath$1.hasMoreElements(URLClassPath.java:359)
    at java.base/java.net.URLClassLoader$3$1.run(URLClassLoader.java:662)
    at java.base/java.net.URLClassLoader$3$1.run(URLClassLoader.java:660)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.net.URLClassLoader$3.next(URLClassLoader.java:659)
    at java.base/java.net.URLClassLoader$3.hasMoreElements(URLClassLoader.java:684)
    at java.base/java.lang.CompoundEnumeration.next(ClassLoader.java:2730)
    at java.base/java.lang.CompoundEnumeration.hasMoreElements(ClassLoader.java:2739)
    at org.apache.karaf.main.KarafActivatorManager.startKarafActivators(KarafActivatorManager.java:58)
    at org.apache.karaf.main.Main.launch(Main.java:253)
    at org.pentaho.platform.osgi.KarafBoot$4.run(KarafBoot.java:239)
    at java.base/java.lang.Thread.run(Thread.java:833)
    at org.pentaho.platform.osgi.KarafBoot.startup(KarafBoot.java:247)
    at org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init(OSGIPluginRegistryExtension.java:109)
    at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:596)
    at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:115)
    at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:79)
    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:124)
    ... 8 more
Caused by: java.lang.RuntimeException: Unable to make protected boolean java.net.URLStreamHandler.equals(java.net.URL,java.net.URL) accessible: module java.base does not "opens java.net" to unnamed module @6d9d8d52
    at org.apache.felix.framework.URLHandlersStreamHandlerProxy.<clinit>(URLHandlersStreamHandlerProxy.java:104)
    ... 36 more

我只能打开就行了

展开全部

  • 写回答

2条回答 默认 最新

  • 原来我不知道啊 2022-06-17 00:05
    关注

    有可能jdk版本过高,尝试换jdk8版本试试。另外,jdk安装路径最好别有空格

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)
编辑
预览

报告相同问题?

问题事件

  • 系统已结题 6月26日
  • 已采纳回答 6月18日
  • 创建了问题 6月16日

悬赏问题

  • ¥15 MATLAB解决问题
  • ¥20 哪位专业人士知道这是什么原件吗?哪里可以买到?
  • ¥15 关于#c##的问题:treenode反序列化后获取不到上一节点和下一节点,Fullpath和Handle报错
  • ¥15 一部手机能否同时用不同的app进入不同的直播间?
  • ¥15 没输出运行不了什么问题
  • ¥20 输入import torch显示Intel MKL FATAL ERROR,系统驱动1%,: Cannot load mkl_intel_thread.dll.
  • ¥15 点云密度大则包围盒小
  • ¥15 nginx使用nfs进行服务器的数据共享
  • ¥15 C#i编程中so-ir-192编码的字符集转码UTF8问题
  • ¥15 51嵌入式入门按键小项目