プロジェクトの保存場所変えてみた
ら、別のが出た。
java.lang.NullPointerException at org.netbeans.modules.scala.project.MainClassUpdater$3.run(MainClassUpdater.java:241) at org.netbeans.modules.scala.project.MainClassUpdater$3.run(MainClassUpdater.java:236) at org.netbeans.napi.gsfret.source.Source.runUserActionTask(Source.java:468) at org.netbeans.modules.scala.project.MainClassUpdater.addFileChangeListener(MainClassUpdater.java:231) at org.netbeans.modules.scala.project.MainClassUpdater.<init>(MainClassUpdater.java:109) at org.netbeans.modules.scala.project.J2SEProject$ProjectOpenedHookImpl.projectOpened(J2SEProject.java:543) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:81) at org.netbeans.spi.project.ui.support.UILookupMergerSupport$OpenHookImpl.projectOpened(UILookupMergerSupport.java:193) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:81) at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:951) at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(OpenProjectList.java:999) at org.netbeans.modules.project.ui.OpenProjectList.doOpen(OpenProjectList.java:598) at org.netbeans.modules.project.ui.OpenProjectList.access$1100(OpenProjectList.java:123) at org.netbeans.modules.project.ui.OpenProjectList$3.run(OpenProjectList.java:494) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
java.lang.IllegalArgumentException: Project ScalaApplication3 is not open and cannot be set as main. at org.netbeans.modules.project.ui.OpenProjectList.setMainProject(OpenProjectList.java:764) [catch] at org.netbeans.modules.project.ui.actions.NewProject$2.run(NewProject.java:212) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)