試したこと
結果
- テーブル名、カラム名等の情報は生成されたが、エラーが生じていて、ER図が生成できていない
- コマンド実行時に出力されたエラーは下記の通り
Gathering schema details.........................WARN - Failed to retrieve stored procedure/function details using sql 'select r.routine_name, case when p.proisagg then 'AGGREGATE' else 'FUNCTION' end as routine_type, case when p.proretset then 'SETOF ' else '' end || case when r.data_type = 'USER-DEFINED' then r.type_udt_name else r.data_type end as dtd_identifier, r.external_language as routine_body, r.routine_definition, r.sql_data_access, r.security_type, r.is_deterministic, d.description as routine_comment from information_schema.routines r left join pg_namespace ns on r.routine_schema = ns.nspname left join pg_proc p on ns.oid = p.pronamespace and r.routine_name = p.proname left join pg_description d on d.objoid = p.oid where r.routine_schema = :schema' ERROR: p.proisagg݂͑܂ qg: "p.prolang"QƂ悤ƂĂ悤łB ʒu: 34 (0sec) Connecting relationships.........................(0sec) Writing/graphing summary.INFO - Gathered schema details in 0 seconds INFO - Writing/graphing summary Exception in thread "main" java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51) Caused by: java.lang.IllegalArgumentException: viz.js at org.schemaspy.output.diagram.vizjs.VizJSDot.<init>(VizJSDot.java:49) at org.schemaspy.SchemaAnalyzer.generateHtmlDoc(SchemaAnalyzer.java:324) at org.schemaspy.SchemaAnalyzer.analyze(SchemaAnalyzer.java:260) at org.schemaspy.SchemaAnalyzer.analyze(SchemaAnalyzer.java:123) at org.schemaspy.cli.SchemaSpyRunner.runAnalyzer(SchemaSpyRunner.java:98) at org.schemaspy.cli.SchemaSpyRunner.run(SchemaSpyRunner.java:87) at org.schemaspy.Main.main(Main.java:55) ... 8 more Caused by: java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.eval(String)" because "this.scriptEngine" is null at org.schemaspy.output.diagram.vizjs.VizJSDot.<init>(VizJSDot.java:47) ... 14 more
知りたいこと
エラー解消策。または解消のために調べるべき箇所
環境
Windows 10
postgres (PostgreSQL) 13.4
java openjdk 17
SchemaSpy v6.1.0
以上です。どなたがお知恵をお貸しいただければ幸いです。よろしくお願いします????
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2021/10/03 07:31
2022/01/08 09:56 編集