facebook

Bug when I formatting source code!!!

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #298475 Reply

    luiz_ross
    Participant

    My enviroment is:

    – Windows Vista Business 64Bits
    – JDK 1.6.0_13 64Bits
    – MyEclipse 7.1.1

    and I had this error while I was trying to format my source code

    
    "Format" did not complete normally.  Please see the log for more information.
    java.lang.NullPointerException
    
    !ENTRY org.eclipse.ui 4 4 2009-05-15 16:43:01.022
    !MESSAGE "Format" did not complete normally.  Please see the log for more information.
    
    !ENTRY org.eclipse.ui 4 0 2009-05-15 16:43:01.037
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
        at org.eclipse.wst.xml.core.internal.formatter.DefaultXMLPartitionFormatter.formatComment(DefaultXMLPartitionFormatter.java:994)
        at org.eclipse.wst.xml.core.internal.formatter.DefaultXMLPartitionFormatter.formatRegion(DefaultXMLPartitionFormatter.java:445)
        at org.eclipse.wst.xml.core.internal.formatter.DefaultXMLPartitionFormatter.formatSiblings(DefaultXMLPartitionFormatter.java:478)
        at org.eclipse.wst.xml.core.internal.formatter.DefaultXMLPartitionFormatter.format(DefaultXMLPartitionFormatter.java:207)
        at org.eclipse.wst.xml.core.internal.formatter.DefaultXMLPartitionFormatter.format(DefaultXMLPartitionFormatter.java:163)
        at org.eclipse.wst.xml.ui.internal.XMLFormattingStrategy.format(XMLFormattingStrategy.java:61)
        at org.eclipse.jface.text.formatter.MultiPassContentFormatter.formatMaster(MultiPassContentFormatter.java:193)
        at org.eclipse.wst.sse.ui.StructuredTextMultiPassContentFormatter.formatMaster(StructuredTextMultiPassContentFormatter.java:56)
        at org.eclipse.jface.text.formatter.MultiPassContentFormatter.format(MultiPassContentFormatter.java:142)
        at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:513)
        at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:131)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:129)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
        at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
        at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
        at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
        at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
    

    This not occured in Myeclipse 7.1 version. What is happening?

    #298506 Reply

    luiz_ross,
    MyEclipse is not supported on 64 bit WIndows yet. Also, MyEclipse is not certified to run with JDK 1.6. So there are 2 problems here.
    I believe you are running into these compatibility issues.
    JDK 1.6 will be supported in the next release, 7.5

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Bug when I formatting source code!!!

You must be logged in to post in the forum log in