Ticket #17 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

illegal source range for broken callin binding

Reported by: stephan Owned by: stephan
Priority: major Milestone: OTDT_1.1.5
Component: dom Version: 1.1.4
Keywords: Cc:

Description

A callin binding without signatures but with parameter mappings produces the following stack trace while editing:

eclipse.buildId=I20070625.OTDT_1.1.4
java.version=1.6.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86 -data /home/stephan/workspaces/otdt-dev-smile
This is a continuation of log file /home/stephan/workspaces/otdt-dev-smile/.metadata/.bak_0.log
Created Time: 2007-11-05 01:35:05.792

Error
Mon Nov 05 23:23:04 CET 2007
Error in JDT Core during AST creation

java.lang.IllegalArgumentException
	at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2749)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:771)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:701)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:274)
	at org.eclipse.jdt.core.dom.ASTConverter.buildRoleTypeDeclaration(ASTConverter.java:3446)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:3339)
	at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:262)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:3329)
	at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1706)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:261)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:896)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:655)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:609)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:602)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:514)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:155)
	at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:140)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Change History

Changed 4 years ago by stephan

Testcase added in r16535, fixed in r16536 and r16537

Changed 4 years ago by stephan

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.