Re: [Jastadd] Multiple declaration of attribute compilationUnit in class ASTNode

From: Jesper qvist <jesper.oqvist_at_cs.lth.se>
Date: Tue, 05 Feb 2013 21:14:14 +0100

Hi Eric,

Do you use the JastAdd trunk repository?

/Jesper

On 2013-02-05 17:35, Eric Bodden wrote:
> Hi all.
>
> For some strange reason, since yesterday I am getting an odd error
> message with respect to Java7Frontend/Literals.jrag. (see below)
> JastAdd complains about "Multiple declaration of attribute
> compilationUnit in class ASTNode", but unfortunately without telling
> me where the second conflicting definition might be located.
>
> The other odd thing is that I did no changes during the past few days
> that could have caused this to appear, nor can I see any changes to
> JastAdd during that period. Did you change anything during the past
> days that I might have missed or do you have any other explanation? If
> not, is there a way to ask JastAdd to tell me where the conflicting
> declaration is?
>
> Cheers,
> Eric
>
>
> ---------- Forwarded message ----------
> From: <bruch_at_cs.tu-darmstadt.de>
> Date: 5 February 2013 09:01
> Subject: Build failed in Jenkins: ABC #615
> To: eric.bodden_at_gmail.com
>
>
> See <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/615/>
>
> ------------------------------------------
> [...truncated 16218 lines...]
> [java] Building parse tables...
> [java] Computing non-terminal nullability...
> [java] Computing first sets...
> [java] Building state machine...
> [java] Filling in tables...
> [java] Checking for non-reduced productions...
> [java] Writing parser...
> [java] Closing files...
> [java] ------- CUP v0.10k Parser Generation Summary -------
> [java] 0 errors and 5 warnings
> [java] 155 terminals, 201 non-terminals, and 540 productions declared,
> [java] producing 1038 unique parse states.
> [java] 5 terminals declared but not used.
> [java] 0 non-terminals declared but not used.
> [java] 0 productions never reduced.
> [java] 0 conflicts detected (0 expected).
> [java] Code written to "Grm.java", and "sym.java".
> [java] ---------------------------------------------------- (v0.10k)
> [java] Opening files...
> [java] Parsing specification from standard input...
> [java] Checking specification...
> [java] Warning: Terminal "GOTO" was declared but never used
> [java] Warning: Terminal "THISJOINPOINT" was declared but never used
> [java] Warning: Terminal "THISJOINPOINTSTATICPART" was declared
> but never used
> [java] Warning: Terminal "CONST" was declared but never used
> [java] Warning: Terminal "THISENCLOSINGJOINPOINTSTATICPART" was
> declared but never used
> [java] Building parse tables...
> [java] Computing non-terminal nullability...
> [java] Computing first sets...
> [java] Building state machine...
> [java] Filling in tables...
> [java] Checking for non-reduced productions...
> [java] Writing parser...
> [java] Closing files...
> [java] ------- CUP v0.10k Parser Generation Summary -------
> [java] 0 errors and 5 warnings
> [java] 167 terminals, 202 non-terminals, and 556 productions declared,
> [java] producing 1099 unique parse states.
> [java] 5 terminals declared but not used.
> [java] 0 non-terminals declared but not used.
> [java] 0 productions never reduced.
> [java] 0 conflicts detected (0 expected).
> [java] Code written to "Grm.java", and "sym.java".
> [java] ---------------------------------------------------- (v0.10k)
> [java] Opening files...
> [java] Parsing specification from standard input...
> [java] Checking specification...
> [java] Warning: Terminal "GOTO" was declared but never used
> [java] Warning: Terminal "THISJOINPOINT" was declared but never used
> [java] Warning: Terminal "THISJOINPOINTSTATICPART" was declared
> but never used
> [java] Warning: Terminal "CONST" was declared but never used
> [java] Warning: Terminal "THISENCLOSINGJOINPOINTSTATICPART" was
> declared but never used
> [java] Building parse tables...
> [java] Computing non-terminal nullability...
> [java] Computing first sets...
> [java] Building state machine...
> [java] Filling in tables...
> [java] Checking for non-reduced productions...
> [java] *** Production "aspectj_reserved_identifier ::=
> PC_WITHINCODE " never reduced
> [java] *** Production "aspectj_reserved_identifier ::= PC_WARNING
> " never reduced
> [java] *** Production "aspectj_reserved_identifier ::=
> PC_THROWING " never reduced
> [java] *** Production "aspectj_reserved_identifier ::= PC_TARGET
> " never reduced
> [java] *** Production "aspectj_reserved_identifier ::=
> PC_STATICINITIALIZATION " never reduced
> [java] *** Production "aspectj_reserved_identifier ::= PC_SOFT "
> never reduced
> [java] *** Production "aspectj_reserved_identifier ::= PC_SET "
> never reduced
> [java] *** Production "aspectj_reserved_identifier ::=
> PC_RETURNING " never reduced
> [java] *** Production "aspectj_reserved_identifier ::=
> PC_PREINITIALIZATION " never reduced
> [java] *** Production "aspectj_reserved_identifier ::=
> PC_PRECEDENCE " never reduced
> [java] *** Production "aspectj_reserved_identifier ::= PC_PARENTS
> " never reduced
> [java] *** Production "aspectj_reserved_identifier ::=
> PC_INITIALIZATION " never reduced
> [java] *** Production "aspectj_reserved_identifier ::= PC_HANDLER
> " never reduced
> [java] *** Production "aspectj_reserved_identifier ::= PC_GET "
> never reduced
> [java] *** Production "aspectj_reserved_identifier ::=
> PC_EXECUTION " never reduced
> [java] *** Production "aspectj_reserved_identifier ::= PC_ERROR "
> never reduced
> [java] *** Production "aspectj_reserved_identifier ::=
> PC_CFLOWBELOW " never reduced
> [java] *** Production "aspectj_reserved_identifier ::= PC_CFLOW "
> never reduced
> [java] *** Production "aspectj_reserved_identifier ::= PC_CALL "
> never reduced
> [java] *** Production "aspectj_reserved_identifier ::= PC_ARGS "
> never reduced
> [java] *** Production "aspectj_reserved_identifier ::=
> PC_ADVICEEXECUTION " never reduced
> [java] *** Production "aspectj_reserved_identifier ::= PRIVILEGED
> " never reduced
> [java] *** Production "aspectj_reserved_identifier ::= ASPECT "
> never reduced
> [java] Writing parser...
> [java] Closing files...
> [java] ------- CUP v0.10k Parser Generation Summary -------
> [java] 0 errors and 28 warnings
> [java] 179 terminals, 217 non-terminals, and 596 productions declared,
> [java] producing 1163 unique parse states.
> [java] 5 terminals declared but not used.
> [java] 0 non-terminals declared but not used.
> [java] 0 productions never reduced.
> [java] 0 conflicts detected (0 expected).
> [java] Code written to "Grm.java", and "sym.java".
> [java] ---------------------------------------------------- (v0.10k)
> [java] Opening files...
> [java] Parsing specification from standard input...
> [java] Checking specification...
> [java] Warning: Terminal "GOTO" was declared but never used
> [java] Warning: Terminal "THISJOINPOINT" was declared but never used
> [java] Warning: Terminal "THISJOINPOINTSTATICPART" was declared
> but never used
> [java] Warning: Terminal "CONST" was declared but never used
> [java] Warning: Terminal "THISENCLOSINGJOINPOINTSTATICPART" was
> declared but never used
> [java] Building parse tables...
> [java] Computing non-terminal nullability...
> [java] Computing first sets...
> [java] Building state machine...
> [java] Filling in tables...
> [java] Checking for non-reduced productions...
> [java] Writing parser...
> [java] Closing files...
> [java] ------- CUP v0.10k Parser Generation Summary -------
> [java] 0 errors and 5 warnings
> [java] 173 terminals, 219 non-terminals, and 605 productions declared,
> [java] producing 1190 unique parse states.
> [java] 5 terminals declared but not used.
> [java] 0 non-terminals declared but not used.
> [java] 0 productions never reduced.
> [java] 0 conflicts detected (0 expected).
> [java] Code written to "Grm.java", and "sym.java".
> [java] ---------------------------------------------------- (v0.10k)
> [java] Opening files...
> [java] Parsing specification from standard input...
> [java] Checking specification...
> [java] Warning: Terminal "GOTO" was declared but never used
> [java] Warning: Terminal "THISJOINPOINT" was declared but never used
> [java] Warning: Terminal "THISJOINPOINTSTATICPART" was declared
> but never used
> [java] Warning: Terminal "CONST" was declared but never used
> [java] Warning: Terminal "THISENCLOSINGJOINPOINTSTATICPART" was
> declared but never used
> [java] Warning: Non terminal "relational_aspect_decl" was
> declared but never used
> [java] Building parse tables...
> [java] Computing non-terminal nullability...
> [java] Computing first sets...
> [java] Building state machine...
> [java] Filling in tables...
> [java] Checking for non-reduced productions...
> [java] Writing parser...
> [java] Closing files...
> [java] ------- CUP v0.10k Parser Generation Summary -------
> [java] 0 errors and 6 warnings
> [java] 174 terminals, 221 non-terminals, and 614 productions declared,
> [java] producing 1218 unique parse states.
> [java] 6 terminals declared but not used.
> [java] 0 non-terminals declared but not used.
> [java] 0 productions never reduced.
> [java] 0 conflicts detected (0 expected).
> [java] Code written to "Grm.java", and "sym.java".
> [java] ---------------------------------------------------- (v0.10k)
>
> options-code:
> [xslt] Processing
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/src/abc/main/options/options.xml>
> to <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/generated/abc/main/options/Usage.java>
> [xslt] Loading stylesheet
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/src/abc/main/options/help-screen.xsl>
> [xslt] Processing
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/src/abc/main/options/options.xml>
> to <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/generated/abc/main/options/OptionsParser.java>
> [xslt] Loading stylesheet
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/src/abc/main/options/parser.xsl>
>
> runtime:
> [mkdir] Created dir:
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/runtime-classes>
> [javac] <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/build.xml>:84:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 86 source files to
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/runtime-classes>
> [javac] <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/runtime-src/org/aspectbench/runtime/reflect/SourceLocationImpl.java>:35:
> warning: [deprecation] getColumn() in
> org.aspectj.lang.reflect.SourceLocation has been deprecated
> [javac] public int getColumn() { return column; }
> [javac] ^
> [javac] 1 warning
>
> abc:
> [javac] <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/build.xml>:163:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 833 source files to
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/classes>
> [javac] <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/src/abc/eaj/weaving/weaver/maybeshared/TLOAnalysisManager.java>:35:
> warning: [deprecation]
> soot.jimple.toolkits.thread.mhp.UnsynchronizedMhpAnalysis in
> soot.jimple.toolkits.thread.mhp has been deprecated
> [javac] import soot.jimple.toolkits.thread.mhp.UnsynchronizedMhpAnalysis;
> [javac] ^
> [javac] <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/src/abc/eaj/weaving/weaver/maybeshared/TLOAnalysisManager.java>:73:
> warning: [deprecation]
> soot.jimple.toolkits.thread.mhp.UnsynchronizedMhpAnalysis in
> soot.jimple.toolkits.thread.mhp has been deprecated
> [javac] new
> ThreadLocalObjectsAnalysis(new UnsynchronizedMhpAnalysis());
> [javac]
> ^
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 warnings
>
> libdir:
>
> abc-jar:
> [jar] Building jar:
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/lib/abc.jar>
>
> paddle:
> [mkdir] Created dir:
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/paddle-classes>
> [javac] <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/build.xml>:66:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 1 source file to
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/paddle-classes>
> [javac] Note:
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/paddle-src/abc/weaving/weaver/CflowAnalysisImpl.java>
> uses unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
>
> paddle-jar:
> [jar] Building jar:
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/lib/abc-paddle.jar>
>
> runtime-jar:
> [jar] Building jar:
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/lib/abc-runtime.jar>
>
> testing:
> [mkdir] Created dir:
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/testing-classes>
> [javac] <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/build.xml>:107:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 3 source files to
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/testing-classes>
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
>
> testing-jar:
> [jar] Building jar:
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/lib/abc-testing.jar>
>
> complete-jar:
> [jar] Building jar:
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/lib/abc-complete.jar>
>
> abc-for-ajc-ant-jar:
> [jar] Building jar:
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc/lib/abc-for-ajc-ant.jar>
>
> jars:
> [copy] Copying 1 file to
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/615/artifact/build/release>
> [copy] Copying 1 file to
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/615/artifact/build/release>
> [copy] Copying 1 file to
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/615/artifact/build/release>
> [copy] Copying 1 file to
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/615/artifact/build/release>
>
> abc-ja-exts:
>
> defaultsettings:
>
> settings:
>
> cjp-parser:
> [mkdir] Created dir:
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc-ja-exts/generated/abc/ja/cjp/parse>
> [java] Parser specification JavaParser.beaver generated from JavaParser.all
> [beaver] JavaParser.beaver:83,12-83,25: Warning: declared terminal
> is not used by the grammar
> [beaver] %terminals DOUBLE_LITERAL;
> [beaver] ^------------^
> [beaver] JavaParser.beaver:82,12-82,33: Warning: declared terminal
> is not used by the grammar
> [beaver] %terminals FLOATING_POINT_LITERAL;
> [beaver] ^--------------------^
> [beaver] JavaParser.beaver:80,12-80,26: Warning: declared terminal
> is not used by the grammar
> [beaver] %terminals INTEGER_LITERAL;
> [beaver] ^-------------^
> [beaver] JavaParser.beaver:81,12-81,23: Warning: declared terminal
> is not used by the grammar
> [beaver] %terminals LONG_LITERAL;
> [beaver] ^----------^
> [beaver] JavaParser.beaver: Warning: Resolved Shift-Reduce conflict
> by selecting (LT: SHIFT; goto 378) over (LT: REDUCE
> class_or_interface_type = class_or_interface.n) using precedence.
> [beaver] JavaParser.beaver: Warning: Resolved Shift-Reduce conflict
> by selecting (LPAREN: SHIFT; goto 418) over (LPAREN: REDUCE
> marker_annotation = AT.AT name.name) using precedence.
> [beaver] JavaParser.beaver: 0 errors, 6 warnings.
> [beaver] JavaParser.beaver: Generated: JavaParser.java
>
> cjp-jrag:
> [echo] Generating to
> <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/abc-ja-exts/generated...>
> [jastadd] generating node types and weaving aspects
> [jastadd] Semantic errors:
> [jastadd] <http://vandyk.st.informatik.tu-darmstadt.de:8080/job/ABC/ws/JastAddJ/Java7Frontend/Literals.jrag>:451
> Multiple declaration of attribute compilationUnit in class ASTNode
> [jastadd]
> Build step 'Invoke Ant' marked build as failure
> Archiving artifacts
>
>
>
Received on Tue Feb 05 2013 - 21:14:16 CET

This archive was generated by hypermail 2.3.0 : Wed Apr 16 2014 - 17:19:06 CEST