Child pages
  • Comments & Bugs
Skip to end of metadata
Go to start of metadata

Please add your comments and bugs here

  • No labels

5 Comments

  1. Anonymous

    Hi,

     I have been trying to generate a Jar all the day, without succuess

    I have actually many "NoClassDefFound" exception, although my classpath is ok and I can execute my application with no problem.

    What I was wondering about is that I don't have any element in the "Librairie" tab, neither in the "Librairies sources" tab in the JarTool window.

    I read in you guide that we have to do a right click on these tabs in order to add librairie. Actually I'm working on a mac os, and the right click is simply "ctrl" + click. However it doesn't work here!! Do you have any idea how to solve the problem!?

    Thanks a lot for your time.

    Lotfi 

  2. Anonymous

    I have IJ 6.0.5, Jar Toolv 6.2 and run with JRE 1.5.0_11. I get two empty lists (Directories and Resources) in the Project Resources tab. When I click Refresh I get this exception:

     Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(1061,693),button=1,modifiers=Button1,clickCount=1] on frame0
    java.lang.NullPointerException
     at com.intellij.openapi.roots.ModuleRootManager.getInstance(ModuleRootManager.java:36)
     at idea.jartool.JarPlugin.loadClasses(JarPlugin.java:83)
     at idea.jartool.ClassSelectionPanel.loadData(ClassSelectionPanel.java:532)
     at idea.jartool.ClassSelectionPanel.setData(ClassSelectionPanel.java:516)
     at idea.jartool.JarEditor.refresh(JarEditor.java:146)
     at idea.jartool.JarEditor.actionPerformed(JarEditor.java:177)
     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
     at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
     at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
     at java.awt.Component.processMouseEvent(Component.java:5501)
     at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
     at java.awt.Component.processEvent(Component.java:5266)
     at java.awt.Container.processEvent(Container.java:1966)
     at java.awt.Component.dispatchEventImpl(Component.java:3968)
     at java.awt.Container.dispatchEventImpl(Container.java:2024)
     at java.awt.Component.dispatchEvent(Component.java:3803)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
     at java.awt.Container.dispatchEventImpl(Container.java:2010)
     at java.awt.Window.dispatchEventImpl(Window.java:1778)
     at java.awt.Component.dispatchEvent(Component.java:3803)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
     at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:126)
     at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:62)
     at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:124)
     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)

     Is there a workaround for this NPE?

    Thanks

  3. Anonymous

    I got the same error message ,too ..

  4. Anonymous

    In Intellij 7.0M1 the method  ProjectImpl.getProjectFilePath() is not available anymore. I would be very thankful for an update that avoids this method. Jar tool is my absolute favorite idea plugin!

    -- Laura

    DETAILS: 

    I get this exception when creating a new jar tool project

    Deprecated method usage: ProjectImpl.getProjectFilePath().
    This method will cease to exist in IDEA 7.0 final release.
    Please contact plugin developers for plugin update.
    java.lang.Throwable
        at com.intellij.openapi.project.impl.ProjectImpl.getProjectFilePath(ProjectImpl.java:68)
        at idea.jartool.actions.CreateJarAction$1.run(CreateJarAction.java:51)
        at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:247)
        at idea.jartool.actions.CreateJarAction.actionPerformed(CreateJarAction.java:47)

     And this one when I select a previously working jar tool project with "make"

    Deprecated method usage: ProjectImpl.getProjectFile().
    This method will cease to exist in IDEA 7.0 final release.
    Please contact plugin developers for plugin update.
    java.lang.Throwable
        at com.intellij.openapi.project.impl.ProjectImpl.getProjectFile(ProjectImpl.java:64)
        at idea.jartool.actions.JarAction$2.run(JarAction.java:505)
        at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:247)
        at idea.jartool.actions.JarAction.createJar(JarAction.java:498)
        at idea.jartool.actions.JarAction.actionPerformed(JarAction.java:79)
        at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:0)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
        at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:30)
        at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:176)
        at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:127)
        at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:4)

     Furthermore, when doubleclicking one of the old jar tool projects, idea first did not associate it with the jar tool anymore. After selecting "jar", I get the following exception

    Deprecated method usage: ProjectImpl.getProjectFile().
    This method will cease to exist in IDEA 7.0 final release.
    Please contact plugin developers for plugin update.
    java.lang.Throwable
        at com.intellij.openapi.project.impl.ProjectImpl.getProjectFile(ProjectImpl.java:64)
        at idea.jartool.JarPlugin.loadJarProject(JarPlugin.java:162)
        at idea.jartool.JarPlugin.createEditor(JarPlugin.java:184)
        at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:279)
        at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$4.run(FileEditorManagerImpl.java:1)
        at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:47)
        at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:12)

  5. Hi!

    I have IDEA 6.0.5 build 6180

    jdk 1.6.0_02 or jdk 1.5.0_11

    Press button [...]  main class (tab Archive)

    Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(1093,508),button=1,modifiers=Button1,clickCount=1] on frame0: Argument 0 for @NotNull parameter of com/intellij/psi/search/GlobalSearchScope.moduleWithDependenciesScope must not be null
    java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/psi/search/GlobalSearchScope.moduleWithDependenciesScope must not be null
        at com.intellij.psi.search.GlobalSearchScope.moduleWithDependenciesScope(GlobalSearchScope.java)
        at idea.jartool.ClassSelectionPanel.selectMainClass(ClassSelectionPanel.java:1193)
        at idea.jartool.ClassSelectionPanel.actionPerformed(ClassSelectionPanel.java:997)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.Component.processMouseEvent(Component.java:5501)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
        at java.awt.Component.processEvent(Component.java:5266)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3968)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1778)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:126)
        at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:62)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:124)
        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)