java.lang.IllegalArgumentException: Zero length string passed to TextLayout cons tructor.

Oracle Community | 807587 | 1 decade ago
  1. 0

    Printing to a PDF

    Oracle Community | 1 decade ago | 807587
    java.lang.IllegalArgumentException: Zero length string passed to TextLayout cons tructor.
  2. 0

    Harmonic Code: Friday Fun Component III

    blogspot.com | 1 year ago
    java.lang.IllegalArgumentException: Zero length string passed to TextLayout constructor.
  3. 0

    Large font size may cause an exception

    Netbeans Bugzilla | 1 decade ago | ssa
    java.lang.IllegalArgumentException: Zero length string passed to TextLayout constructor.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    what is wrong with this code ?

    Oracle Community | 2 decades ago | 807582
    java.lang.IllegalArgumentException: Zero length string passed to TextLayout constructor.
  6. 0

    Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.atlassian.theplugin.commons.bamboo.BambooStatusChecker$1@a5f4df,notifier=null,catchExceptions=false,when=1234371318682] on apple.awt.CToolkit@ecba42: Zero length string passed to TextLayout constructor. java.lang.IllegalArgumentException: Zero length string passed to TextLayout constructor. at java.awt.font.TextLayout.<init>(TextLayout.java:475) at com.atlassian.theplugin.idea.bamboo.tree.BuildTreeNode.<init>(BuildTreeNode.java:56) at com.atlassian.theplugin.idea.bamboo.tree.GeneralBuildNodeManipulator.getChild(GeneralBuildNodeManipulator.java:50) at com.atlassian.theplugin.idea.bamboo.tree.BuildTreeModel.getChild(BuildTreeModel.java:104) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1466) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1270) at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutCache.java:725) at javax.swing.tree.VariableHeightLayoutCache.treeStructureChanged(VariableHeightLayoutCache.java:626) at javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:3721) at javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:559) at javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:345) at com.atlassian.theplugin.idea.bamboo.tree.BuildTreeModel.update(BuildTreeModel.java:164) at com.atlassian.theplugin.idea.bamboo.tree.BuildTree$LocalBuildListModelListener.refreshTree(BuildTree.java:137) at com.atlassian.theplugin.idea.bamboo.tree.BuildTree$LocalBuildListModelListener.buildsChanged(BuildTree.java:126) at com.atlassian.theplugin.idea.bamboo.AbstractBuildListModelDecorator.buildsChanged(AbstractBuildListModelDecorator.java:58) at com.atlassian.theplugin.idea.bamboo.BuildListModelImpl$1.notify(BuildListModelImpl.java:81) at com.atlassian.theplugin.idea.bamboo.BuildListModelImpl.notifyListeners(BuildListModelImpl.java:130) at com.atlassian.theplugin.idea.bamboo.BuildListModelImpl.update(BuildListModelImpl.java:79) at com.atlassian.theplugin.idea.ThePluginProjectComponent$2.updateBuildStatuses(ThePluginProjectComponent.java:221) at com.atlassian.theplugin.commons.bamboo.BambooStatusChecker$1.run(BambooStatusChecker.java:119) 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:146) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:63) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:87) 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)

    Ecosystem JIRA | 8 years ago | Piotr Maruszak
    java.lang.IllegalArgumentException: Zero length string passed to TextLayout constructor.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Zero length string passed to TextLayout cons tructor.

      at java.awt.font.TextLayout.<init>()
    2. Java RT
      WPanelPeer.print
      1. java.awt.font.TextLayout.<init>(TextLayout.java:471)
      2. sun.java2d.pipe.OutlineTextRenderer.drawString(OutlineTextRenderer.java:67)
      3. sun.java2d.pipe.GlyphListPipe.drawString(GlyphListPipe.java:32)
      4. sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2534)
      5. sun.print.ProxyGraphics2D.drawString(ProxyGraphics2D.java:720)
      6. javax.swing.plaf.basic.BasicGraphicsUtils.drawStringUnderlineCharAt(BasicGraphicsUtils.java:234)
      7. javax.swing.plaf.basic.BasicLabelUI.paintEnabledText(BasicLabelUI.java:81)
      8. javax.swing.plaf.basic.BasicLabelUI.paint(BasicLabelUI.java:164)
      9. javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
      10. javax.swing.JComponent.paintComponent(JComponent.java:541)
      11. javax.swing.JComponent.printComponent(JComponent.java:908)
      12. javax.swing.JComponent.paint(JComponent.java:812)
      13. javax.swing.JComponent.print(JComponent.java:891)
      14. javax.swing.JComponent.paintChildren(JComponent.java:651)
      15. javax.swing.JComponent.printChildren(JComponent.java:921)
      16. javax.swing.JComponent.paint(JComponent.java:820)
      17. javax.swing.JComponent.print(JComponent.java:891)
      18. javax.swing.JComponent.paintChildren(JComponent.java:651)
      19. javax.swing.JComponent.printChildren(JComponent.java:921)
      20. javax.swing.JComponent.paint(JComponent.java:820)
      21. javax.swing.JComponent.print(JComponent.java:891)
      22. javax.swing.JComponent.paintChildren(JComponent.java:651)
      23. javax.swing.JComponent.printChildren(JComponent.java:921)
      24. javax.swing.JComponent.paint(JComponent.java:820)
      25. javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
      26. javax.swing.JComponent.print(JComponent.java:891)
      27. javax.swing.JComponent.paintChildren(JComponent.java:651)
      28. javax.swing.JComponent.printChildren(JComponent.java:921)
      29. javax.swing.JComponent.paint(JComponent.java:820)
      30. javax.swing.JComponent.print(JComponent.java:891)
      31. java.awt.GraphicsCallback$PrintCallback.run(GraphicsCallback.java:32)
      32. sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
      33. sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
      34. java.awt.Container.print(Container.java:1367)
      35. sun.awt.windows.WComponentPeer.print(WComponentPeer.java:223)
      36. sun.awt.windows.WCanvasPeer.print(WCanvasPeer.java:97)
      37. sun.awt.windows.WPanelPeer.print(WPanelPeer.java:26)
      37 frames