Skip to content

Instantly share code, notes, and snippets.

javax.faces.el.EvaluationException: javax.ejb.EJBTransactionRolledbackException
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at javax.faces.component.UICommand.broadcast(UICommand.java:315)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
[INFO] Scanning for projects...
Downloading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/tools/parent/3.4.0.M1-SNAPSHOT/maven-metadata.xml
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/jboss/tools/parent/3.4.0.M1-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/jboss/tools/parent/3.4.0.M1-SNAPSHOT/maven-metadata.xml (608 B at 0.5 KB/sec)
Downloaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/tools/parent/3.4.0.M1-SNAPSHOT/maven-metadata.xml (608 B at 0.4 KB/sec)
[INFO] Computing target platform for MavenProject: org.jboss.tools:org.jboss.tools.seam.ui.bot.test:3.3.0-SNAPSHOT @ /home/tremes/GITHUB/seam/JBDS-tests/seam/org.jboss.tools.seam.ui.bot.test/pom.xml
[INFO] Adding repository http://download.jboss.org/jbosstools/updates/target-platform_3.4.juno.SR0/latest/
[INFO] Adding repository http://download.jboss.org/jbosstools/updates/target-platform_3.4.juno.SR0/latest/
[
java.lang.NullPointerException
at org.junit.runners.ParentRunner.shouldRun(ParentRunner.java:360)
at org.junit.runners.ParentRunner.filter(ParentRunner.java:317)
at org.jboss.tools.ui.bot.ext.RequirementAwareSuite$ReqAwareClassRunner.<init>(RequirementAwareSuite.java:127)
at org.jboss.tools.ui.bot.ext.RequirementAwareSuite$RequirementAwareRunnerBuilder.runnerForClass(RequirementAwareSuite.java:252)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:98)
at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:84)
at org.junit.runners.Suite.<init>(Suite.java:101)
at org.junit.runners.Suite.<init>(Suite.java:67)
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.forge.jacoco-plugin</groupId>
<artifactId>jacoco-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
<properties>
<forge.api.version>1.0.6-SNAPSHOT</forge.api.version>
</properties>
@Command(value="url")
public void url(@Option(required=true) final Resource<?>[] urls, PipeOut out) throws IOException, URISyntaxException
{
for (Resource<?> url : urls)
{
out.println(url.getName());
if (url instanceof URLResource)
{
Desktop dt = Desktop.getDesktop();
out.println("SUPPORTED");
1.1.1. Running the examples on JBoss Enterprise Application Platform
Still refers to ant usage. There probably won't be any ant build option in WFK 2.1.0. This section should describe maven usage anyway.
AFAIK War examples are now deployed as /${name}-web and not /jboss-seam-example.
1.1.2. Running the example tests
Still refers to ant usage, should be maven instead.
Integration tests does not come with TestNG, but with JUnit and Arquillian.
In examples/readme.txt is no section about running tests from IDE. This was removed.
<cache-container name="ejb" aliases="sfsb sfsb-cache" default-cache="repl" module="org.jboss.as.clustering.ejb3.infinispan">
<transport lock-timeout="60000"/>
<replicated-cache name="repl" mode="ASYNC" batching="true">
<eviction strategy="LRU" max-entries="10000"/>
</replicated-cache>
<replicated-cache name="remote-connector-client-mappings" mode="SYNC" batching="true"/>
<distributed-cache name="dist" l1-lifespan="0" mode="ASYNC" batching="true">
<eviction strategy="LRU" max-entries="10000"/>
</distributed-cache>
</cache-container>
eclipse.openFile(PROJECT_NAME, "WebContent","home.xhtml").toTextEditor();
util.waitForAll();
SWTBotEditorExt editor = SWTTestExt.bot.swtBotEditorExtByTitle("home.xhtml");
ContentAssistBot contentAssist = editor.contentAssist();
int idx = 0;
for (String line : editor.getLines()) {
if (line.contains("#{")) {
editor.selectLine(idx);
[INFO] Resolving dependencies of MavenProject: org.jboss.tools.tests.plugins:org.jboss.tools.ui.bot.ext:4.0.0-SNAPSHOT @ /home/tremes/GITHUB/jbt-tests/tests/org.jboss.tools.ui.bot.ext/pom.xml
[INFO] Cannot complete the request. Generating details.
[INFO] Cannot complete the request. Generating details.
[INFO] {osgi.ws=cocoa, osgi.os=macosx, osgi.arch=x86, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.jboss.tools.ui.bot.ext 4.0.0.qualifier
[ERROR] Missing requirement: org.jboss.tools.ui.bot.ext 4.0.0.qualifier requires 'bundle org.eclipse.zest.core 1.2.0' but it could not be found
[ERROR]
[ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from org.jboss.tools.ui.bot.ext 4.0.0.qualifier to bundle org.eclipse.zest.core 1.2.0.", "Unable to satisfy dependency from org.jboss.tools.ui.bot.ext 4.0.0.qualifier to bundle org.eclipse.zest.layouts
=====================================
130301 10:37:08 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 55 seconds
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 4206113, signal count 3090998
Mutex spin waits 0, rounds 217200007, OS waits 3088564
RW-shared spins 1130940, OS waits 413167; RW-excl spins 957973, OS waits 330596