Bug 506648 - Internal compiler error: java.lang.Exception: java.lang.IllegalArgumentException: Unknown location : CLASS_OUTPUT at
Summary: Internal compiler error: java.lang.Exception: java.lang.IllegalArgumentExcept...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.6   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-27 13:47 EDT by Felipe Pontes CLA
Modified: 2022-10-18 02:37 EDT (History)
1 user (show)

See Also:


Attachments
Class path jars. (46.19 MB, application/gzip)
2016-10-27 13:47 EDT, Felipe Pontes CLA
no flags Details
Command to compile the program. (9.75 KB, text/plain)
2016-10-27 13:48 EDT, Felipe Pontes CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.