[Mergedoc-dev] 初歩的なエラーでご相談

Back to archive index

KASHIHARA Shinji kashi****@gmail*****
2010年 11月 1日 (月) 23:19:52 JST


やまねさん

Eclipse に付属の config.ini ファイルはどこにあるか分かりますか?
下記の順番で探索します。
見つからない場合、添付いただいたエラーが発生します。


1. カレントの configuration/config.ini

2. 環境変数または -D の user.dir で指定したディレクトリ配下の configuration/config.ini

3. plugins/jp.sourceforge.mergedoc.pleiades/conf/.marker の三階層上にディレクトリを
基点に上にさかのぼり、configuration/config.ini をルートディレクトリまで探索
--

2010年10月31日22:22 Hideki Yamane <henri****@debia*****>:
>
> やまねです。
> debian パッケージとしてはアップデートしてみたのですが、
>
>> henrich @ babytalk:~$ eclipse
>> java.lang.IllegalStateException: config.ini が見つかりません。
>>       at jp.sourceforge.mergedoc.pleiades.Pleiades.getConfigIniFile(Pleiades.java:242)
>>       at jp.sourceforge.mergedoc.pleiades.Pleiades.init(Pleiades.java:142)
>>       at jp.sourceforge.mergedoc.pleiades.Pleiades.premain(Pleiades.java:77)
>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>       at java.lang.reflect.Method.invoke(Method.java:616)
>>       at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:343)
>>       at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:358)
>> Exception in thread "main" java.lang.reflect.InvocationTargetException
>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>       at java.lang.reflect.Method.invoke(Method.java:616)
>>       at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:343)
>>       at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:358)
>> Caused by: java.lang.IllegalStateException: config.ini が見つかりません。
>>       at jp.sourceforge.mergedoc.pleiades.Pleiades.getConfigIniFile(Pleiades.java:242)
>>       at jp.sourceforge.mergedoc.pleiades.Pleiades.init(Pleiades.java:142)
>>       at jp.sourceforge.mergedoc.pleiades.Pleiades.premain(Pleiades.java:77)
>>       ... 6 more
>> FATAL ERROR in native method: processing of -javaagent failed
>> アボートしました
>
> となってしまいました。1.3.1 からはパッケージ側としてもあまり変えていないはず
> なんですが… /etc/eclipse.ini での指定も
>> -javaagent:/usr/lib/eclipse/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar
> と変化はないです(この設定で 1.3.1 は起動する)
>
> さて、どの辺から切り分けていけばいいか、助言いただけると助かります。
>
>
> パッと思いつくところで、パッケージで変更しているのは
> ・build.xml にシステム側のライブラリを使うように指定するパッチ(添付します)
> ・ant のオプション
> (ant -Dbin.dir=$(CURDIR)/build/bin -Dbuild.dir=$(CURDIR)/build build.full と指定)
> ぐらいでしょうか。
>
>
> --
> Regards,
>
>  Hideki Yamane     henri****@debia*****/org
>
> _______________________________________________
> Mergedoc-dev mailing list
> Merge****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/mergedoc-dev
>
>




Mergedoc-dev メーリングリストの案内
Back to archive index