Bug 506648

Summary: Internal compiler error: java.lang.Exception: java.lang.IllegalArgumentException: Unknown location : CLASS_OUTPUT at
Product: [Eclipse Project] JDT Reporter: Felipe Pontes <felipepontes>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: stephan.herrmann
Version: 4.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=537405
Whiteboard: stalebug
Attachments:
Description Flags
Class path jars.
none
Command to compile the program. none

Description Felipe Pontes CLA 2016-10-27 13:47:37 EDT
Created attachment 265088 [details]
Class path jars.

IllegalArgumentException when trying to compile the following program using the eclipse batch compiler.

Program

   public class A {}

Steps to reproduce

   Extract the classpath-jars.tar.gz file contents and execute the command presented in command.txt file.

Current result

   ERROR in A.java (at line 0)
   	public class A{}
	^
   Internal compiler error: java.lang.Exception: java.lang.IllegalArgumentException: Unknown location : CLASS_OUTPUT at org.eclipse.jdt.internal.compiler.apt.dispatch.RoundDispatcher.handleProcessor(RoundDispatcher.java:169)

Expected result

   No internal compiler errors.

Configuration

   Software

      O.S.: Linux Ubuntu 14.04 64bits
      ECJ: org.eclipse.jdt.core-3.13.0-SNAPSHOT-batch-compiler.jar (Eclipse Neon 4.6)

   Hardware: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
Comment 1 Felipe Pontes CLA 2016-10-27 13:48:10 EDT
Created attachment 265089 [details]
Command to compile the program.
Comment 2 Stephan Herrmann CLA 2018-11-04 14:49:54 EST
This is also discussed on StackOverflow: https://stackoverflow.com/questions/52998733/ecj-fails-with-illegalargumentexception-processing-log4j-annotations
Comment 3 Eclipse Genie CLA 2020-10-25 05:38:42 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Eclipse Genie CLA 2022-10-18 02:37:06 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.