Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4379632

swing excption when entering Indic text in

    XMLWordPrintable

Details

    • 2d
    • sparc
    • solaris_7

    Description

      Input methods inside of Swing text components throw NullPointerExceptions when enter Indic text, if you're lucky you would be able to enter some text before it happens, but once it started to throw, it doesn't seem to stop.

      Exception occurred during event dispatching:
      java.lang.InternalError: Cannot construct general op for MaskBlit(Lsun/java2d/SurfaceData;Lsun/java2d/SurfaceData;Ljava/awt/Composite;IIIIII[BII)V XOR mode
              at sun.java2d.loops.GraphicsPrimitive.setupGeneralBinaryOp(GraphicsPrimitive.java:230)
              at sun.java2d.loops.MaskBlit.makePrimitive(MaskBlit.java:117)
              at sun.java2d.loops.GraphicsPrimitiveMgr.locate(GraphicsPrimitiveMgr.java:196)
              at sun.java2d.loops.MaskBlit.locate(MaskBlit.java:51)
              at sun.java2d.loops.Blit$General.<init>(Blit.java:120)
              at sun.java2d.loops.Blit.makePrimitive(Blit.java:109)
              at sun.java2d.loops.GraphicsPrimitiveMgr.locate(GraphicsPrimitiveMgr.java:196)
              at sun.java2d.loops.Blit.locate(Blit.java:46)
              at sun.java2d.loops.Blit.getFromCache(Blit.java:59)
              at sun.java2d.pipe.AlphaPaintPipe.renderPathTile(AlphaPaintPipe.java:119)
              at sun.java2d.pipe.SpanShapeRenderer$Composite.renderBox(SpanShapeRenderer.java:45)
              at sun.java2d.pipe.SpanShapeRenderer.spanClipLoop(SpanShapeRenderer.java:237)
              at sun.java2d.pipe.SpanShapeRenderer.renderSpans(SpanShapeRenderer.java:220)
              at sun.java2d.pipe.SpanShapeRenderer.drawBasicStroke(SpanShapeRenderer.java:110)
              at sun.java2d.pipe.SpanShapeRenderer.draw(SpanShapeRenderer.java:73)
              at sun.java2d.pipe.PixelToShapeConverter.drawLine(PixelToShapeConverter.java:37)
              at sun.java2d.pipe.ValidatePipe.drawLine(ValidatePipe.java:30)
              at sun.java2d.SunGraphics2D.drawLine(SunGraphics2D.java:1785)
              at javax.swing.text.JTextComponent$ComposedTextCaret.paint(JTextComponent.java:3008)
              at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:528)
              at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:658)
              at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:637)
              at javax.swing.JComponent.paintComponent(JComponent.java:412)
              at javax.swing.JComponent.paint(JComponent.java:713)
              at javax.swing.JComponent.paintWithBuffer(JComponent.java:4221)
              at javax.swing.JComponent._paintImmediately(JComponent.java:4164)
              at javax.swing.JComponent.paintImmediately(JComponent.java:3995)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:374)
              at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:119)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:368)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:127)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:117)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:96)
      ==============================================================================
      to produce, compile and run the attached test case.

      Should mention: you need to select Devanagari Input Method in order to enter Devanagari text.

      minchi.tien@eng

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mtiensunw Minchi Tien (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: