java.lang.NullPointerException
at java.lang.String.indexOf(Unknown Source)
at java.lang.String.indexOf(Unknown Source)
at
org.eclipse.ajdt.internal.core.ajde.CoreOutputLocationM
anager.getOutputLocationForResource
(CoreOutputLocationManager.java:114)
at
org.eclipse.ajdt.internal.core.ajde.CoreOutputLocationM
anager.getOutputLocationForClass
(CoreOutputLocationManager.java:106)
at
org.aspectj.ajde.core.internal.OutputLocationAdapter.ge
tOutpu ... oBuildJob.run(AutoBuildJob.java:235)
at org.eclipse.core.internal.jobs.Worker.run
(Worker.java:55)
導入し、以下のビルド構成をとると、AspectJのコンパイル
で NullPointerExceptionが発生する
1. ソースフォルダを複数作成
2. ソースフォルダごとに出力フォルダの指定を可能にする
CheckBoxをOnにする
3. ソースフォルダに出力フォルダ指定を行う
4. Class追加や修正・保存を行う
java.lang.NullPointerException
at java.lang.String.indexOf(Unknown Source)
at java.lang.String.indexOf(Unknown Source)
at
org.eclipse.ajdt.internal.core.ajde.CoreOutputLocationM
anager.getOutputLocationForResource
(CoreOutputLocationManager.java:114)
at
org.eclipse.ajdt.internal.core.ajde.CoreOutputLocationM
anager.getOutputLocationForClass
(CoreOutputLocationManager.java:106)
at
org.aspectj.ajde.core.internal.OutputLocationAdapter.ge
tOutpu ... oBuildJob.run(AutoBuildJob.java:235)
at org.eclipse.core.internal.jobs.Worker.run
(Worker.java:55)
Compile error: NullPointerException thrown: null