The first issue I got when I compiled my app was a bunch of errors
related to source missing from the bikeshed application. I fixed this
by removing the bikeshed jar from:

\eclipse\plugins\com.google.gwt.eclipse.sdkbundle.
2.1.0_2.1.0.m1-201005191217

After doing this development mode seems to work OK. However when I
compile my application I get

 [ERROR] An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error
during visit.
        at
com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:
73)
        at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:
255)
        at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:
243)
        at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:327)
        at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:295)
        at com.google.gwt.dev.jjs.ast.JModVisitor
$ListContextImmutable.traverse(JModVisitor.java:161)
        at
com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:
305)
        at com.google.gwt.dev.jjs.ast.JClassType.traverse(JClassType.java:63)
        at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:
314)
        at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:
266)
        at com.google.gwt.dev.jjs.ast.JProgram.traverse(JProgram.java:1269)
        at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:
314)
        at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:
251)
        at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:
243)
        at
com.google.gwt.dev.jjs.impl.gflow.DataflowOptimizer.execImpl(DataflowOptimizer.java:
114)
        at
com.google.gwt.dev.jjs.impl.gflow.DataflowOptimizer.exec(DataflowOptimizer.java:
43)
        at
com.google.gwt.dev.jjs.impl.gflow.DataflowOptimizer.exec(DataflowOptimizer.java:
52)
        at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.optimize(JavaToJavaScriptCompiler.java:
638)
        at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
560)
        at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
32)
        at com.google.gwt.dev.Precompile.precompile(Precompile.java:517)
        at com.google.gwt.dev.Precompile.precompile(Precompile.java:435)
        at com.google.gwt.dev.Compiler.run(Compiler.java:203)
        at com.google.gwt.dev.Compiler.run(Compiler.java:173)
        at com.google.gwt.dev.Compiler$1.run(Compiler.java:145)
        at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
87)
        at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
81)
        at com.google.gwt.dev.Compiler.main(Compiler.java:152)
Caused by: java.lang.IllegalArgumentException: Unhandled exit: BREAK
        at com.google.gwt.dev.jjs.impl.gflow.cfg.CfgBuilder
$BuilderVisitor.build(CfgBuilder.java:288)
        at
com.google.gwt.dev.jjs.impl.gflow.cfg.CfgBuilder.build(CfgBuilder.java:
1136)
        at com.google.gwt.dev.jjs.impl.gflow.DataflowOptimizer
$DataflowOptimizerVisitor.visit(DataflowOptimizer.java:64)
        at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:
80)
        at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:
314)
        at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:
251)
        ... 26 more
      [ERROR] at DateTimeFormatterBuilder.java(1986): {
  int limit = String.$length(text) - position;
  zeroOffset : if (this.iZeroOffsetParseText != null) {
    if (String.$length(this.iZeroOffsetParseText) == 0) {
      if (limit > 0) {
        final char c = String.$charAt(text, position);
        if (c == '-' || c == '+') {
          break zeroOffset;
        }
      }
      ((DateTimeParserBucket) bucket).iOffset = 0;
      ((DateTimeParserBucket) bucket).iZone = null;
      return position;
    }
    if (String.$regionMatches(text, position,
this.iZeroOffsetParseText, String.$length(this.iZeroOffsetParseText)))
{
      ((DateTimeParserBucket) bucket).iOffset = 0;
      ((DateTimeParserBucket) bucket).iZone = null;
      return position + String.$length(this.iZeroOffsetParseText);
    }
  }
  if (limit <= 1) {
    return ~position;
  }
  boolean negative;
  char c = String.$charAt(text, position);
  if (c == '-') {
    negative = true;
  } else if (c == '+') {
    negative = false;
  } else {
    return ~position;
  }
  --limit;
  ++position;
  if (DateTimeFormatterBuilder$TimeZoneOffset.$digitCount(text,
position, 2) < 2) {
    return ~position;
  }
  int offset;
  final int hours = FormatUtils.parseTwoDigits(text, position);
  if (hours > 23) {
    return ~position;
  }
  offset = hours * 3600000;
  limit -= 2;
  position += 2;
  parse : {
    if (limit <= 0) {
      break parse;
    }
    boolean expectSeparators;
    c = String.$charAt(text, position);
    if (c == ':') {
      expectSeparators = true;
      --limit;
      ++position;
    } else if (c >= '0' && c <= '9') {
      expectSeparators = false;
    } else {
      break parse;
    }
    int count = DateTimeFormatterBuilder$TimeZoneOffset.
$digitCount(text, position, 2);
    if (count == 0 && !expectSeparators) {
      break parse;
    } else if (count < 2) {
      return ~position;
    }
    final int minutes = FormatUtils.parseTwoDigits(text, position);
    if (minutes > 59) {
      return ~position;
    }
    offset += minutes * 60000;
    limit -= 2;
    position += 2;
    if (limit <= 0) {
      break parse;
    }
    if (expectSeparators) {
      if (String.$charAt(text, position) != ':') {
        break parse;
      }
      --limit;
      ++position;
    }
    count = DateTimeFormatterBuilder$TimeZoneOffset.$digitCount(text,
position, 2);
    if (count == 0 && !expectSeparators) {
      break parse;
    } else if (count < 2) {
      return ~position;
    }
    final int seconds = FormatUtils.parseTwoDigits(text, position);
    if (seconds > 59) {
      return ~position;
    }
    offset += seconds * 1000;
    limit -= 2;
    position += 2;
    if (limit <= 0) {
      break parse;
    }
    if (expectSeparators) {
      if (String.$charAt(text, position) != '.' && String.
$charAt(text, position) != ',') {
        break parse;
      }
      --limit;
      ++position;
    }
    count = DateTimeFormatterBuilder$TimeZoneOffset.$digitCount(text,
position, 3);
    if (count == 0 && !expectSeparators) {
      break parse;
    } else if (count < 1) {
      return ~position;
    }
    offset += (String.$charAt(text, position++) - '0') * 100;
    if (count > 1) {
      offset += (String.$charAt(text, position++) - '0') * 10;
      count > 2 && (offset += String.$charAt(text, position++) - '0');
    }
  }
  ((DateTimeParserBucket) bucket).iOffset = negative ? -offset :
offset;
  ((DateTimeParserBucket) bucket).iZone = null;
  return position;
}
         com.google.gwt.dev.jjs.ast.JMethodBody
      [ERROR] at DateTimeFormatterBuilder.java(1986): public final int
parseInto(DateTimeParserBucket bucket, String text, int position);

         com.google.gwt.dev.jjs.ast.JMethod
      [ERROR] at DateTimeFormatterBuilder.java(1880): final class
DateTimeFormatterBuilder$TimeZoneOffset extends Object implements
DateTimePrinter, DateTimeParser
         com.google.gwt.dev.jjs.ast.JClassType
      [ERROR] at com.google.gwt.dev.jjs.ast.JProgram(0): <JProgram>
         com.google.gwt.dev.jjs.ast.JProgram

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to