Can't view/edit ant files

I always get an error when trying to open an ant build file. This occurred in Milestone 1 as well as 2. Anyone else with this problem and been able to fix it?

I've created a jira - http://www.jetbrains.net/jira/browse/IDEA-14390

Here's the exception :
com/intellij/ant/AntBuildListener
java.lang.NoClassDefFoundError: com/intellij/ant/AntBuildListener
at com.yworks.antvis.idea.AntEditor.initListeners(DashoA10*..)
at com.yworks.antvis.idea.AntEditor.]]>(DashoA10*..)
at com.yworks.antvis.idea.AntEditorProvider.createEditor(Unknown Source)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:79)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$4.run(FileEditorManagerImpl.java:2)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:67)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2(FileEditorManagerImpl.java:318)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.a(FileEditorManagerImpl.java:378)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileWithProviders(FileEditorManagerImpl.java:248)
at com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.openFile(FileEditorManagerEx.java:0)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$5.run(FileEditorManagerImpl.java:0)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:118)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openEditor(FileEditorManagerImpl.java:427)
at com.intellij.openapi.fileEditor.OpenFileDescriptor.openFileAskingType(OpenFileDescriptor.java:143)
at com.intellij.openapi.fileEditor.OpenFileDescriptor.navigate(OpenFileDescriptor.java:109)
at com.intellij.ide.actions.GotoFileAction$1$1.run(GotoFileAction.java:3)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:2)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:192)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:147)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:130)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

4 comments
Comment actions Permalink

I am also having this problem. It started when I moved from 7.0.2 to 7.0.3. the only ant-related plugin listed is AntSupport which is necessary. Any ideas?

0
Comment actions Permalink

Hello Rich,

I am also having this problem.


So, you get the trace with

java.lang.NoClassDefFoundError: com/intellij/ant/AntBuildListener
at com.yworks.antvis.idea.AntEditor.initListeners(DashoA10*..)
at com.yworks.antvis.idea.AntEditor.]]>(DashoA10*..)
at com.yworks.antvis.idea.AntEditorProvider.createEditor(Unknown Source)

?

the only ant-related plugin listed is AntSupport


Or different trace?

Alexander.


0
Comment actions Permalink

Probably not much help but in my case I just needed to remove the AntExplorer plugin.

0
Comment actions Permalink

When I was looking for relevant plugins I didn't notice yWorks. Removing it solved the problem

0

Please sign in to leave a comment.