Started by an SCM change Building in workspace /var/lib/jenkins/workspace/μStories - Team B > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url http://sing-group.org/dt/gitlab/dgss-1819-teamB/microstories.git # timeout=10 Fetching upstream changes from http://sing-group.org/dt/gitlab/dgss-1819-teamB/microstories.git > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials > /usr/bin/git fetch --tags --progress http://sing-group.org/dt/gitlab/dgss-1819-teamB/microstories.git +refs/heads/*:refs/remotes/origin/* > /usr/bin/git rev-parse origin/develop^{commit} # timeout=10 Checking out Revision 8832079545757e69752b8797334c37a5fe80b8e9 (origin/develop) Commit message: "Fix task19 adds increase views" > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 8832079545757e69752b8797334c37a5fe80b8e9 > /usr/bin/git rev-list 552db60616765b342cddb751739cffb9675e7946 # timeout=10 Xvfb starting$ Xvfb -displayfd 2 -screen 0 1024x768x24 -fbdir /var/lib/jenkins/xvfb-87-8541032115569117466.fbdir Parsing POMs Established TCP socket on 44953 [μStories - Team B] $ /usr/lib/jvm/java-8-oracle//bin/java -Xmx2048m -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven33-agent-1.11.jar:/usr/share/maven3/boot/plexus-classworlds-2.5.2.jar:/usr/share/maven3/conf/logging jenkins.maven3.agent.Maven33Main /usr/share/maven3 /var/cache/jenkins/war/WEB-INF/lib/remoting-3.12.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven33-interceptor-1.11.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.11.jar 44953 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/workspace/μStories - Team B/pom.xml clean install [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] μStories 18/19 Team B [INFO] Domain [INFO] Tests [INFO] Service [INFO] REST [INFO] JSF [INFO] EAR [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building μStories 18/19 Team B 0.2.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dgss1819-teamB-microstories-pom --- [INFO] Deleting /var/lib/jenkins/workspace/μStories - Team B/target [INFO] [INFO] --- maven-dependency-plugin:2.10:unpack (unpack) @ dgss1819-teamB-microstories-pom --- [INFO] Configured Artifact: org.wildfly:wildfly-dist:10.1.0.Final:zip [INFO] Unpacking /var/lib/jenkins/.m2/repository/org/wildfly/wildfly-dist/10.1.0.Final/wildfly-dist-10.1.0.Final.zip to /var/lib/jenkins/workspace/μStories - Team B/target with includes "" and excludes "" [INFO] [INFO] --- maven-resources-plugin:3.0.2:copy-resources (copy-wildfly-resources) @ dgss1819-teamB-microstories-pom --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/μStories - Team B/src/test/resources-wildfly-embedded-h2 [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ dgss1819-teamB-microstories-pom >>> [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ dgss1819-teamB-microstories-pom <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ dgss1819-teamB-microstories-pom --- [INFO] [INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @ dgss1819-teamB-microstories-pom --- [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ dgss1819-teamB-microstories-pom --- [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/pom.xml to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-pom/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-pom-0.2.0-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Domain 0.2.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dgss1819-teamB-microstories-domain --- [INFO] Deleting /var/lib/jenkins/workspace/μStories - Team B/domain/target [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-unit-test) @ dgss1819-teamB-microstories-domain --- [INFO] argLine set to "-javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/var/lib/jenkins/workspace/μStories - Team B/domain/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/μStories - Team B/target/classes" [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ dgss1819-teamB-microstories-domain --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/μStories - Team B/domain/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ dgss1819-teamB-microstories-domain --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to /var/lib/jenkins/workspace/μStories - Team B/domain/target/classes [INFO] [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ dgss1819-teamB-microstories-domain --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/μStories - Team B/domain/src/test/resources [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/μStories - Team B/domain/src/test/resources-wildfly-embedded-h2 [INFO] [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ dgss1819-teamB-microstories-domain --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /var/lib/jenkins/workspace/μStories - Team B/domain/target/test-classes [INFO] [INFO] --- maven-dependency-plugin:2.10:unpack (unpack) @ dgss1819-teamB-microstories-domain --- [INFO] Configured Artifact: org.wildfly:wildfly-dist:10.1.0.Final:zip [INFO] Unpacking /var/lib/jenkins/.m2/repository/org/wildfly/wildfly-dist/10.1.0.Final/wildfly-dist-10.1.0.Final.zip to /var/lib/jenkins/workspace/μStories - Team B/domain/target with includes "" and excludes "" [INFO] [INFO] --- maven-resources-plugin:3.0.2:copy-resources (copy-wildfly-resources) @ dgss1819-teamB-microstories-domain --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/μStories - Team B/domain/src/test/resources-wildfly-embedded-h2 [INFO] [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ dgss1819-teamB-microstories-domain --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running es.uvigo.esei.dgss.teamB.microstories.entities.EntitiesTestSuite [INFO] Tests run: 81, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.444 s - in es.uvigo.esei.dgss.teamB.microstories.entities.EntitiesTestSuite [INFO] [INFO] Results: [INFO] [INFO] Tests run: 81, Failures: 0, Errors: 0, Skipped: 0 [INFO] [JENKINS] Recording test results [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:report (post-unit-test) @ dgss1819-teamB-microstories-domain --- [INFO] Loading execution data file /var/lib/jenkins/workspace/μStories - Team B/domain/target/jacoco.exec [INFO] Analyzed bundle 'Domain' with 6 classes [INFO] [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ dgss1819-teamB-microstories-domain --- [INFO] Building jar: /var/lib/jenkins/workspace/μStories - Team B/domain/target/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT.jar [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ dgss1819-teamB-microstories-domain >>> [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-unit-test) @ dgss1819-teamB-microstories-domain --- [INFO] argLine set to "-javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/var/lib/jenkins/workspace/μStories - Team B/domain/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/μStories - Team B/target/classes" [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ dgss1819-teamB-microstories-domain <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ dgss1819-teamB-microstories-domain --- [INFO] Building jar: /var/lib/jenkins/workspace/μStories - Team B/domain/target/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @ dgss1819-teamB-microstories-domain --- [INFO] Loading source files for package es.uvigo.esei.dgss.teamB.microstories.entities... Constructing Javadoc information... Standard Doclet version 1.8.0_144 Building tree for all the packages and classes... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/Author.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/Genre.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/Story.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/Theme.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/User.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/package-frame.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/package-summary.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/package-tree.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/constant-values.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/serialized-form.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/class-use/Story.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/class-use/User.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/class-use/Genre.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/class-use/Author.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/class-use/Theme.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/package-use.html... Building index for all the packages and classes... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/overview-tree.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/index-all.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/deprecated-list.html... Building index for all classes... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/allclasses-frame.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/allclasses-noframe.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/index.html... Generating /var/lib/jenkins/workspace/μStories - Team B/domain/target/apidocs/help-doc.html... [INFO] Building jar: /var/lib/jenkins/workspace/μStories - Team B/domain/target/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT-javadoc.jar [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-integration-test) @ dgss1819-teamB-microstories-domain --- [INFO] argLine set to "-javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/var/lib/jenkins/workspace/μStories - Team B/domain/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/μStories - Team B/target/classes" [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:report (post-integration-test) @ dgss1819-teamB-microstories-domain --- [INFO] Loading execution data file /var/lib/jenkins/workspace/μStories - Team B/domain/target/jacoco.exec [INFO] Analyzed bundle 'Domain' with 6 classes [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ dgss1819-teamB-microstories-domain --- [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/domain/target/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-domain/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT.jar [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/domain/pom.xml to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-domain/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT.pom [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/domain/target/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-domain/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT-sources.jar [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/domain/target/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT-javadoc.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-domain/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT-javadoc.jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Tests 0.2.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dgss1819-teamB-microstories-tests --- [INFO] Deleting /var/lib/jenkins/workspace/μStories - Team B/tests/target [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ dgss1819-teamB-microstories-tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ dgss1819-teamB-microstories-tests --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 8 source files to /var/lib/jenkins/workspace/μStories - Team B/tests/target/classes [INFO] [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ dgss1819-teamB-microstories-tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/μStories - Team B/tests/src/test/resources [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/μStories - Team B/tests/src/test/resources-wildfly-embedded-h2 [INFO] [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ dgss1819-teamB-microstories-tests --- [INFO] No sources to compile [INFO] [INFO] --- maven-dependency-plugin:2.10:unpack (unpack) @ dgss1819-teamB-microstories-tests --- [INFO] Configured Artifact: org.wildfly:wildfly-dist:10.1.0.Final:zip [INFO] Unpacking /var/lib/jenkins/.m2/repository/org/wildfly/wildfly-dist/10.1.0.Final/wildfly-dist-10.1.0.Final.zip to /var/lib/jenkins/workspace/μStories - Team B/tests/target with includes "" and excludes "" [INFO] [INFO] --- maven-resources-plugin:3.0.2:copy-resources (copy-wildfly-resources) @ dgss1819-teamB-microstories-tests --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/μStories - Team B/tests/src/test/resources-wildfly-embedded-h2 [INFO] [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ dgss1819-teamB-microstories-tests --- [INFO] No tests to run. [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ dgss1819-teamB-microstories-tests --- [INFO] Building jar: /var/lib/jenkins/workspace/μStories - Team B/tests/target/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT.jar [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ dgss1819-teamB-microstories-tests >>> [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ dgss1819-teamB-microstories-tests <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ dgss1819-teamB-microstories-tests --- [INFO] Building jar: /var/lib/jenkins/workspace/μStories - Team B/tests/target/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @ dgss1819-teamB-microstories-tests --- [INFO] Loading source files for package es.uvigo.esei.dgss.teamB.microstories.service.util.security... Loading source files for package es.uvigo.esei.dgss.teamB.microstories.entities... Loading source files for package es.uvigo.esei.dgss.teamB.microstories.http.util... Constructing Javadoc information... Standard Doclet version 1.8.0_144 Building tree for all the packages and classes... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/service/util/security/AuthorRoleCaller.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/service/util/security/RoleCaller.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/service/util/security/RoleCaller.ThrowingRunnable.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/service/util/security/RoleCaller.ThrowingSupplier.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/service/util/security/TestPrincipal.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/IsEqualToAuthor.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/IsEqualToEntity.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/IsEqualToStory.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/StoriesDataset.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/http/util/HasHttpStatus.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/overview-frame.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/package-frame.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/package-summary.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/package-tree.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/http/util/package-frame.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/http/util/package-summary.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/http/util/package-tree.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/service/util/security/package-frame.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/service/util/security/package-summary.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/service/util/security/package-tree.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/constant-values.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/service/util/security/class-use/RoleCaller.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/service/util/security/class-use/RoleCaller.ThrowingRunnable.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/service/util/security/class-use/RoleCaller.ThrowingSupplier.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/service/util/security/class-use/AuthorRoleCaller.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/service/util/security/class-use/TestPrincipal.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/class-use/IsEqualToEntity.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/class-use/StoriesDataset.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/class-use/IsEqualToAuthor.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/class-use/IsEqualToStory.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/http/util/class-use/HasHttpStatus.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/entities/package-use.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/http/util/package-use.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/service/util/security/package-use.html... Building index for all the packages and classes... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/overview-tree.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/index-all.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/deprecated-list.html... Building index for all classes... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/allclasses-frame.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/allclasses-noframe.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/index.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/overview-summary.html... Generating /var/lib/jenkins/workspace/μStories - Team B/tests/target/apidocs/help-doc.html... [INFO] Building jar: /var/lib/jenkins/workspace/μStories - Team B/tests/target/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT-javadoc.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ dgss1819-teamB-microstories-tests --- [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/tests/target/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-tests/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT.jar [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/tests/pom.xml to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-tests/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT.pom [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/tests/target/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-tests/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT-sources.jar [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/tests/target/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT-javadoc.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-tests/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT-javadoc.jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Service 0.2.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dgss1819-teamB-microstories-service --- [INFO] Deleting /var/lib/jenkins/workspace/μStories - Team B/service/target [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-unit-test) @ dgss1819-teamB-microstories-service --- [INFO] argLine set to "-javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/var/lib/jenkins/workspace/μStories - Team B/service/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/μStories - Team B/target/classes" [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ dgss1819-teamB-microstories-service --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ dgss1819-teamB-microstories-service --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /var/lib/jenkins/workspace/μStories - Team B/service/target/classes [INFO] [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ dgss1819-teamB-microstories-service --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ dgss1819-teamB-microstories-service --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /var/lib/jenkins/workspace/μStories - Team B/service/target/test-classes [INFO] /var/lib/jenkins/workspace/μStories - Team B/service/src/test/java/es/uvigo/esei/dgss/teamB/microstories/StoryEJBIntegrationTest.java: /var/lib/jenkins/workspace/μStories - Team B/service/src/test/java/es/uvigo/esei/dgss/teamB/microstories/StoryEJBIntegrationTest.java uses unchecked or unsafe operations. [INFO] /var/lib/jenkins/workspace/μStories - Team B/service/src/test/java/es/uvigo/esei/dgss/teamB/microstories/StoryEJBIntegrationTest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-dependency-plugin:2.10:unpack (unpack) @ dgss1819-teamB-microstories-service --- [INFO] Configured Artifact: org.wildfly:wildfly-dist:10.1.0.Final:zip [INFO] Unpacking /var/lib/jenkins/.m2/repository/org/wildfly/wildfly-dist/10.1.0.Final/wildfly-dist-10.1.0.Final.zip to /var/lib/jenkins/workspace/μStories - Team B/service/target with includes "" and excludes "" [INFO] [INFO] --- maven-resources-plugin:3.0.2:copy-resources (copy-wildfly-resources) @ dgss1819-teamB-microstories-service --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ dgss1819-teamB-microstories-service --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running es.uvigo.esei.dgss.teamB.microstories.ServiceIntegrationTestSuite 18:30:52,961 INFO [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final 18:30:53,420 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1 18:30:53,732 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) starting 18:31:01,940 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http) 18:31:01,986 INFO [org.xnio] (MSC service thread 1-3) XNIO version 3.4.0.Final 18:31:02,002 INFO [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.4.0.Final 18:31:02,063 INFO [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 4.0.21.Final 18:31:02,544 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 44) WFLYNAM0001: Activating Naming Subsystem 18:31:02,575 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 36) WFLYCLINF0001: Activating Infinispan subsystem. 18:31:02,577 INFO [org.jboss.as.security] (ServerService Thread Pool -- 49) WFLYSEC0002: Activating Security Subsystem 18:31:02,584 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 50) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique. 18:31:02,585 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 42) WFLYJSF0007: Activated the following JSF Implementations: [main] 18:31:02,605 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 52) WFLYWS0002: Activating WebServices Extension 18:31:02,654 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 35) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors 18:31:02,750 INFO [org.jboss.as.security] (MSC service thread 1-2) WFLYSEC0001: Current PicketBox version=4.9.6.Final 18:31:02,914 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default] 18:31:02,915 INFO [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service 18:31:02,946 INFO [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.4.Final) 18:31:02,995 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0003: Undertow 1.4.0.Final starting 18:31:03,153 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 30) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 18:31:03,186 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = h2 18:31:03,323 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 51) WFLYUT0014: Creating file handler for path '/var/lib/jenkins/workspace/μStories - Team B/service/target/wildfly-10.1.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]'] 18:31:03,392 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0012: Started server default-server. 18:31:03,452 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0018: Host default-host starting 18:31:03,705 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:38080 18:31:05,190 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-1) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.4.Final 18:31:05,233 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/dgss1819/teamB/microstories] 18:31:05,230 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS] 18:31:05,266 INFO [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBossWS 5.1.5.Final (Apache CXF 3.1.6) 18:31:05,276 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 54) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:31:05,278 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 54) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:31:05,278 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 56) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:31:05,280 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 56) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:31:05,300 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) WFLYDS0013: Started FileSystemDeploymentService for directory /var/lib/jenkins/workspace/μStories - Team B/service/target/wildfly-10.1.0.Final/standalone/deployments 18:31:05,654 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:39990/management 18:31:05,657 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:39990 18:31:05,657 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started in 12531ms - Started 302 of 506 services (325 services are lazy, passive or on-demand) 18:31:06,509 WARNING [org.jboss.arquillian.core.spi.ObserverMethod] (main) Argument 2 for ArquillianServiceDeployer.doServiceDeploy is null. It won't be invoked. 18:31:09,067 INFO [org.jboss.remoting] (main) JBoss Remoting version 5.0.2.Final 18:31:09,152 INFO [org.xnio] (main) XNIO version 3.5.1.Final 18:31:09,168 INFO [org.xnio.nio] (main) XNIO NIO Implementation Version 3.5.1.Final 18:31:09,297 INFO [org.wildfly.security] (main) ELY00001: WildFly Elytron version 1.1.2.Final 18:31:11,646 INFO [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0001: Content added at location /var/lib/jenkins/workspace/μStories - Team B/service/target/wildfly-10.1.0.Final/standalone/data/content/df/578218f72e5d61be6673f5eb76eec8e9625d3e/content 18:31:11,679 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "test.war" (runtime-name: "test.war") 18:31:13,798 INFO [org.jboss.as.jpa] (MSC service thread 1-4) WFLYJPA0002: Read persistence.xml for test 18:31:13,973 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 6) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'test.war#test' 18:31:14,028 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 6) HHH000204: Processing PersistenceUnitInfo [ name: test ...] 18:31:14,182 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0003: Processing weld deployment test.war 18:31:14,271 INFO [org.hibernate.Version] (ServerService Thread Pool -- 6) HHH000412: Hibernate Core {5.0.10.Final} 18:31:14,275 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 6) HHH000206: hibernate.properties not found 18:31:14,277 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 6) HHH000021: Bytecode provider name : javassist 18:31:14,384 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread 1-2) HV000001: Hibernate Validator 5.2.4.Final 18:31:14,429 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 6) HCANN000001: Hibernate Commons Annotations {5.0.1.Final} 18:31:14,702 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-2) WFLYEJB0473: JNDI bindings for session bean named 'StoryEJB' in deployment unit 'deployment "test.war"' are as follows: java:global/test/StoryEJB!es.uvigo.esei.dgss.teamB.microstories.StoryEJB java:app/test/StoryEJB!es.uvigo.esei.dgss.teamB.microstories.StoryEJB java:module/StoryEJB!es.uvigo.esei.dgss.teamB.microstories.StoryEJB java:global/test/StoryEJB java:app/test/StoryEJB java:module/StoryEJB 18:31:14,702 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-2) WFLYEJB0473: JNDI bindings for session bean named 'StorySchedulerEJB' in deployment unit 'deployment "test.war"' are as follows: java:global/test/StorySchedulerEJB!es.uvigo.esei.dgss.teamB.microstories.StorySchedulerEJB java:app/test/StorySchedulerEJB!es.uvigo.esei.dgss.teamB.microstories.StorySchedulerEJB java:module/StorySchedulerEJB!es.uvigo.esei.dgss.teamB.microstories.StorySchedulerEJB java:global/test/StorySchedulerEJB java:app/test/StorySchedulerEJB java:module/StorySchedulerEJB 18:31:14,704 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-2) WFLYEJB0473: JNDI bindings for session bean named 'author-caller' in deployment unit 'deployment "test.war"' are as follows: java:global/test/author-caller!es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller java:app/test/author-caller!es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller java:module/author-caller!es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller java:global/test/author-caller java:app/test/author-caller java:module/author-caller 18:31:15,149 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 6) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:31:15,150 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 6) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:31:15,297 INFO [org.jboss.weld.Version] (MSC service thread 1-3) WELD-000900: 2.3.5 (Final) 18:31:15,917 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 22) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'test.war#test' 18:31:15,991 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 6) WFLYCLINF0002: Started client-mappings cache from ejb container 18:31:16,688 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 22) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 18:31:16,699 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 22) HHH000431: Unable to determine H2 database version, certain features may not work 18:31:16,772 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 22) Envers integration enabled? : true 18:31:17,737 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 22) HHH000227: Running hbm2ddl schema export Hibernate: drop table Story if exists Hibernate: drop table User if exists Hibernate: create table Story (id integer generated by default as identity, genre varchar(9) not null, primaryTheme varchar(14) not null, publicationDate timestamp, secondaryTheme varchar(14), text varchar(1000) not null, title varchar(100) not null, views integer not null, author varchar(100) not null, primary key (id)) Hibernate: create table User (role varchar(6) not null, login varchar(100) not null, password varchar(32) not null, primary key (login)) Hibernate: alter table Story add constraint FK41c3muado6my0qji9vkunreuy foreign key (author) references User 18:31:17,770 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 22) HHH000230: Schema export complete 18:31:19,412 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 6) WFLYUT0021: Registered web context: /test 18:31:19,473 INFO [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0010: Deployed "test.war" (runtime-name : "test.war") 18:31:20,677 ERROR [org.jboss.as.ejb3.invocation] (default task-1) WFLYEJB0034: EJB Invocation failed on component StoryEJB for method public int es.uvigo.esei.dgss.teamB.microstories.StoryEJB.removeStory(int): javax.ejb.EJBAccessException: WFLYEJB0364: Invocation on method: public int es.uvigo.esei.dgss.teamB.microstories.StoryEJB.removeStory(int) of bean: StoryEJB is not allowed at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:134) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view1.removeStory(Unknown Source) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.removeStory(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.testRemoveStoryAsUser(StoryEJBIntegrationTest.java:379) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] 18:31:21,061 INFO [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (default task-11) HHH000397: Using ASTQueryTranslatorFactory Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and (story0_.primaryTheme='CHILDREN' or story0_.secondaryTheme='CHILDREN') order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.genre='NANOSTORY' order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.genre like 'STORY' order by story0_.views DESC limit ? Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.genre like 'NANOSTORY' order by story0_.views DESC limit ? Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.genre like 'POETRY' order by story0_.views DESC limit ? Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.publicationDate is not null order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.publicationDate is not null order by story0_.publicationDate DESC Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC limit ? Hibernate: insert into Story (id, author, genre, primaryTheme, publicationDate, secondaryTheme, text, title, views) values (null, ?, ?, ?, ?, ?, ?, ?, ?) Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC 18:31:22,661 ERROR [org.jboss.as.ejb3.invocation] (default task-8) WFLYEJB0034: EJB Invocation failed on component StoryEJB for method public java.util.List es.uvigo.esei.dgss.teamB.microstories.StoryEJB.getByText(java.lang.String,java.lang.Integer,java.lang.Integer): javax.ejb.EJBTransactionRolledbackException at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:159) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:256) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:138) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view1.getByText(Unknown Source) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.getByText(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.testGetByTextNull(StoryEJBIntegrationTest.java:114) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] Caused by: java.lang.NullPointerException at es.uvigo.esei.dgss.teamB.microstories.StoryEJB.getByText(StoryEJB.java:104) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] ... 191 more Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.genre like 'STORY' order by story0_.views DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.genre like 'NANOSTORY' order by story0_.views DESC limit ? Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.genre like 'POETRY' order by story0_.views DESC limit ? 18:31:22,971 ERROR [org.jboss.as.ejb3.invocation] (default task-14) WFLYEJB0034: EJB Invocation failed on component StoryEJB for method public es.uvigo.esei.dgss.teamB.microstories.entities.Story es.uvigo.esei.dgss.teamB.microstories.StoryEJB.updateStory(es.uvigo.esei.dgss.teamB.microstories.entities.Story): javax.ejb.EJBAccessException: WFLYEJB0364: Invocation on method: public es.uvigo.esei.dgss.teamB.microstories.entities.Story es.uvigo.esei.dgss.teamB.microstories.StoryEJB.updateStory(es.uvigo.esei.dgss.teamB.microstories.entities.Story) of bean: StoryEJB is not allowed at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:134) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view1.updateStory(Unknown Source) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.updateStory(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.testUpdateStoryAsUser(StoryEJBIntegrationTest.java:343) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC limit ? Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.publicationDate is not null order by story0_.publicationDate DESC Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.genre='NANOSTORY' and (story0_.primaryTheme='ADVENTURE' or story0_.secondaryTheme='ADVENTURE') order by story0_.publicationDate DESC limit ? Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.genre='NANOSTORY' and (story0_.primaryTheme='CHILDREN' or story0_.secondaryTheme='CHILDREN') order by story0_.publicationDate DESC limit ? Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.title like ? or story0_.text like ? order by story0_.publicationDate DESC limit ? Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.title like ? or story0_.text like ? order by story0_.publicationDate DESC Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC limit ? Hibernate: select story0_.id as id1_0_0_, story0_.author as author9_0_0_, story0_.genre as genre2_0_0_, story0_.primaryTheme as primaryT3_0_0_, story0_.publicationDate as publicat4_0_0_, story0_.secondaryTheme as secondar5_0_0_, story0_.text as text6_0_0_, story0_.title as title7_0_0_, story0_.views as views8_0_0_, author1_.login as login2_1_1_, author1_.password as password3_1_1_ from Story story0_ inner join User author1_ on story0_.author=author1_.login where story0_.id=? Hibernate: select stories0_.author as author9_0_0_, stories0_.id as id1_0_0_, stories0_.id as id1_0_1_, stories0_.author as author9_0_1_, stories0_.genre as genre2_0_1_, stories0_.primaryTheme as primaryT3_0_1_, stories0_.publicationDate as publicat4_0_1_, stories0_.secondaryTheme as secondar5_0_1_, stories0_.text as text6_0_1_, stories0_.title as title7_0_1_, stories0_.views as views8_0_1_ from Story stories0_ where stories0_.author=? ..... getviews 59 18:31:23,917 ERROR [org.jboss.as.ejb3.invocation] (default task-32) WFLYEJB0034: EJB Invocation failed on component StoryEJB for method public int es.uvigo.esei.dgss.teamB.microstories.StoryEJB.removeStory(int): javax.ejb.EJBTransactionRolledbackException: Story's author is not the user logged at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:159) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:256) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:138) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view1.removeStory(Unknown Source) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.removeStory(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.lambda$testRemoveStoryAsDifferentAuthor$15(StoryEJBIntegrationTest.java:399) [classes:] at es.uvigo.esei.dgss.teamB.microstories.service.util.security.AuthorRoleCaller.call(AuthorRoleCaller.java:15) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:138) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller$$$view3.call(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.testRemoveStoryAsDifferentAuthor(StoryEJBIntegrationTest.java:399) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] Caused by: javax.ejb.EJBAccessException: Story's author is not the user logged at es.uvigo.esei.dgss.teamB.microstories.StoryEJB.removeStory(StoryEJB.java:261) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] ... 257 more 18:31:23,934 ERROR [org.jboss.as.ejb3.invocation] (default task-32) WFLYEJB0034: EJB Invocation failed on component author-caller for method public abstract java.lang.Object es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller.call(java.util.function.Supplier): javax.ejb.EJBTransactionRolledbackException: Story's author is not the user logged at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:159) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:256) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:138) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view1.removeStory(Unknown Source) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.removeStory(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.lambda$testRemoveStoryAsDifferentAuthor$15(StoryEJBIntegrationTest.java:399) [classes:] at es.uvigo.esei.dgss.teamB.microstories.service.util.security.AuthorRoleCaller.call(AuthorRoleCaller.java:15) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:138) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller$$$view3.call(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.testRemoveStoryAsDifferentAuthor(StoryEJBIntegrationTest.java:399) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] Caused by: javax.ejb.EJBAccessException: Story's author is not the user logged at es.uvigo.esei.dgss.teamB.microstories.StoryEJB.removeStory(StoryEJB.java:261) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] ... 257 more 18:31:24,036 ERROR [org.jboss.as.ejb3.invocation] (default task-5) WFLYEJB0034: EJB Invocation failed on component StoryEJB for method public java.util.List es.uvigo.esei.dgss.teamB.microstories.StoryEJB.listSearchPagination(java.lang.Integer,java.lang.Integer,java.lang.String,java.lang.String,java.util.Date): javax.ejb.EJBTransactionRolledbackException at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:159) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:256) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:138) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view1.listSearchPagination(Unknown Source) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.listSearchPagination(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.testListSearchPaginationNull(StoryEJBIntegrationTest.java:147) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] Caused by: java.lang.NullPointerException at es.uvigo.esei.dgss.teamB.microstories.StoryEJB.listSearchPagination(StoryEJB.java:134) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] ... 189 more 18:31:24,148 ERROR [org.jboss.as.ejb3.invocation] (default task-4) WFLYEJB0034: EJB Invocation failed on component StoryEJB for method public es.uvigo.esei.dgss.teamB.microstories.entities.Story es.uvigo.esei.dgss.teamB.microstories.StoryEJB.updateStory(es.uvigo.esei.dgss.teamB.microstories.entities.Story): javax.ejb.EJBTransactionRolledbackException: Story's author is not the user logged at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:159) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:256) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:138) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view1.updateStory(Unknown Source) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.updateStory(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.lambda$testUpdateStoryAsDifferentAuthor$10(StoryEJBIntegrationTest.java:359) [classes:] at es.uvigo.esei.dgss.teamB.microstories.service.util.security.AuthorRoleCaller.call(AuthorRoleCaller.java:15) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:138) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller$$$view3.call(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.testUpdateStoryAsDifferentAuthor(StoryEJBIntegrationTest.java:359) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] Caused by: javax.ejb.EJBAccessException: Story's author is not the user logged at es.uvigo.esei.dgss.teamB.microstories.StoryEJB.updateStory(StoryEJB.java:247) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] ... 257 more 18:31:24,163 ERROR [org.jboss.as.ejb3.invocation] (default task-4) WFLYEJB0034: EJB Invocation failed on component author-caller for method public abstract java.lang.Object es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller.call(java.util.function.Supplier): javax.ejb.EJBTransactionRolledbackException: Story's author is not the user logged at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:159) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:256) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:138) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view1.updateStory(Unknown Source) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.updateStory(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.lambda$testUpdateStoryAsDifferentAuthor$10(StoryEJBIntegrationTest.java:359) [classes:] at es.uvigo.esei.dgss.teamB.microstories.service.util.security.AuthorRoleCaller.call(AuthorRoleCaller.java:15) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:138) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller$$$view3.call(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.testUpdateStoryAsDifferentAuthor(StoryEJBIntegrationTest.java:359) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] Caused by: javax.ejb.EJBAccessException: Story's author is not the user logged at es.uvigo.esei.dgss.teamB.microstories.StoryEJB.updateStory(StoryEJB.java:247) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] ... 257 more ====> Proxy for view class: es.uvigo.esei.dgss.teamB.microstories.StoryEJB of EJB: StoryEJB Hibernate: select story0_.id as id1_0_0_, story0_.author as author9_0_0_, story0_.genre as genre2_0_0_, story0_.primaryTheme as primaryT3_0_0_, story0_.publicationDate as publicat4_0_0_, story0_.secondaryTheme as secondar5_0_0_, story0_.text as text6_0_0_, story0_.title as title7_0_0_, story0_.views as views8_0_0_, author1_.login as login2_1_1_, author1_.password as password3_1_1_ from Story story0_ inner join User author1_ on story0_.author=author1_.login where story0_.id=? Hibernate: select story0_.id as id1_0_0_, story0_.author as author9_0_0_, story0_.genre as genre2_0_0_, story0_.primaryTheme as primaryT3_0_0_, story0_.publicationDate as publicat4_0_0_, story0_.secondaryTheme as secondar5_0_0_, story0_.text as text6_0_0_, story0_.title as title7_0_0_, story0_.views as views8_0_0_, author1_.login as login2_1_1_, author1_.password as password3_1_1_ from Story story0_ inner join User author1_ on story0_.author=author1_.login where story0_.id=? Hibernate: select stories0_.author as author9_0_0_, stories0_.id as id1_0_0_, stories0_.id as id1_0_1_, stories0_.author as author9_0_1_, stories0_.genre as genre2_0_1_, stories0_.primaryTheme as primaryT3_0_1_, stories0_.publicationDate as publicat4_0_1_, stories0_.secondaryTheme as secondar5_0_1_, stories0_.text as text6_0_1_, stories0_.title as title7_0_1_, stories0_.views as views8_0_1_ from Story stories0_ where stories0_.author=? ..... getviews 59 Hibernate: update Story set author=?, genre=?, primaryTheme=?, publicationDate=?, secondaryTheme=?, text=?, title=?, views=? where id=? Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.title like ? or story0_.text like ? order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' 18:31:24,521 ERROR [org.jboss.as.ejb3.invocation] (default task-15) WFLYEJB0034: EJB Invocation failed on component StoryEJB for method public es.uvigo.esei.dgss.teamB.microstories.entities.Story es.uvigo.esei.dgss.teamB.microstories.StoryEJB.createStory(es.uvigo.esei.dgss.teamB.microstories.entities.Story): javax.ejb.EJBAccessException: WFLYEJB0364: Invocation on method: public es.uvigo.esei.dgss.teamB.microstories.entities.Story es.uvigo.esei.dgss.teamB.microstories.StoryEJB.createStory(es.uvigo.esei.dgss.teamB.microstories.entities.Story) of bean: StoryEJB is not allowed at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:134) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view1.createStory(Unknown Source) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.createStory(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.testCreateStoryAsUser(StoryEJBIntegrationTest.java:325) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] Hibernate: select story0_.id as id1_0_0_, story0_.author as author9_0_0_, story0_.genre as genre2_0_0_, story0_.primaryTheme as primaryT3_0_0_, story0_.publicationDate as publicat4_0_0_, story0_.secondaryTheme as secondar5_0_0_, story0_.text as text6_0_0_, story0_.title as title7_0_0_, story0_.views as views8_0_0_ from Story story0_ where story0_.id=? Hibernate: select author0_.login as login2_1_1_, author0_.password as password3_1_1_, stories1_.author as author9_0_3_, stories1_.id as id1_0_3_, stories1_.id as id1_0_0_, stories1_.author as author9_0_0_, stories1_.genre as genre2_0_0_, stories1_.primaryTheme as primaryT3_0_0_, stories1_.publicationDate as publicat4_0_0_, stories1_.secondaryTheme as secondar5_0_0_, stories1_.text as text6_0_0_, stories1_.title as title7_0_0_, stories1_.views as views8_0_0_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: update Story set author=?, genre=?, primaryTheme=?, publicationDate=?, secondaryTheme=?, text=?, title=?, views=? where id=? Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.publicationDate is not null order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.title like ? or story0_.text like ? order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC limit ? ..... getviews 59 Hibernate: delete from Story where id=? Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC limit ? 18:31:25,038 ERROR [org.jboss.as.ejb3.invocation] (default task-25) WFLYEJB0034: EJB Invocation failed on component StoryEJB for method public es.uvigo.esei.dgss.teamB.microstories.entities.Story es.uvigo.esei.dgss.teamB.microstories.StoryEJB.updateStory(es.uvigo.esei.dgss.teamB.microstories.entities.Story): javax.ejb.EJBTransactionRolledbackException: Story must have an author at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:159) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:256) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:138) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view1.updateStory(Unknown Source) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.updateStory(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.lambda$testUpdateStoryAuthorNull$11(StoryEJBIntegrationTest.java:369) [classes:] at es.uvigo.esei.dgss.teamB.microstories.service.util.security.AuthorRoleCaller.call(AuthorRoleCaller.java:15) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:138) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller$$$view3.call(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.testUpdateStoryAuthorNull(StoryEJBIntegrationTest.java:369) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] Caused by: java.lang.IllegalArgumentException: Story must have an author at es.uvigo.esei.dgss.teamB.microstories.StoryEJB.updateStory(StoryEJB.java:242) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] ... 257 more 18:31:25,052 ERROR [org.jboss.as.ejb3.invocation] (default task-25) WFLYEJB0034: EJB Invocation failed on component author-caller for method public abstract java.lang.Object es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller.call(java.util.function.Supplier): javax.ejb.EJBTransactionRolledbackException: Story must have an author at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:159) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:256) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:138) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view1.updateStory(Unknown Source) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.updateStory(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.lambda$testUpdateStoryAuthorNull$11(StoryEJBIntegrationTest.java:369) [classes:] at es.uvigo.esei.dgss.teamB.microstories.service.util.security.AuthorRoleCaller.call(AuthorRoleCaller.java:15) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:138) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller$$$view3.call(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.testUpdateStoryAuthorNull(StoryEJBIntegrationTest.java:369) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] Caused by: java.lang.IllegalArgumentException: Story must have an author at es.uvigo.esei.dgss.teamB.microstories.StoryEJB.updateStory(StoryEJB.java:242) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] ... 257 more Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC limit ? Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.publicationDate is not null order by story0_.publicationDate DESC limit ? 18:31:25,353 ERROR [org.jboss.as.ejb3.invocation] (default task-32) WFLYEJB0034: EJB Invocation failed on component StoryEJB for method public java.util.List es.uvigo.esei.dgss.teamB.microstories.StoryEJB.listMyStories(java.lang.Integer,java.lang.Integer): javax.ejb.EJBAccessException: WFLYEJB0364: Invocation on method: public java.util.List es.uvigo.esei.dgss.teamB.microstories.StoryEJB.listMyStories(java.lang.Integer,java.lang.Integer) of bean: StoryEJB is not allowed at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:134) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view1.listMyStories(Unknown Source) [classes:] at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.listMyStories(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.testListMyStoriesAsUser(StoryEJBIntegrationTest.java:268) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.publicationDate>'1990-05-04 12:00:00' order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.title like ? or story0_.text like ? order by story0_.publicationDate DESC Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' 18:31:25,595 ERROR [org.jboss.as.ejb3.invocation] (default task-10) WFLYEJB0034: EJB Invocation failed on component StoryEJB for method public es.uvigo.esei.dgss.teamB.microstories.entities.Story es.uvigo.esei.dgss.teamB.microstories.StoryEJB.findStory(java.lang.Integer): javax.ejb.EJBTransactionRolledbackException: id to load is required for loading at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:159) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:256) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:138) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view1.findStory(Unknown Source) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.findStory(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest.findStoryNull(StoryEJBIntegrationTest.java:90) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] Caused by: java.lang.IllegalArgumentException: id to load is required for loading at org.hibernate.event.spi.LoadEvent.(LoadEvent.java:93) [hibernate-core-5.0.10.Final.jar:5.0.10.Final] at org.hibernate.event.spi.LoadEvent.(LoadEvent.java:63) [hibernate-core-5.0.10.Final.jar:5.0.10.Final] at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.load(SessionImpl.java:2693) [hibernate-core-5.0.10.Final.jar:5.0.10.Final] at org.hibernate.internal.SessionImpl.get(SessionImpl.java:975) [hibernate-core-5.0.10.Final.jar:5.0.10.Final] at org.hibernate.jpa.spi.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:1075) [hibernate-entitymanager-5.0.10.Final.jar:5.0.10.Final] at org.hibernate.jpa.spi.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:1033) [hibernate-entitymanager-5.0.10.Final.jar:5.0.10.Final] at org.jboss.as.jpa.container.AbstractEntityManager.find(AbstractEntityManager.java:213) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB.findStory(StoryEJB.java:59) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:254) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] ... 189 more 18:31:25,646 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 6) WFLYUT0022: Unregistered web context: /test 18:31:25,700 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 60) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'test.war#test' 18:31:25,702 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 60) HHH000227: Running hbm2ddl schema export Hibernate: drop table Story if exists Hibernate: drop table User if exists 18:31:25,713 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 60) HHH000230: Schema export complete 18:31:25,717 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 14) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'test.war#test' 18:31:25,749 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 14) WFLYCLINF0003: Stopped client-mappings cache from ejb container 18:31:25,755 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment test.war (runtime-name: test.war) in 122ms 18:31:25,773 WARN [org.jboss.as.controller] (management-handler-thread - 3) WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address [] 18:31:25,781 INFO [org.jboss.as.repository] (management-handler-thread - 3) WFLYDR0002: Content removed from location /var/lib/jenkins/workspace/μStories - Team B/service/target/wildfly-10.1.0.Final/standalone/data/content/df/578218f72e5d61be6673f5eb76eec8e9625d3e/content 18:31:25,782 INFO [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0009: Undeployed "test.war" (runtime-name: "test.war") 18:31:26,117 WARNING [org.jboss.arquillian.core.spi.ObserverMethod] (main) Argument 2 for ArquillianServiceDeployer.doServiceDeploy is null. It won't be invoked. 18:31:28,102 INFO [org.jboss.as.repository] (management-handler-thread - 4) WFLYDR0001: Content added at location /var/lib/jenkins/workspace/μStories - Team B/service/target/wildfly-10.1.0.Final/standalone/data/content/bb/435781418a0d0a6c51960fb097caba1ea0a097/content 18:31:28,105 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "test.war" (runtime-name: "test.war") 18:31:28,716 INFO [org.jboss.as.jpa] (MSC service thread 1-2) WFLYJPA0002: Read persistence.xml for test 18:31:28,748 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 14) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'test.war#test' 18:31:28,748 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 14) HHH000204: Processing PersistenceUnitInfo [ name: test ...] 18:31:28,801 INFO [org.jboss.weld.deployer] (MSC service thread 1-1) WFLYWELD0003: Processing weld deployment test.war 18:31:28,828 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-1) WFLYEJB0473: JNDI bindings for session bean named 'StoryEJB' in deployment unit 'deployment "test.war"' are as follows: java:global/test/StoryEJB!es.uvigo.esei.dgss.teamB.microstories.StoryEJB java:app/test/StoryEJB!es.uvigo.esei.dgss.teamB.microstories.StoryEJB java:module/StoryEJB!es.uvigo.esei.dgss.teamB.microstories.StoryEJB java:global/test/StoryEJB java:app/test/StoryEJB java:module/StoryEJB 18:31:28,829 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-1) WFLYEJB0473: JNDI bindings for session bean named 'StorySchedulerEJB' in deployment unit 'deployment "test.war"' are as follows: java:global/test/StorySchedulerEJB!es.uvigo.esei.dgss.teamB.microstories.StorySchedulerEJB java:app/test/StorySchedulerEJB!es.uvigo.esei.dgss.teamB.microstories.StorySchedulerEJB java:module/StorySchedulerEJB!es.uvigo.esei.dgss.teamB.microstories.StorySchedulerEJB java:global/test/StorySchedulerEJB java:app/test/StorySchedulerEJB java:module/StorySchedulerEJB 18:31:28,829 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-1) WFLYEJB0473: JNDI bindings for session bean named 'author-caller' in deployment unit 'deployment "test.war"' are as follows: java:global/test/author-caller!es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller java:app/test/author-caller!es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller java:module/author-caller!es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller java:global/test/author-caller java:app/test/author-caller java:module/author-caller 18:31:28,952 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 60) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:31:28,952 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 60) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:31:28,973 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 60) WFLYCLINF0002: Started client-mappings cache from ejb container 18:31:29,023 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 14) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'test.war#test' 18:31:29,024 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 14) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 18:31:29,024 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 14) HHH000431: Unable to determine H2 database version, certain features may not work 18:31:29,028 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 14) Envers integration enabled? : true 18:31:29,139 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 14) HHH000227: Running hbm2ddl schema export Hibernate: drop table Story if exists Hibernate: drop table User if exists Hibernate: create table Story (id integer generated by default as identity, genre varchar(9) not null, primaryTheme varchar(14) not null, publicationDate timestamp, secondaryTheme varchar(14), text varchar(1000) not null, title varchar(100) not null, views integer not null, author varchar(100) not null, primary key (id)) Hibernate: create table User (role varchar(6) not null, login varchar(100) not null, password varchar(32) not null, primary key (login)) Hibernate: alter table Story add constraint FK41c3muado6my0qji9vkunreuy foreign key (author) references User 18:31:29,144 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 14) HHH000230: Schema export complete 18:31:29,539 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 61) WFLYUT0021: Registered web context: /test 18:31:29,560 INFO [org.jboss.as.server] (management-handler-thread - 4) WFLYSRV0010: Deployed "test.war" (runtime-name : "test.war") 18:31:30,090 INFO [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (default task-8) HHH000397: Using ASTQueryTranslatorFactory Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.title like ? or story0_.text like ? order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC limit ? 18:31:30,341 ERROR [org.jboss.as.ejb3.invocation] (default task-18) WFLYEJB0034: EJB Invocation failed on component StoryEJB for method public int es.uvigo.esei.dgss.teamB.microstories.StoryEJB.removeStory(int): javax.ejb.EJBAccessException: WFLYEJB0364: Invocation on method: public int es.uvigo.esei.dgss.teamB.microstories.StoryEJB.removeStory(int) of bean: StoryEJB is not allowed at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:134) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view4.removeStory(Unknown Source) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.removeStory(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIllegalAccessIntegrationTest.testRemoveStoryNoRole(StoryEJBIllegalAccessIntegrationTest.java:139) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.publicationDate is not null order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and (story0_.primaryTheme='CHILDREN' or story0_.secondaryTheme='CHILDREN') order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' 18:31:30,563 ERROR [org.jboss.as.ejb3.invocation] (default task-25) WFLYEJB0034: EJB Invocation failed on component StoryEJB for method public es.uvigo.esei.dgss.teamB.microstories.entities.Story es.uvigo.esei.dgss.teamB.microstories.StoryEJB.updateStory(es.uvigo.esei.dgss.teamB.microstories.entities.Story): javax.ejb.EJBAccessException: WFLYEJB0364: Invocation on method: public es.uvigo.esei.dgss.teamB.microstories.entities.Story es.uvigo.esei.dgss.teamB.microstories.StoryEJB.updateStory(es.uvigo.esei.dgss.teamB.microstories.entities.Story) of bean: StoryEJB is not allowed at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:134) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view4.updateStory(Unknown Source) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.updateStory(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIllegalAccessIntegrationTest.testUpdateStoryNoRole(StoryEJBIllegalAccessIntegrationTest.java:127) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC limit ? Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.publicationDate is not null order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_0_, story0_.author as author9_0_0_, story0_.genre as genre2_0_0_, story0_.primaryTheme as primaryT3_0_0_, story0_.publicationDate as publicat4_0_0_, story0_.secondaryTheme as secondar5_0_0_, story0_.text as text6_0_0_, story0_.title as title7_0_0_, story0_.views as views8_0_0_, author1_.login as login2_1_1_, author1_.password as password3_1_1_ from Story story0_ inner join User author1_ on story0_.author=author1_.login where story0_.id=? Hibernate: select stories0_.author as author9_0_0_, stories0_.id as id1_0_0_, stories0_.id as id1_0_1_, stories0_.author as author9_0_1_, stories0_.genre as genre2_0_1_, stories0_.primaryTheme as primaryT3_0_1_, stories0_.publicationDate as publicat4_0_1_, stories0_.secondaryTheme as secondar5_0_1_, stories0_.text as text6_0_1_, stories0_.title as title7_0_1_, stories0_.views as views8_0_1_ from Story stories0_ where stories0_.author=? ..... getviews 59 Hibernate: update Story set author=?, genre=?, primaryTheme=?, publicationDate=?, secondaryTheme=?, text=?, title=?, views=? where id=? Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.title like ? or story0_.text like ? order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC limit ? 18:31:31,108 ERROR [org.jboss.as.ejb3.invocation] (default task-4) WFLYEJB0034: EJB Invocation failed on component StoryEJB for method public es.uvigo.esei.dgss.teamB.microstories.entities.Story es.uvigo.esei.dgss.teamB.microstories.StoryEJB.createStory(es.uvigo.esei.dgss.teamB.microstories.entities.Story): javax.ejb.EJBAccessException: WFLYEJB0364: Invocation on method: public es.uvigo.esei.dgss.teamB.microstories.entities.Story es.uvigo.esei.dgss.teamB.microstories.StoryEJB.createStory(es.uvigo.esei.dgss.teamB.microstories.entities.Story) of bean: StoryEJB is not allowed at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:134) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view4.createStory(Unknown Source) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.createStory(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIllegalAccessIntegrationTest.testCreateStoryNoRole(StoryEJBIllegalAccessIntegrationTest.java:115) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] Hibernate: select story0_.id as id1_0_0_, story0_.author as author9_0_0_, story0_.genre as genre2_0_0_, story0_.primaryTheme as primaryT3_0_0_, story0_.publicationDate as publicat4_0_0_, story0_.secondaryTheme as secondar5_0_0_, story0_.text as text6_0_0_, story0_.title as title7_0_0_, story0_.views as views8_0_0_, author1_.login as login2_1_1_, author1_.password as password3_1_1_ from Story story0_ inner join User author1_ on story0_.author=author1_.login where story0_.id=? Hibernate: select stories0_.author as author9_0_0_, stories0_.id as id1_0_0_, stories0_.id as id1_0_1_, stories0_.author as author9_0_1_, stories0_.genre as genre2_0_1_, stories0_.primaryTheme as primaryT3_0_1_, stories0_.publicationDate as publicat4_0_1_, stories0_.secondaryTheme as secondar5_0_1_, stories0_.text as text6_0_1_, stories0_.title as title7_0_1_, stories0_.views as views8_0_1_ from Story stories0_ where stories0_.author=? ..... getviews 59 Hibernate: update Story set author=?, genre=?, primaryTheme=?, publicationDate=?, secondaryTheme=?, text=?, title=?, views=? where id=? Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and (story0_.primaryTheme='CHILDREN' or story0_.secondaryTheme='CHILDREN') order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC limit ? 18:31:31,463 ERROR [org.jboss.as.ejb3.invocation] (default task-15) WFLYEJB0034: EJB Invocation failed on component StoryEJB for method public java.util.List es.uvigo.esei.dgss.teamB.microstories.StoryEJB.listMyStories(java.lang.Integer,java.lang.Integer): javax.ejb.EJBAccessException: WFLYEJB0364: Invocation on method: public java.util.List es.uvigo.esei.dgss.teamB.microstories.StoryEJB.listMyStories(java.lang.Integer,java.lang.Integer) of bean: StoryEJB is not allowed at org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:134) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [wildfly-ejb3-10.1.0.Final.jar:10.1.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [wildfly-elytron-1.1.2.Final.jar:1.1.2.Final] at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [:1.5.0.Final] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.5.0.Final.jar:1.5.0.Final] at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$$$view4.listMyStories(Unknown Source) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.3.5.Final.jar:2.3.5.Final] at es.uvigo.esei.dgss.teamB.microstories.StoryEJB$Proxy$_$$_Weld$EnterpriseProxy$.listMyStories(Unknown Source) [classes:] at es.uvigo.esei.dgss.teamB.microstories.StoryEJBIllegalAccessIntegrationTest.testListMyStoriesNoRole(StoryEJBIllegalAccessIntegrationTest.java:104) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [arquillian-junit.jar:] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [arquillian-junit.jar:] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) [arquillian-core.jar:] at org.jboss.arquillian.container.test.impl.execution.ContainerTestExecuter.execute(ContainerTestExecuter.java:38) [arquillian-core.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_144] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:372) [arquillian-junit.jar:] at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:246) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:260) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:324) [arquillian-junit.jar:] at org.jboss.arquillian.container.test.impl.execution.BeforeLifecycleEventExecuter.on(BeforeLifecycleEventExecuter.java:35) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) [arquillian-core.jar:] at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143) [arquillian-core.jar:] at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114) [arquillian-core.jar:] at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159) [arquillian-core.jar:] at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:317) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [arquillian-junit.jar:] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [arquillian-junit.jar:] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219) [arquillian-junit.jar:] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [arquillian-junit.jar:] at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [arquillian-junit.jar:] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [arquillian-junit.jar:] at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:66) [arquillian-junit.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.executeTest(ServletTestRunner.java:170) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.execute(ServletTestRunner.java:135) [arquillian-protocol.jar:] at org.jboss.arquillian.protocol.servlet.runner.ServletTestRunner.doGet(ServletTestRunner.java:98) [arquillian-protocol.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] 18:31:31,486 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 61) WFLYUT0022: Unregistered web context: /test 18:31:31,513 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 6) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'test.war#test' 18:31:31,513 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 6) HHH000227: Running hbm2ddl schema export Hibernate: drop table Story if exists Hibernate: drop table User if exists 18:31:31,516 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 6) HHH000230: Schema export complete 18:31:31,517 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 6) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'test.war#test' 18:31:31,527 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 6) WFLYCLINF0003: Stopped client-mappings cache from ejb container 18:31:31,553 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment test.war (runtime-name: test.war) in 68ms 18:31:31,566 WARN [org.jboss.as.controller] (management-handler-thread - 2) WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address [] 18:31:31,571 INFO [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0002: Content removed from location /var/lib/jenkins/workspace/μStories - Team B/service/target/wildfly-10.1.0.Final/standalone/data/content/bb/435781418a0d0a6c51960fb097caba1ea0a097/content 18:31:31,571 INFO [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0009: Undeployed "test.war" (runtime-name: "test.war") [INFO] Tests run: 54, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.111 s - in es.uvigo.esei.dgss.teamB.microstories.ServiceIntegrationTestSuite 18:31:31,581 WARNING [org.jboss.arquillian.core.spi.ObserverMethod] (main) Argument 2 for ArquillianServiceDeployer.undeploy is null. It won't be invoked. 18:31:31,587 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0010: Unbound data source [java:jboss/datasources/dgss1819/teamB/microstories] 18:31:31,587 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS] 18:31:31,636 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0019: Host default-host stopping 18:31:31,649 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0019: Stopped Driver service with driver-name = h2 18:31:31,656 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0008: Undertow HTTP listener default suspending 18:31:31,659 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:38080 18:31:31,663 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0004: Undertow 1.4.0.Final stopping 18:31:31,720 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) stopped in 87ms [INFO] [INFO] Results: [INFO] [INFO] Tests run: 54, Failures: 0, Errors: 0, Skipped: 0 [INFO] [JENKINS] Recording test results [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:report (post-unit-test) @ dgss1819-teamB-microstories-service --- [INFO] Loading execution data file /var/lib/jenkins/workspace/μStories - Team B/service/target/jacoco.exec [INFO] Analyzed bundle 'Service' with 3 classes [INFO] [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ dgss1819-teamB-microstories-service --- [INFO] Building jar: /var/lib/jenkins/workspace/μStories - Team B/service/target/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT.jar [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ dgss1819-teamB-microstories-service >>> [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-unit-test) @ dgss1819-teamB-microstories-service --- [INFO] argLine set to "-javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/var/lib/jenkins/workspace/μStories - Team B/service/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/μStories - Team B/target/classes" [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ dgss1819-teamB-microstories-service <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ dgss1819-teamB-microstories-service --- [INFO] Building jar: /var/lib/jenkins/workspace/μStories - Team B/service/target/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @ dgss1819-teamB-microstories-service --- [INFO] Loading source files for package es.uvigo.esei.dgss.teamB.microstories... Constructing Javadoc information... Standard Doclet version 1.8.0_144 Building tree for all the packages and classes... Generating /var/lib/jenkins/workspace/μStories - Team B/service/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/StoryEJB.html... Generating /var/lib/jenkins/workspace/μStories - Team B/service/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/StorySchedulerEJB.html... Generating /var/lib/jenkins/workspace/μStories - Team B/service/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/package-frame.html... Generating /var/lib/jenkins/workspace/μStories - Team B/service/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/package-summary.html... Generating /var/lib/jenkins/workspace/μStories - Team B/service/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/package-tree.html... Generating /var/lib/jenkins/workspace/μStories - Team B/service/target/apidocs/constant-values.html... Generating /var/lib/jenkins/workspace/μStories - Team B/service/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/class-use/StoryEJB.html... Generating /var/lib/jenkins/workspace/μStories - Team B/service/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/class-use/StorySchedulerEJB.html... Generating /var/lib/jenkins/workspace/μStories - Team B/service/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/package-use.html... Building index for all the packages and classes... Generating /var/lib/jenkins/workspace/μStories - Team B/service/target/apidocs/overview-tree.html... Generating /var/lib/jenkins/workspace/μStories - Team B/service/target/apidocs/index-all.html... Generating /var/lib/jenkins/workspace/μStories - Team B/service/target/apidocs/deprecated-list.html... Building index for all classes... Generating /var/lib/jenkins/workspace/μStories - Team B/service/target/apidocs/allclasses-frame.html... Generating /var/lib/jenkins/workspace/μStories - Team B/service/target/apidocs/allclasses-noframe.html... Generating /var/lib/jenkins/workspace/μStories - Team B/service/target/apidocs/index.html... Generating /var/lib/jenkins/workspace/μStories - Team B/service/target/apidocs/help-doc.html... [INFO] Building jar: /var/lib/jenkins/workspace/μStories - Team B/service/target/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT-javadoc.jar [INFO] [INFO] --- maven-jar-plugin:3.0.2:test-jar (default) @ dgss1819-teamB-microstories-service --- [INFO] Building jar: /var/lib/jenkins/workspace/μStories - Team B/service/target/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT-tests.jar [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-integration-test) @ dgss1819-teamB-microstories-service --- [INFO] argLine set to "-javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/var/lib/jenkins/workspace/μStories - Team B/service/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/μStories - Team B/target/classes" [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:report (post-integration-test) @ dgss1819-teamB-microstories-service --- [INFO] Loading execution data file /var/lib/jenkins/workspace/μStories - Team B/service/target/jacoco.exec [INFO] Analyzed bundle 'Service' with 3 classes [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ dgss1819-teamB-microstories-service --- [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/service/target/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-service/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT.jar [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/service/pom.xml to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-service/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT.pom [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/service/target/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-service/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT-sources.jar [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/service/target/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT-javadoc.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-service/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT-javadoc.jar [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/service/target/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT-tests.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-service/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT-tests.jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building REST 0.2.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dgss1819-teamB-microstories-rest --- [INFO] Deleting /var/lib/jenkins/workspace/μStories - Team B/rest/target [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-unit-test) @ dgss1819-teamB-microstories-rest --- [INFO] argLine set to "-javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/var/lib/jenkins/workspace/μStories - Team B/rest/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/μStories - Team B/target/classes" [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ dgss1819-teamB-microstories-rest --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ dgss1819-teamB-microstories-rest --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to /var/lib/jenkins/workspace/μStories - Team B/rest/target/classes [INFO] /var/lib/jenkins/workspace/μStories - Team B/rest/src/main/java/es/uvigo/esei/dgss/teamB/microstories/StoryResource.java: /var/lib/jenkins/workspace/μStories - Team B/rest/src/main/java/es/uvigo/esei/dgss/teamB/microstories/StoryResource.java uses or overrides a deprecated API. [INFO] /var/lib/jenkins/workspace/μStories - Team B/rest/src/main/java/es/uvigo/esei/dgss/teamB/microstories/StoryResource.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ dgss1819-teamB-microstories-rest --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ dgss1819-teamB-microstories-rest --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /var/lib/jenkins/workspace/μStories - Team B/rest/target/test-classes [INFO] [INFO] --- maven-dependency-plugin:2.10:unpack (unpack) @ dgss1819-teamB-microstories-rest --- [INFO] Configured Artifact: org.wildfly:wildfly-dist:10.1.0.Final:zip [INFO] Unpacking /var/lib/jenkins/.m2/repository/org/wildfly/wildfly-dist/10.1.0.Final/wildfly-dist-10.1.0.Final.zip to /var/lib/jenkins/workspace/μStories - Team B/rest/target with includes "" and excludes "" [INFO] [INFO] --- maven-resources-plugin:3.0.2:copy-resources (copy-wildfly-resources) @ dgss1819-teamB-microstories-rest --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ dgss1819-teamB-microstories-rest --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running es.uvigo.esei.dgss.teamB.microstories.ResourceIntegrationTestSuite 18:31:43,633 INFO [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final 18:31:44,174 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1 18:31:44,515 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) starting 18:31:47,906 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http) 18:31:47,945 INFO [org.xnio] (MSC service thread 1-3) XNIO version 3.4.0.Final 18:31:47,985 INFO [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.4.0.Final 18:31:48,086 INFO [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 4.0.21.Final 18:31:48,198 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 36) WFLYCLINF0001: Activating Infinispan subsystem. 18:31:48,208 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 35) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors 18:31:48,226 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 44) WFLYNAM0001: Activating Naming Subsystem 18:31:48,277 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 50) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique. 18:31:48,295 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 52) WFLYWS0002: Activating WebServices Extension 18:31:48,294 INFO [org.jboss.as.security] (ServerService Thread Pool -- 49) WFLYSEC0002: Activating Security Subsystem 18:31:48,404 INFO [org.jboss.as.naming] (MSC service thread 1-3) WFLYNAM0003: Starting Naming Service 18:31:48,410 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 42) WFLYJSF0007: Activated the following JSF Implementations: [main] 18:31:48,470 INFO [org.jboss.as.security] (MSC service thread 1-1) WFLYSEC0001: Current PicketBox version=4.9.6.Final 18:31:48,510 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0003: Undertow 1.4.0.Final starting 18:31:48,515 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default] 18:31:48,531 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 30) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 18:31:48,541 INFO [org.jboss.as.connector] (MSC service thread 1-3) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.4.Final) 18:31:48,667 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = h2 18:31:49,034 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 51) WFLYUT0014: Creating file handler for path '/var/lib/jenkins/workspace/μStories - Team B/rest/target/wildfly-10.1.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]'] 18:31:49,076 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0012: Started server default-server. 18:31:49,099 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0018: Host default-host starting 18:31:49,353 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:38080 18:31:49,792 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS] 18:31:49,792 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/dgss1819/teamB/microstories] 18:31:50,692 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-3) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.4.Final 18:31:50,760 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 54) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:31:50,760 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 54) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:31:50,758 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 56) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:31:50,762 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 56) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:31:50,785 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) WFLYDS0013: Started FileSystemDeploymentService for directory /var/lib/jenkins/workspace/μStories - Team B/rest/target/wildfly-10.1.0.Final/standalone/deployments 18:31:50,802 INFO [org.jboss.ws.common.management] (MSC service thread 1-1) JBWS022052: Starting JBossWS 5.1.5.Final (Apache CXF 3.1.6) 18:31:51,082 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:39990/management 18:31:51,083 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:39990 18:31:51,084 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started in 7260ms - Started 302 of 506 services (325 services are lazy, passive or on-demand) 18:31:52,080 WARNING [org.jboss.arquillian.core.spi.ObserverMethod] (main) Argument 2 for ArquillianServiceDeployer.doServiceDeploy is null. It won't be invoked. 18:31:53,749 INFO [org.jboss.remoting] (main) JBoss Remoting version 5.0.2.Final 18:31:53,810 INFO [org.xnio] (main) XNIO version 3.5.1.Final 18:31:53,823 INFO [org.xnio.nio] (main) XNIO NIO Implementation Version 3.5.1.Final 18:31:53,991 INFO [org.wildfly.security] (main) ELY00001: WildFly Elytron version 1.1.2.Final 18:31:55,335 INFO [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0001: Content added at location /var/lib/jenkins/workspace/μStories - Team B/rest/target/wildfly-10.1.0.Final/standalone/data/content/4a/7783374a29c1112b3f52bd5050a1014f92f90b/content 18:31:55,379 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "test.war" (runtime-name: "test.war") 18:31:56,850 INFO [org.jboss.as.jpa] (MSC service thread 1-3) WFLYJPA0002: Read persistence.xml for test 18:31:57,014 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 22) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'test.war#test' 18:31:57,092 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 22) HHH000204: Processing PersistenceUnitInfo [ name: test ...] 18:31:57,207 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003: Processing weld deployment test.war 18:31:57,334 INFO [org.hibernate.Version] (ServerService Thread Pool -- 22) HHH000412: Hibernate Core {5.0.10.Final} 18:31:57,344 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 22) HHH000206: hibernate.properties not found 18:31:57,347 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 22) HHH000021: Bytecode provider name : javassist 18:31:57,398 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread 1-4) HV000001: Hibernate Validator 5.2.4.Final 18:31:57,498 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 22) HCANN000001: Hibernate Commons Annotations {5.0.1.Final} 18:31:57,613 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-4) WFLYEJB0473: JNDI bindings for session bean named 'StoryEJB' in deployment unit 'deployment "test.war"' are as follows: java:global/test/StoryEJB!es.uvigo.esei.dgss.teamB.microstories.StoryEJB java:app/test/StoryEJB!es.uvigo.esei.dgss.teamB.microstories.StoryEJB java:module/StoryEJB!es.uvigo.esei.dgss.teamB.microstories.StoryEJB java:global/test/StoryEJB java:app/test/StoryEJB java:module/StoryEJB 18:31:57,623 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-4) WFLYEJB0473: JNDI bindings for session bean named 'StorySchedulerEJB' in deployment unit 'deployment "test.war"' are as follows: java:global/test/StorySchedulerEJB!es.uvigo.esei.dgss.teamB.microstories.StorySchedulerEJB java:app/test/StorySchedulerEJB!es.uvigo.esei.dgss.teamB.microstories.StorySchedulerEJB java:module/StorySchedulerEJB!es.uvigo.esei.dgss.teamB.microstories.StorySchedulerEJB java:global/test/StorySchedulerEJB java:app/test/StorySchedulerEJB java:module/StorySchedulerEJB 18:31:58,033 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 22) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:31:58,034 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 22) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:31:58,192 INFO [org.jboss.weld.Version] (MSC service thread 1-1) WELD-000900: 2.3.5 (Final) 18:31:58,839 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 14) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'test.war#test' 18:31:59,067 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 22) WFLYCLINF0002: Started client-mappings cache from ejb container 18:31:59,508 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 14) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 18:31:59,519 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 14) HHH000431: Unable to determine H2 database version, certain features may not work 18:31:59,824 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 14) Envers integration enabled? : true 18:32:01,004 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 14) HHH000227: Running hbm2ddl schema export Hibernate: drop table Story if exists Hibernate: drop table User if exists Hibernate: create table Story (id integer generated by default as identity, genre varchar(9) not null, primaryTheme varchar(14) not null, publicationDate timestamp, secondaryTheme varchar(14), text varchar(1000) not null, title varchar(100) not null, views integer not null, author varchar(100) not null, primary key (id)) Hibernate: create table User (role varchar(6) not null, login varchar(100) not null, password varchar(32) not null, primary key (login)) Hibernate: alter table Story add constraint FK41c3muado6my0qji9vkunreuy foreign key (author) references User 18:32:01,042 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 14) HHH000230: Schema export complete 18:32:01,408 INFO [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 3) WELD-000119: Not generating any bean definitions from es.uvigo.esei.dgss.teamB.microstories.StoryEJBIllegalAccessIntegrationTest because of underlying class loading error: Type es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller from [Module "deployment.test.war" from Service Module Loader] not found. If this is unexpected, enable DEBUG logging to see the full error. 18:32:01,425 INFO [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 3) WELD-000119: Not generating any bean definitions from es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest because of underlying class loading error: Type es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller from [Module "deployment.test.war" from Service Module Loader] not found. If this is unexpected, enable DEBUG logging to see the full error. 18:32:02,897 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 18) WFLYUT0021: Registered web context: /test 18:32:02,954 INFO [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0010: Deployed "test.war" (runtime-name : "test.war") log4j:WARN No appenders could be found for logger (org.jboss.resteasy.plugins.providers.DocumentProvider). log4j:WARN Please initialize the log4j system properly. 18:32:05,371 WARN [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-9) RESTEASY002120: ClassNotFoundException: Unable to load builtin provider org.jboss.resteasy.plugins.providers.jackson.ResteasyJacksonProvider from jar:file:/var/lib/jenkins/.m2/repository/org/jboss/resteasy/resteasy-jackson-provider/3.0.24.Final/resteasy-jackson-provider-3.0.24.Final.jar!/META-INF/services/javax.ws.rs.ext.Providers: java.lang.ClassNotFoundException: org.jboss.resteasy.plugins.providers.jackson.ResteasyJacksonProvider from [Module "deployment.test.war" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198) [jboss-modules-1.6.1.Final.jar:1.6.1.Final] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412) [jboss-modules-1.6.1.Final.jar:1.6.1.Final] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400) [jboss-modules-1.6.1.Final.jar:1.6.1.Final] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116) [jboss-modules-1.6.1.Final.jar:1.6.1.Final] at org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders(RegisterBuiltin.java:70) [resteasy-jaxrs-3.0.19.Final.jar:3.0.19.Final] at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:31) [resteasy-jaxrs-3.0.19.Final.jar:3.0.19.Final] at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:230) [resteasy-jaxrs-3.0.19.Final.jar:3.0.19.Final] at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:113) [resteasy-jaxrs-3.0.19.Final.jar:3.0.19.Final] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36) [resteasy-jaxrs-3.0.19.Final.jar:3.0.19.Final] at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:250) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ManagedServlet.getServlet(ManagedServlet.java:171) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:84) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' 18:32:05,920 INFO [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (default task-9) HHH000397: Using ASTQueryTranslatorFactory Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.author=? order by story0_.publicationDate DESC limit ? 18:32:08,113 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 18) WFLYUT0022: Unregistered web context: /test 18:32:08,167 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 25) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'test.war#test' 18:32:08,169 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 25) HHH000227: Running hbm2ddl schema export Hibernate: drop table Story if exists Hibernate: drop table User if exists 18:32:08,178 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 25) HHH000230: Schema export complete 18:32:08,181 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 20) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'test.war#test' 18:32:08,216 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 20) WFLYCLINF0003: Stopped client-mappings cache from ejb container 18:32:08,226 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment test.war (runtime-name: test.war) in 134ms 18:32:08,248 WARN [org.jboss.as.controller] (management-handler-thread - 3) WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address [] 18:32:08,252 INFO [org.jboss.as.repository] (management-handler-thread - 3) WFLYDR0002: Content removed from location /var/lib/jenkins/workspace/μStories - Team B/rest/target/wildfly-10.1.0.Final/standalone/data/content/4a/7783374a29c1112b3f52bd5050a1014f92f90b/content 18:32:08,254 INFO [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0009: Undeployed "test.war" (runtime-name: "test.war") 18:32:08,706 WARNING [org.jboss.arquillian.core.spi.ObserverMethod] (main) Argument 2 for ArquillianServiceDeployer.doServiceDeploy is null. It won't be invoked. 18:32:10,583 INFO [org.jboss.as.repository] (management-handler-thread - 4) WFLYDR0001: Content added at location /var/lib/jenkins/workspace/μStories - Team B/rest/target/wildfly-10.1.0.Final/standalone/data/content/49/1dba4728ec1d946b888e35d4ec91ef2335970f/content 18:32:10,586 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "test.war" (runtime-name: "test.war") 18:32:11,374 INFO [org.jboss.as.jpa] (MSC service thread 1-4) WFLYJPA0002: Read persistence.xml for test 18:32:11,425 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 25) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'test.war#test' 18:32:11,426 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 25) HHH000204: Processing PersistenceUnitInfo [ name: test ...] 18:32:11,453 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003: Processing weld deployment test.war 18:32:11,465 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-4) WFLYEJB0473: JNDI bindings for session bean named 'StoryEJB' in deployment unit 'deployment "test.war"' are as follows: java:global/test/StoryEJB!es.uvigo.esei.dgss.teamB.microstories.StoryEJB java:app/test/StoryEJB!es.uvigo.esei.dgss.teamB.microstories.StoryEJB java:module/StoryEJB!es.uvigo.esei.dgss.teamB.microstories.StoryEJB java:global/test/StoryEJB java:app/test/StoryEJB java:module/StoryEJB 18:32:11,470 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-4) WFLYEJB0473: JNDI bindings for session bean named 'StorySchedulerEJB' in deployment unit 'deployment "test.war"' are as follows: java:global/test/StorySchedulerEJB!es.uvigo.esei.dgss.teamB.microstories.StorySchedulerEJB java:app/test/StorySchedulerEJB!es.uvigo.esei.dgss.teamB.microstories.StorySchedulerEJB java:module/StorySchedulerEJB!es.uvigo.esei.dgss.teamB.microstories.StorySchedulerEJB java:global/test/StorySchedulerEJB java:app/test/StorySchedulerEJB java:module/StorySchedulerEJB 18:32:11,551 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 20) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:32:11,553 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 20) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated. 18:32:11,571 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 20) WFLYCLINF0002: Started client-mappings cache from ejb container 18:32:11,654 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 25) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'test.war#test' 18:32:11,655 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 25) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 18:32:11,656 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 25) HHH000431: Unable to determine H2 database version, certain features may not work 18:32:11,666 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 25) Envers integration enabled? : true 18:32:11,741 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 25) HHH000227: Running hbm2ddl schema export Hibernate: drop table Story if exists Hibernate: drop table User if exists Hibernate: create table Story (id integer generated by default as identity, genre varchar(9) not null, primaryTheme varchar(14) not null, publicationDate timestamp, secondaryTheme varchar(14), text varchar(1000) not null, title varchar(100) not null, views integer not null, author varchar(100) not null, primary key (id)) Hibernate: create table User (role varchar(6) not null, login varchar(100) not null, password varchar(32) not null, primary key (login)) Hibernate: alter table Story add constraint FK41c3muado6my0qji9vkunreuy foreign key (author) references User 18:32:11,755 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 25) HHH000230: Schema export complete 18:32:11,841 INFO [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 3) WELD-000119: Not generating any bean definitions from es.uvigo.esei.dgss.teamB.microstories.StoryEJBIllegalAccessIntegrationTest because of underlying class loading error: Type es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller from [Module "deployment.test.war" from Service Module Loader] not found. If this is unexpected, enable DEBUG logging to see the full error. 18:32:11,845 INFO [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 2) WELD-000119: Not generating any bean definitions from es.uvigo.esei.dgss.teamB.microstories.StoryEJBIntegrationTest because of underlying class loading error: Type es.uvigo.esei.dgss.teamB.microstories.service.util.security.RoleCaller from [Module "deployment.test.war" from Service Module Loader] not found. If this is unexpected, enable DEBUG logging to see the full error. 18:32:12,263 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 18) WFLYUT0021: Registered web context: /test 18:32:12,284 INFO [org.jboss.as.server] (management-handler-thread - 4) WFLYSRV0010: Deployed "test.war" (runtime-name : "test.war") 18:32:15,341 WARN [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-29) RESTEASY002120: ClassNotFoundException: Unable to load builtin provider org.jboss.resteasy.plugins.providers.jackson.ResteasyJacksonProvider from jar:file:/var/lib/jenkins/.m2/repository/org/jboss/resteasy/resteasy-jackson-provider/3.0.24.Final/resteasy-jackson-provider-3.0.24.Final.jar!/META-INF/services/javax.ws.rs.ext.Providers: java.lang.ClassNotFoundException: org.jboss.resteasy.plugins.providers.jackson.ResteasyJacksonProvider from [Module "deployment.test.war" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198) [jboss-modules-1.6.1.Final.jar:1.6.1.Final] at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412) [jboss-modules-1.6.1.Final.jar:1.6.1.Final] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400) [jboss-modules-1.6.1.Final.jar:1.6.1.Final] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116) [jboss-modules-1.6.1.Final.jar:1.6.1.Final] at org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders(RegisterBuiltin.java:70) [resteasy-jaxrs-3.0.19.Final.jar:3.0.19.Final] at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:31) [resteasy-jaxrs-3.0.19.Final.jar:3.0.19.Final] at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:230) [resteasy-jaxrs-3.0.19.Final.jar:3.0.19.Final] at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:113) [resteasy-jaxrs-3.0.19.Final.jar:3.0.19.Final] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36) [resteasy-jaxrs-3.0.19.Final.jar:3.0.19.Final] at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:250) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ManagedServlet.getServlet(ManagedServlet.java:171) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:84) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805) [undertow-core-1.4.0.Final.jar:1.4.0.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144] 18:32:15,394 WARN [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-29) RESTEASY002142: Multiple resource methods match request "GET /microstory/recent/". Selecting one. Matching methods: [public javax.ws.rs.core.Response es.uvigo.esei.dgss.teamB.microstories.StoryResource.get(), public javax.ws.rs.core.Response es.uvigo.esei.dgss.teamB.microstories.StoryResource.getStory(java.lang.Integer)] 18:32:15,420 INFO [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (default task-29) HHH000397: Using ASTQueryTranslatorFactory Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.publicationDate is not null order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_0_, story0_.author as author9_0_0_, story0_.genre as genre2_0_0_, story0_.primaryTheme as primaryT3_0_0_, story0_.publicationDate as publicat4_0_0_, story0_.secondaryTheme as secondar5_0_0_, story0_.text as text6_0_0_, story0_.title as title7_0_0_, story0_.views as views8_0_0_, author1_.login as login2_1_1_, author1_.password as password3_1_1_ from Story story0_ inner join User author1_ on story0_.author=author1_.login where story0_.id=? Hibernate: select stories0_.author as author9_0_0_, stories0_.id as id1_0_0_, stories0_.id as id1_0_1_, stories0_.author as author9_0_1_, stories0_.genre as genre2_0_1_, stories0_.primaryTheme as primaryT3_0_1_, stories0_.publicationDate as publicat4_0_1_, stories0_.secondaryTheme as secondar5_0_1_, stories0_.text as text6_0_1_, stories0_.title as title7_0_1_, stories0_.views as views8_0_1_ from Story stories0_ where stories0_.author=? ..... getviews 59 Hibernate: update Story set author=?, genre=?, primaryTheme=?, publicationDate=?, secondaryTheme=?, text=?, title=?, views=? where id=? 18:32:18,102 WARN [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-15) RESTEASY002142: Multiple resource methods match request "GET /microstory/". Selecting one. Matching methods: [public javax.ws.rs.core.Response es.uvigo.esei.dgss.teamB.microstories.StoryResource.getByText(java.lang.String,java.lang.Integer,java.lang.Integer), public javax.ws.rs.core.Response es.uvigo.esei.dgss.teamB.microstories.StoryResource.getlistSearchPagination(java.lang.String,java.lang.String,java.lang.String,java.lang.Integer,java.lang.Integer) throws java.text.ParseException] Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.publicationDate is not null order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' 18:32:18,319 WARN [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-19) RESTEASY002142: Multiple resource methods match request "GET /microstory/". Selecting one. Matching methods: [public javax.ws.rs.core.Response es.uvigo.esei.dgss.teamB.microstories.StoryResource.getByText(java.lang.String,java.lang.Integer,java.lang.Integer), public javax.ws.rs.core.Response es.uvigo.esei.dgss.teamB.microstories.StoryResource.getlistSearchPagination(java.lang.String,java.lang.String,java.lang.String,java.lang.Integer,java.lang.Integer) throws java.text.ParseException] Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where (story0_.publicationDate is not null) and story0_.publicationDate>'2002-01-10 12:11:00' and story0_.genre='STORY' and (story0_.primaryTheme='CHILDREN' or story0_.secondaryTheme='CHILDREN') order by story0_.publicationDate DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' 18:32:18,516 WARN [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-25) RESTEASY002142: Multiple resource methods match request "GET /microstory/hottest/". Selecting one. Matching methods: [public javax.ws.rs.core.Response es.uvigo.esei.dgss.teamB.microstories.StoryResource.mostPopular(), public javax.ws.rs.core.Response es.uvigo.esei.dgss.teamB.microstories.StoryResource.getStory(java.lang.Integer)] Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.genre like 'STORY' order by story0_.views DESC limit ? Hibernate: select author0_.login as login2_1_0_, author0_.password as password3_1_0_, stories1_.author as author9_0_1_, stories1_.id as id1_0_1_, stories1_.id as id1_0_2_, stories1_.author as author9_0_2_, stories1_.genre as genre2_0_2_, stories1_.primaryTheme as primaryT3_0_2_, stories1_.publicationDate as publicat4_0_2_, stories1_.secondaryTheme as secondar5_0_2_, stories1_.text as text6_0_2_, stories1_.title as title7_0_2_, stories1_.views as views8_0_2_ from User author0_ left outer join Story stories1_ on author0_.login=stories1_.author where author0_.login=? and author0_.role='AUTHOR' Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.genre like 'NANOSTORY' order by story0_.views DESC limit ? Hibernate: select story0_.id as id1_0_, story0_.author as author9_0_, story0_.genre as genre2_0_, story0_.primaryTheme as primaryT3_0_, story0_.publicationDate as publicat4_0_, story0_.secondaryTheme as secondar5_0_, story0_.text as text6_0_, story0_.title as title7_0_, story0_.views as views8_0_ from Story story0_ where story0_.genre like 'POETRY' order by story0_.views DESC limit ? 18:32:18,701 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 18) WFLYUT0022: Unregistered web context: /test 18:32:18,729 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 60) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'test.war#test' 18:32:18,729 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 60) HHH000227: Running hbm2ddl schema export Hibernate: drop table Story if exists Hibernate: drop table User if exists 18:32:18,733 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 60) HHH000230: Schema export complete 18:32:18,740 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 18) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'test.war#test' 18:32:18,754 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 60) WFLYCLINF0003: Stopped client-mappings cache from ejb container 18:32:18,768 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment test.war (runtime-name: test.war) in 67ms 18:32:18,778 WARN [org.jboss.as.controller] (management-handler-thread - 2) WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address [] 18:32:18,788 INFO [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0002: Content removed from location /var/lib/jenkins/workspace/μStories - Team B/rest/target/wildfly-10.1.0.Final/standalone/data/content/49/1dba4728ec1d946b888e35d4ec91ef2335970f/content 18:32:18,788 INFO [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0009: Undeployed "test.war" (runtime-name: "test.war") [ERROR] Tests run: 27, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 36.805 s <<< FAILURE! - in es.uvigo.esei.dgss.teamB.microstories.ResourceIntegrationTestSuite [ERROR] testGetStory(es.uvigo.esei.dgss.teamB.microstories.StoryResourceRestTest) Time elapsed: 0.345 s <<< FAILURE! java.lang.AssertionError: Expected: is Story entity with value '59' for views but: was at es.uvigo.esei.dgss.teamB.microstories.StoryResourceRestTest.testGetStory(StoryResourceRestTest.java:100) [ERROR] afterGetStory(es.uvigo.esei.dgss.teamB.microstories.StoryResourceRestTest) Time elapsed: 0.11 s <<< FAILURE! java.lang.AssertionError: Test failed in 1 case. STORY | In row 20: expected value of VIEWS "59" but was "60". 18:32:18,803 WARNING [org.jboss.arquillian.core.spi.ObserverMethod] (main) Argument 2 for ArquillianServiceDeployer.undeploy is null. It won't be invoked. 18:32:18,819 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0010: Unbound data source [java:jboss/datasources/dgss1819/teamB/microstories] 18:32:18,819 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS] 18:32:18,879 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0019: Host default-host stopping 18:32:18,910 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0019: Stopped Driver service with driver-name = h2 18:32:18,911 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0008: Undertow HTTP listener default suspending 18:32:18,913 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:38080 18:32:18,934 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0004: Undertow 1.4.0.Final stopping 18:32:18,964 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) stopped in 120ms [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] StoryResourceRestTest.afterGetStory Test failed in 1 case. STORY | In row 20: expected value of VIEWS "59" but was "60". [ERROR] StoryResourceRestTest.testGetStory:100 Expected: is Story entity with value '59' for views but: was [INFO] [ERROR] Tests run: 27, Failures: 2, Errors: 0, Skipped: 0 [INFO] [ERROR] There are test failures. Please refer to /var/lib/jenkins/workspace/μStories - Team B/rest/target/surefire-reports for the individual test results. Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream. [JENKINS] Recording test results [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:report (post-unit-test) @ dgss1819-teamB-microstories-rest --- [INFO] Loading execution data file /var/lib/jenkins/workspace/μStories - Team B/rest/target/jacoco.exec [INFO] Analyzed bundle 'REST' with 5 classes [INFO] [INFO] --- maven-war-plugin:2.2:war (default-war) @ dgss1819-teamB-microstories-rest --- [INFO] Packaging webapp [INFO] Assembling webapp [dgss1819-teamB-microstories-rest] in [/var/lib/jenkins/workspace/μStories - Team B/rest/target/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT] [INFO] Processing war project [INFO] Copying webapp resources [/var/lib/jenkins/workspace/μStories - Team B/rest/src/main/webapp] [INFO] Webapp assembled in [30 msecs] [INFO] Building war: /var/lib/jenkins/workspace/μStories - Team B/rest/target/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT.war [INFO] WEB-INF/web.xml already added, skipping [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ dgss1819-teamB-microstories-rest >>> [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-unit-test) @ dgss1819-teamB-microstories-rest --- [INFO] argLine set to "-javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/var/lib/jenkins/workspace/μStories - Team B/rest/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/μStories - Team B/target/classes" [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ dgss1819-teamB-microstories-rest <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ dgss1819-teamB-microstories-rest --- [INFO] Building jar: /var/lib/jenkins/workspace/μStories - Team B/rest/target/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @ dgss1819-teamB-microstories-rest --- [INFO] Loading source files for package es.uvigo.esei.dgss.teamB.microstories... Constructing Javadoc information... Standard Doclet version 1.8.0_144 Building tree for all the packages and classes... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/AuthorResource.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/CORSFilter.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/IllegalArgumentExceptionMapper.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/SecurityExceptionMapper.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/StoryResource.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/package-frame.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/package-summary.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/package-tree.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/constant-values.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/class-use/SecurityExceptionMapper.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/class-use/AuthorResource.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/class-use/CORSFilter.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/class-use/IllegalArgumentExceptionMapper.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/class-use/StoryResource.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/package-use.html... Building index for all the packages and classes... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/overview-tree.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/index-all.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/deprecated-list.html... Building index for all classes... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/allclasses-frame.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/allclasses-noframe.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/index.html... Generating /var/lib/jenkins/workspace/μStories - Team B/rest/target/apidocs/help-doc.html... [INFO] Building jar: /var/lib/jenkins/workspace/μStories - Team B/rest/target/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT-javadoc.jar [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-integration-test) @ dgss1819-teamB-microstories-rest --- [INFO] argLine set to "-javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/var/lib/jenkins/workspace/μStories - Team B/rest/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/μStories - Team B/target/classes" [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:report (post-integration-test) @ dgss1819-teamB-microstories-rest --- [INFO] Loading execution data file /var/lib/jenkins/workspace/μStories - Team B/rest/target/jacoco.exec [INFO] Analyzed bundle 'REST' with 5 classes [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ dgss1819-teamB-microstories-rest --- [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/rest/target/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT.war to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-rest/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT.war [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/rest/pom.xml to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-rest/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT.pom [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/rest/target/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-rest/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT-sources.jar [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/rest/target/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT-javadoc.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-rest/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT-javadoc.jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building JSF 0.2.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dgss1819-teamB-microstories-jsf --- [INFO] Deleting /var/lib/jenkins/workspace/μStories - Team B/jsf/target [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-unit-test) @ dgss1819-teamB-microstories-jsf --- [INFO] argLine set to "-javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/var/lib/jenkins/workspace/μStories - Team B/jsf/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/μStories - Team B/target/classes" [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ dgss1819-teamB-microstories-jsf --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ dgss1819-teamB-microstories-jsf --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 6 source files to /var/lib/jenkins/workspace/μStories - Team B/jsf/target/classes [INFO] /var/lib/jenkins/workspace/μStories - Team B/jsf/src/main/java/es/uvigo/esei/dgss/teamB/microstories/ExploreManagedBean.java: /var/lib/jenkins/workspace/μStories - Team B/jsf/src/main/java/es/uvigo/esei/dgss/teamB/microstories/ExploreManagedBean.java uses unchecked or unsafe operations. [INFO] /var/lib/jenkins/workspace/μStories - Team B/jsf/src/main/java/es/uvigo/esei/dgss/teamB/microstories/ExploreManagedBean.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ dgss1819-teamB-microstories-jsf --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.8:run (download-geckodriver) @ dgss1819-teamB-microstories-jsf --- [WARNING] Parameter tasks is deprecated, use target instead [INFO] Executing tasks main: [mkdir] Created dir: /var/lib/jenkins/workspace/μStories - Team B/jsf/target/geckodriver [get] Getting: https://github.com/mozilla/geckodriver/releases/download/v0.19.1/geckodriver-v0.19.1-linux64.tar.gz [get] To: /var/lib/jenkins/workspace/μStories - Team B/jsf/target/geckodriver/geckodriver-v0.19.1-linux64.tar.gz [get] https://github.com/mozilla/geckodriver/releases/download/v0.19.1/geckodriver-v0.19.1-linux64.tar.gz moved to https://github-production-release-asset-2e65be.s3.amazonaws.com/25354393/e31e4c22-be6f-11e7-9bc7-dedc3490a7fd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181213%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181213T173153Z&X-Amz-Expires=300&X-Amz-Signature=6662ba922c12ec5367b62047c493d1e76dc33505b9ccf3ed955d79a68ab9f0a4&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dgeckodriver-v0.19.1-linux64.tar.gz&response-content-type=application%2Foctet-stream [untar] Expanding: /var/lib/jenkins/workspace/μStories - Team B/jsf/target/geckodriver/geckodriver-v0.19.1-linux64.tar.gz into /var/lib/jenkins/workspace/μStories - Team B/jsf/target/geckodriver [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ dgss1819-teamB-microstories-jsf --- [INFO] No sources to compile [INFO] [INFO] --- maven-dependency-plugin:2.10:unpack (unpack) @ dgss1819-teamB-microstories-jsf --- [INFO] Configured Artifact: org.wildfly:wildfly-dist:10.1.0.Final:zip [INFO] Unpacking /var/lib/jenkins/.m2/repository/org/wildfly/wildfly-dist/10.1.0.Final/wildfly-dist-10.1.0.Final.zip to /var/lib/jenkins/workspace/μStories - Team B/jsf/target with includes "" and excludes "" [INFO] [INFO] --- maven-resources-plugin:3.0.2:copy-resources (copy-wildfly-resources) @ dgss1819-teamB-microstories-jsf --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ dgss1819-teamB-microstories-jsf --- [INFO] Tests are skipped. [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:report (post-unit-test) @ dgss1819-teamB-microstories-jsf --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- maven-war-plugin:2.2:war (default-war) @ dgss1819-teamB-microstories-jsf --- [INFO] Packaging webapp [INFO] Assembling webapp [dgss1819-teamB-microstories-jsf] in [/var/lib/jenkins/workspace/μStories - Team B/jsf/target/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT] [INFO] Processing war project [INFO] Copying webapp resources [/var/lib/jenkins/workspace/μStories - Team B/jsf/src/main/webapp] [INFO] Webapp assembled in [16 msecs] [INFO] Building war: /var/lib/jenkins/workspace/μStories - Team B/jsf/target/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT.war [INFO] WEB-INF/web.xml already added, skipping [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ dgss1819-teamB-microstories-jsf >>> [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-unit-test) @ dgss1819-teamB-microstories-jsf --- [INFO] argLine set to "-javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/var/lib/jenkins/workspace/μStories - Team B/jsf/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/μStories - Team B/target/classes" [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ dgss1819-teamB-microstories-jsf <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ dgss1819-teamB-microstories-jsf --- [INFO] Building jar: /var/lib/jenkins/workspace/μStories - Team B/jsf/target/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @ dgss1819-teamB-microstories-jsf --- [INFO] Loading source files for package es.uvigo.esei.dgss.teamB.microstories... Constructing Javadoc information... Standard Doclet version 1.8.0_144 Building tree for all the packages and classes... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/ExploreManagedBean.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/LoginManagedBean.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/MyStoriesManagedBean.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/SearchManagedBean.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/SingleManagedBean.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/StoryManagedBean.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/package-frame.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/package-summary.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/package-tree.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/constant-values.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/class-use/MyStoriesManagedBean.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/class-use/ExploreManagedBean.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/class-use/LoginManagedBean.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/class-use/SingleManagedBean.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/class-use/StoryManagedBean.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/class-use/SearchManagedBean.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/es/uvigo/esei/dgss/teamB/microstories/package-use.html... Building index for all the packages and classes... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/overview-tree.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/index-all.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/deprecated-list.html... Building index for all classes... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/allclasses-frame.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/allclasses-noframe.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/index.html... Generating /var/lib/jenkins/workspace/μStories - Team B/jsf/target/apidocs/help-doc.html... [INFO] Building jar: /var/lib/jenkins/workspace/μStories - Team B/jsf/target/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT-javadoc.jar [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (pre-integration-test) @ dgss1819-teamB-microstories-jsf --- [INFO] argLine set to "-javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/var/lib/jenkins/workspace/μStories - Team B/jsf/target/jacoco.exec,classdumpdir=/var/lib/jenkins/workspace/μStories - Team B/target/classes" [INFO] [INFO] --- jacoco-maven-plugin:0.7.9:report (post-integration-test) @ dgss1819-teamB-microstories-jsf --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ dgss1819-teamB-microstories-jsf --- [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/jsf/target/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT.war to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-jsf/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT.war [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/jsf/pom.xml to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-jsf/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT.pom [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/jsf/target/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-jsf/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT-sources.jar [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/jsf/target/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT-javadoc.jar to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-jsf/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT-javadoc.jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building EAR 0.2.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dgss1819-teamB-microstories-ear --- [INFO] Deleting /var/lib/jenkins/workspace/μStories - Team B/ear/target [INFO] [INFO] --- maven-ear-plugin:2.10.1:generate-application-xml (default-generate-application-xml) @ dgss1819-teamB-microstories-ear --- [INFO] Generating application.xml [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ dgss1819-teamB-microstories-ear --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/μStories - Team B/ear/src/main/resources [INFO] [INFO] --- maven-dependency-plugin:2.10:unpack (unpack) @ dgss1819-teamB-microstories-ear --- [INFO] Configured Artifact: org.wildfly:wildfly-dist:10.1.0.Final:zip [INFO] Unpacking /var/lib/jenkins/.m2/repository/org/wildfly/wildfly-dist/10.1.0.Final/wildfly-dist-10.1.0.Final.zip to /var/lib/jenkins/workspace/μStories - Team B/ear/target with includes "" and excludes "" [INFO] [INFO] --- maven-resources-plugin:3.0.2:copy-resources (copy-wildfly-resources) @ dgss1819-teamB-microstories-ear --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/μStories - Team B/ear/src/test/resources-wildfly-embedded-h2 [INFO] [INFO] --- maven-ear-plugin:2.10.1:ear (default-ear) @ dgss1819-teamB-microstories-ear --- [INFO] Copying artifact [war:es.uvigo.esei.dgss.teamB.microstories:dgss1819-teamB-microstories-jsf:0.2.0-SNAPSHOT] to [dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT.war] [INFO] Building zip: /var/lib/jenkins/workspace/μStories - Team B/ear/target/dgss1819-teamB-microstories-ear-0.2.0-SNAPSHOT/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT.war [INFO] Copying artifact [war:es.uvigo.esei.dgss.teamB.microstories:dgss1819-teamB-microstories-rest:0.2.0-SNAPSHOT] to [dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT.war] [INFO] Building zip: /var/lib/jenkins/workspace/μStories - Team B/ear/target/dgss1819-teamB-microstories-ear-0.2.0-SNAPSHOT/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT.war [INFO] Copying artifact [jar:es.uvigo.esei.dgss.teamB.microstories:dgss1819-teamB-microstories-domain:0.2.0-SNAPSHOT] to [lib/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT.jar] [INFO] Copying artifact [jar:org.apache.commons:commons-lang3:3.4] to [lib/commons-lang3-3.4.jar] [INFO] Copying artifact [ejb:es.uvigo.esei.dgss.teamB.microstories:dgss1819-teamB-microstories-service:0.2.0-SNAPSHOT] to [dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT.jar] [INFO] Building zip: /var/lib/jenkins/workspace/μStories - Team B/ear/target/dgss1819-teamB-microstories-ear-0.2.0-SNAPSHOT/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT.jar [INFO] Could not find manifest file: /var/lib/jenkins/workspace/μStories - Team B/ear/target/dgss1819-teamB-microstories-ear-0.2.0-SNAPSHOT/META-INF/MANIFEST.MF - Generating one [INFO] Building jar: /var/lib/jenkins/workspace/μStories - Team B/ear/target/dgss1819-teamB-microstories-pom-0.2.0-SNAPSHOT.ear [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ dgss1819-teamB-microstories-ear >>> [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ dgss1819-teamB-microstories-ear <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ dgss1819-teamB-microstories-ear --- [INFO] No sources in project. Archive not created. [INFO] [INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @ dgss1819-teamB-microstories-ear --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ dgss1819-teamB-microstories-ear --- [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/ear/target/dgss1819-teamB-microstories-pom-0.2.0-SNAPSHOT.ear to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-ear/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-ear-0.2.0-SNAPSHOT.ear [INFO] Installing /var/lib/jenkins/workspace/μStories - Team B/ear/pom.xml to /var/lib/jenkins/.m2/repository/es/uvigo/esei/dgss/teamB/microstories/dgss1819-teamB-microstories-ear/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-ear-0.2.0-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] μStories 18/19 Team B .............................. SUCCESS [ 9.348 s] [INFO] Domain ............................................. SUCCESS [ 13.229 s] [INFO] Tests .............................................. SUCCESS [ 7.846 s] [INFO] Service ............................................ SUCCESS [ 49.804 s] [INFO] REST ............................................... SUCCESS [ 47.042 s] [INFO] JSF ................................................ SUCCESS [ 9.968 s] [INFO] EAR ................................................ SUCCESS [ 5.840 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:26 min [INFO] Finished at: 2018-12-13T18:32:39+01:00 [INFO] Final Memory: 71M/724M [INFO] ------------------------------------------------------------------------ [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/rest/pom.xml to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-rest/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/rest/target/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT.war to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-rest/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT.war [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/rest/target/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT-sources.jar to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-rest/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT-sources.jar [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/rest/target/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT-javadoc.jar to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-rest/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-rest-0.2.0-SNAPSHOT-javadoc.jar [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/service/pom.xml to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-service/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/service/target/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT.jar to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-service/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT.jar [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/service/target/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT-sources.jar to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-service/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT-sources.jar [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/service/target/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT-javadoc.jar to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-service/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT-javadoc.jar [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/service/target/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT-tests.jar to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-service/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-service-0.2.0-SNAPSHOT-tests.jar [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/ear/pom.xml to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-ear/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-ear-0.2.0-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/ear/target/dgss1819-teamB-microstories-pom-0.2.0-SNAPSHOT.ear to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-ear/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-ear-0.2.0-SNAPSHOT.ear [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/domain/pom.xml to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-domain/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/domain/target/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT.jar to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-domain/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT.jar [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/domain/target/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT-sources.jar to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-domain/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT-sources.jar [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/domain/target/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT-javadoc.jar to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-domain/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-domain-0.2.0-SNAPSHOT-javadoc.jar [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/jsf/pom.xml to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-jsf/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/jsf/target/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT.war to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-jsf/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT.war [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/jsf/target/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT-sources.jar to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-jsf/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT-sources.jar [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/jsf/target/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT-javadoc.jar to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-jsf/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-jsf-0.2.0-SNAPSHOT-javadoc.jar [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/pom.xml to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-pom/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-pom-0.2.0-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/tests/pom.xml to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-tests/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/tests/target/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT.jar to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-tests/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT.jar [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/tests/target/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT-sources.jar to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-tests/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT-sources.jar [JENKINS] Archiving /var/lib/jenkins/workspace/μStories - Team B/tests/target/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT-javadoc.jar to es.uvigo.esei.dgss.teamB.microstories/dgss1819-teamB-microstories-tests/0.2.0-SNAPSHOT/dgss1819-teamB-microstories-tests-0.2.0-SNAPSHOT-javadoc.jar Xvfb stopping channel stopped [htmlpublisher] Archiving HTML reports... [htmlpublisher] Archiving at PROJECT level /var/lib/jenkins/workspace/μStories - Team B/domain/target/site/jacoco to /var/lib/jenkins/jobs/μStories - Team B/htmlreports/Domain_JaCoCo_Report [htmlpublisher] Archiving at PROJECT level /var/lib/jenkins/workspace/μStories - Team B/service/target/site/jacoco to /var/lib/jenkins/jobs/μStories - Team B/htmlreports/Service_JaCoCo_Report [htmlpublisher] Archiving at PROJECT level /var/lib/jenkins/workspace/μStories - Team B/jsf/target/site/jacoco to /var/lib/jenkins/jobs/μStories - Team B/htmlreports/JSF_JaCoCo_Report [htmlpublisher] Archiving at PROJECT level /var/lib/jenkins/workspace/μStories - Team B/rest/target/site/jacoco to /var/lib/jenkins/jobs/μStories - Team B/htmlreports/REST_JaCoCo_Report Sending e-mails to: mrjato@esei.uvigo.es dgpena@esei.uvigo.es dmdominguez@esei.uvigo.es gbgonzalez@esei.uvigo.es lrcortizo@esei.uvigo.es srconde@esei.uvigo.es Finished: UNSTABLE