當試圖打開一個文件(一個sql文件)時,我的Netbeans 7.4凍結,我引用了這篇文章底部的錯誤日誌。現在,this bug seems to have been around in one form or another 12年!最新的補丁似乎在一個名爲KarmaPreferences.java的文件中。現在,這個文件似乎是一個JavaScript模塊的一部分。看來我應該能夠簡單地禁用或卸載javascript支持,而不必從夜間構建中重新安裝netbeans,打破誰知道過程中還有什麼。但是,當我嘗試從ModuleManager執行此操作時,我被告知應該完全不相關的一堆模塊將被卸載,包括Ant,Java(認真?!),Python,Service Registry和IDE Platform。在香草插件對話框中,Javascript甚至不會顯示爲已安裝或可安裝的插件。因此,如果我願意擺脫不必要的模塊,那麼我應該卸載哪些內容才能讓Netbeans在每次打開文件時都停止凍結?或者,下面是一個紅鯡魚,我應該尋找其他地方Netbeans凍結的原因?謝謝。netbeans中的bug 10778(從readAccess到writeAccess)有沒有解決方法?
SEVERE [org.openide.util.Exceptions]
java.lang.IllegalStateException: WARNING: Going from readAccess to writeAccess through queue, see #10778: http://www.netbeans.org/issues/show_bug.cgi?
id=10778
[catch] at org.openide.util.Mutex.enterImpl(Mutex.java:709)
at org.openide.util.Mutex.enter(Mutex.java:641)
at org.openide.util.Mutex.writeEnter(Mutex.java:619)
at org.openide.util.Mutex.writeAccess(Mutex.java:440)
at org.netbeans.modules.python.api.PythonPlatformManager.storePlatform(PythonPlatformManager.java:212)
at org.netbeans.modules.python.api.PythonPlatformManager.getBundledPlatform(PythonPlatformManager.java:98)
at org.netbeans.modules.python.api.PythonPlatformManager.load(PythonPlatformManager.java:176)
at org.netbeans.modules.python.api.PythonPlatformManager.<init>(PythonPlatformManager.java:61)
at org.netbeans.modules.python.api.PythonPlatformManager.getInstance(PythonPlatformManager.java:112)
at org.netbeans.modules.python.project.ui.actions.RunSingleCommand.<init>(RunSingleCommand.java:34)
at org.netbeans.modules.python.project.PythonActionProvider.<init>(PythonActionProvider.java:45)
at org.netbeans.modules.python.project.PythonProject.createLookup(PythonProject.java:95)
at org.netbeans.modules.python.project.PythonProject.<init>(PythonProject.java:72)
at org.netbeans.modules.python.project.PythonProjectType.createProject(PythonProjectType.java:31)
at org.netbeans.modules.project.ant.AntBasedProjectFactorySingleton.loadProject(AntBasedProjectFactorySingleton.java:264)
at org.netbeans.api.project.ProjectManager.createProject(ProjectManager.java:371)
at org.netbeans.api.project.ProjectManager.access$300(ProjectManager.java:86)
at org.netbeans.api.project.ProjectManager$2.run(ProjectManager.java:292)
at org.netbeans.api.project.ProjectManager$2.run(ProjectManager.java:235)
at org.openide.util.Mutex.readAccess(Mutex.java:337)
at org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:235)
at org.netbeans.modules.projectapi.SimpleFileOwnerQueryImplementation.getOwner(SimpleFileOwnerQueryImplementation.java:129)
at org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:102)
at org.netbeans.modules.java.project.ProjectClassPathProvider.findClassPath(ProjectClassPathProvider.java:68)
at org.netbeans.api.java.classpath.ClassPath.getClassPath(ClassPath.java:628)
at org.netbeans.modules.parsing.impl.indexing.errors.Utilities.getSourceClassPathFor(Utilities.java:73)
at org.netbeans.modules.parsing.impl.indexing.errors.ErrorAnnotator$1.run(ErrorAnnotator.java:315)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Diagnostic information
我不明白什麼行爲準則我違反了,導致downvote,但我提前道歉。我幾乎不會每個人都得到一個低調的問題,我想解決這個問題。這是一個真正的問題,我正在阻止我冷,我真的需要修復它。 – f1r3br4nd