Skip to content

Instantly share code, notes, and snippets.

View manstis's full-sized avatar

Michael Anstis manstis

  • Red Hat
  • England
View GitHub Profile
manstis@manstis-ThinkPad-T540p uftest-webapp [] $ mvn gwt:run
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Uftest WebApp 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> gwt-maven-plugin:2.7.0:run (default-cli) > process-classes @ uftest-webapp >>>
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:parse-version (default) @ uftest-webapp ---
WARN [org.jboss.modules] Failed to define class com.google.web.bindery.requestfactory.server.RequestFactoryJarExtractor$AnnotationProcessor in Module "deployment.ROOT.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link com/google/web/bindery/requestfactory/server/RequestFactoryJarExtractor$AnnotationProcessor (Module "deployment.ROOT.war:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:487) [jboss-modules-1.3.3.Final.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277) [jboss-modules-1.3.3.Final.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92) [jboss-modules-1.3.3.Final.jar:1.3.3.Final]
at org.jboss.modules.Module.loadModuleClass(Module.java:568) [jboss-modules-1.3.3.Final.jar:1.3.3.Final]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205) [jboss-modules-1.3.3.Final.jar:1.3.3.Final]
at org.jboss.mod
@manstis
manstis / gist:e99d22a1229dc83f1fae
Created April 15, 2015 09:22
FilterSelectorDropdown - UserDataGridPreferencesService causes the errors
/*
* Copyright 2010 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ uberfire-widgets-commons ---
[INFO] Compiling 130 source files to /home/manstis/workspaces/git/uberfire/uberfire-extensions/uberfire-widgets/uberfire-widgets-commons/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/manstis/workspaces/git/uberfire/uberfire-extensions/uberfire-widgets/uberfire-widgets-commons/src/main/java/org/uberfire/ext/widgets/common/client/tables/FilterSelectorDropdown.java:[25,51] error: cannot find symbol
[ERROR] symbol: class UserDataGridPreferencesService
location: package org.uberfire.ext.services.shared.preferences
/home/manstis/workspaces/git/uberfire/uberfire-extensions/uberfire-widgets/uberfire-widgets-commons/src/main/java/org/uberfire/ext/widgets/common/client/tables/FilterSelectorDropdown.java:[39,19] error: cannot find symbol
[ERROR] symbol: class UserDataG
interface javax.validation.Path$MethodNode
btpool0-7@10853, prio=5, in group 'main', status: 'RUNNING'
at java.lang.Class.getEnclosingClass(Class.java:1087)
at java.lang.Class.getCanonicalName(Class.java:1171)
at org.drools.core.util.asm.ClassFieldInspector.getResourcePath(ClassFieldInspector.java:200)
at org.drools.core.util.asm.ClassFieldInspector.<init>(ClassFieldInspector.java:79)
at org.drools.core.util.asm.ClassFieldInspector.<init>(ClassFieldInspector.java:72)
at org.kie.workbench.common.services.datamodel.backend.server.builder.projects.ClassFactBuilder.loadClassFields(ClassFactBuilder.java:151)
at org.kie.workbench.common.services.datamodel.backend.server.builder.projects.ClassFactBuilder.<init>(ClassFactBuilder.java:69)
public WorkbenchConfigurationPopup() {
setTitle(constants.Workbench_Settings());
add(uiBinder.createAndBindUi(this));
add(new ModalFooterOKCancelButtons(new Command() {
@Override
public void execute() {
onOk();
hide();
}
@manstis
manstis / gist:1af69930e863d8671a81
Created March 25, 2015 14:01
Compilation error
[INFO] --- gwt-maven-plugin:2.7.0:compile (gwt-compile) @ uberfire-client-webapp ---
[INFO] Compiling module org.uberfire.FastCompiledUberfireShowcaseClient
[INFO] Tracing compile failure path for type 'org.uberfire.client.screens.MoodScreen'
[INFO] [ERROR] Errors in 'file:/home/manstis/workspaces/git/porcelli/uberfire/uberfire-showcase/uberfire-client-webapp/target/classes/org/uberfire/client/screens/MoodScreen.java'
[INFO] [ERROR] Line 48: No source code is available for type org.uberfire.client.util.Layouts; did you forget to inherit a required module?
[INFO] Tracing compile failure path for type 'org.uberfire.client.navbar.AppNavBar'
[INFO] [ERROR] Errors in 'file:/home/manstis/workspaces/git/porcelli/uberfire/uberfire-showcase/uberfire-client-webapp/target/classes/org/uberfire/client/navbar/AppNavBar.java'
[INFO] [ERROR] Line 18: No source code is available for type org.uberfire.client.workbench.widgets.menu.WorkbenchMenuBarPresenter; did you forget to inherit a requir
/home/manstis/libraries/jdk/jdk1.6.0_45/bin/java -Xmx256m -Dorg.jboss.weld.nonPortableMode=true -Didea.launcher.port=7532 -Didea.launcher.bin.path=/home/manstis/installs/inteliJ/idea-IU-129.1359/bin -Dfile.encoding=UTF-8 -classpath /home/manstis/.m2/repository/com/google/gwt/gwt-dev/2.6.1//gwt-dev-2.6.1.jar:/home/manstis/.m2/repository/com/github/gwtbootstrap/gwt-bootstrap/2.2.1.0/gwt-bootstrap-2.2.1.0-sources.jar:/home/manstis/workspaces/git/uberfire-0.6.x/uberfire/uberfire-workbench/uberfire-workbench-client-views-bs2/src/main/resources:/home/manstis/workspaces/git/uberfire-0.6.x/uberfire/uberfire-workbench/uberfire-workbench-client-views-bs2/src/main/java:/home/manstis/workspaces/git/uberfire-0.6.x/uberfire/uberfire-nio2-backport/uberfire-nio2-impls/uberfire-nio2-fs/src/main/java:/home/manstis/workspaces/git/uberfire-0.6.x/uberfire/uberfire-nio2-backport/uberfire-nio2-impls/uberfire-nio2-jgit/src/main/java:/home/manstis/workspaces/git/uberfire-0.6.x/uberfire/uberfire-backend/uberfire-backend-cdi/src/main/r
@Override
public OrganizationalUnit createOrganizationalUnit( final String name,
final String owner,
final String defaultGroupId ) {
OrganizationalUnit newOrganizationalUnit = null;
try {
configurationService.startBatch();
final ConfigGroup groupConfig = configurationFactory.newConfigGroup( ConfigType.ORGANIZATIONAL_UNIT,
name,
https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&classification=JBoss&component=BRE&component=Build%20and%20Assembly&component=Business%20Central&component=Configuration&component=Data%20Modeler&component=Deployment&component=Eclipse%20Tooling&component=Installer&component=JON%20Plugin&component=Maven%20Repository&component=Migration%20Tool&component=OptaPlanner&component=Quickstarts&component=Rule%20Flow%20Designer&f3=cf_type&list_id=3065997&o1=anywordssubstr&o2=notsubstring&o3=anywordssubstr&order=assigned_to%2Cbug_severity%20DESC%2Cbug_status%2Creporter_realname%2Cpriority%2Ccomponent%2Ckeywords%20DESC%2Cshort_desc%2Cbug_id%20ASC&priority=unspecified&priority=urgent&priority=high&priority=medium&product=JBoss%20BPMS%20Platform%206&product=JBoss%20BRMS%20Platform%206&query_based_on=&query_format=advanced&v1=jboss-brms-6.1.0&v2=jboss-brms-6.1.0-&v3=Bug