Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-5259

[classlib][awt] NPE while starting ArgoUML

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      The ArgoUML (latest stable version is 0.24) fails to start even on interpreter:

      > java -Xint -jar argouml.jar
      Uncaught exception in main:
      java.lang.reflect.InvocationTargetException
      at java.lang.reflect.Method.invoke(Method.java:317)
      at org.apache.harmony.vm.JarRunner.main(JarRunner.java:89)
      Caused by: java.lang.NullPointerException
      at java.awt.BorderLayout.constraints2Index(BorderLayout.java:446)
      at java.awt.BorderLayout.validateArrays(BorderLayout.java:428)
      at java.awt.BorderLayout.validate(BorderLayout.java:394)
      at java.awt.BorderLayout.minimumLayoutSize(BorderLayout.java:274)
      at javax.swing.JComponent.getMinimumSize(JComponent.java:439)
      at java.awt.BorderLayout.validateArrays(BorderLayout.java:435)
      at java.awt.BorderLayout.validate(BorderLayout.java:394)
      at java.awt.BorderLayout.minimumLayoutSize(BorderLayout.java:274)
      at javax.swing.JComponent.getMinimumSize(JComponent.java:439)
      at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.calculateContentAreaSize(BasicTabbedPaneUI.java:204)
      at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.calculateSize(BasicTabbedPaneUI.java:165) at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.minimumLayoutSize(BasicTabbedPaneUI.java:375)
      at javax.swing.JComponent.getMinimumSize(JComponent.java:439)
      at java.awt.BorderLayout.validateArrays(BorderLayout.java:435)
      at java.awt.BorderLayout.validate(BorderLayout.java:394)
      at java.awt.BorderLayout.layoutContainer(BorderLayout.java:303)
      at java.awt.Container.layout(Container.java:891)
      at java.awt.Container.doLayout(Container.java:532)
      at java.awt.Container.validate(Container.java:1174)
      at java.awt.Container.validateTree(Container.java:1189)
      at java.awt.Container.validate(Container.java:1175)
      at java.awt.Container.validateTree(Container.java:1189)
      at java.awt.Container.validate(Container.java:1175)
      at java.awt.Container.validateTree(Container.java:1189)
      at java.awt.Container.validate(Container.java:1175)
      at java.awt.Container.validateTree(Container.java:1189)
      at java.awt.Container.validate(Container.java:1175)
      at java.awt.Container.validateTree(Container.java:1189)
      at java.awt.Container.validate(Container.java:1175)
      at java.awt.Container.validateTree(Container.java:1189)
      at java.awt.Container.validate(Container.java:1175)
      at java.awt.Container.validateTree(Container.java:1189)
      at java.awt.Container.validate(Container.java:1175)
      at java.awt.Container.validateTree(Container.java:1189)
      at java.awt.Container.validate(Container.java:1175)
      at java.awt.Component.show(Component.java:3107)
      at java.awt.Window.show(Window.java:547)
      at java.awt.Component.show(Component.java:3122)
      at java.awt.Component.setVisible(Component.java:3095)
      at org.argouml.ui.ProjectBrowser.setVisible(ProjectBrowser.java:871)
      at org.argouml.application.Main.main(Main.java:363)
      at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
      at java.lang.reflect.Method.invoke(Method.java:317)
      ... 1 more

      Attachments

        Activity

          People

            Unassigned Unassigned
            varlax Alexey Varlamov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: