[JBoss JIRA] Created: (JBIDE-4386) org.jboss.tools.seam.core.test.SeamCoreAllTests log output is rather verbose
by Nick Boldt (JIRA)
org.jboss.tools.seam.core.test.SeamCoreAllTests log output is rather verbose
----------------------------------------------------------------------------
Key: JBIDE-4386
URL: https://jira.jboss.org/jira/browse/JBIDE-4386
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.1.0.M1
Reporter: Nick Boldt
In the build log, we see a lot of seam test output. Could this be redirected to a different log file?
Here's a snippet:
append-test-log:
[echo] Cleaning test workspace...
[echo] performing "ui" test on plugin "org.jboss.tools.seam.core.test" class "org.jboss.tools.seam.core.test.SeamCoreAllTests"
ui-test:
eclipse-test:
[java] !SESSION 2009-05-27 15:00:22.148 -----------------------------------------------
[java] eclipse.buildId=I20090430-2300
[java] java.version=1.6.0_10
[java] java.vendor=Sun Microsystems Inc.
[java] BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
[java] Framework arguments: -application org.eclipse.test.uitestapplication -plugincustomization /home/hudson/hudson_workspace/workspace/jbosstools-nightly/org.jboss.ide.eclipse.releng/builders/tests/plugin_customization.ini formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,org.jboss.tools.seam.core.test.SeamCoreAllTests-default.xml -testPluginName org.jboss.tools.seam.core.test -classname org.jboss.tools.seam.core.test.SeamCoreAllTests
[java] Command-line arguments: -application org.eclipse.test.uitestapplication -dev bin -data /home/hudson/hudson_workspace/workspace/jbosstools-nightly/jbds-build/3.1.0.M1/200905271301/tests/workspace -plugincustomization /home/hudson/hudson_workspace/workspace/jbosstools-nightly/org.jboss.ide.eclipse.releng/builders/tests/plugin_customization.ini formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,org.jboss.tools.seam.core.test.SeamCoreAllTests-default.xml -testPluginName org.jboss.tools.seam.core.test -classname org.jboss.tools.seam.core.test.SeamCoreAllTests -consolelog
[java]
[java] !ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2009-05-27 15:00:25.853
[java] !MESSAGE The installable unit org.jboss.tools.jmx.ui.test.translated_host_properties is missing the filename property.
[java]
[java] !ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2009-05-27 15:00:25.855
[java] !MESSAGE The installable unit org.eclipse.test.performance.win32.translated_host_properties is missing the filename property.
[java]
[java] !ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2009-05-27 15:00:25.898
[java] !MESSAGE The installable unit org.jboss.tools.jmx.ui.test.translated_host_properties is missing the filename property.
[java]
[java] !ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2009-05-27 15:00:25.899
[java] !MESSAGE The installable unit org.eclipse.test.performance.win32.translated_host_properties is missing the filename property.
[java]
[java] !ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2009-05-27 15:00:26.889
[java] !MESSAGE The installable unit org.jboss.tools.jmx.ui.test.translated_host_properties is missing the filename property.
[java]
[java] !ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2009-05-27 15:00:26.890
[java] !MESSAGE The installable unit org.eclipse.test.performance.win32.translated_host_properties is missing the filename property.
[java]
[java] !ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2009-05-27 15:00:26.917
[java] !MESSAGE The installable unit org.jboss.tools.jmx.ui.test.translated_host_properties is missing the filename property.
[java]
[java] !ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2009-05-27 15:00:26.918
[java] !MESSAGE The installable unit org.eclipse.test.performance.win32.translated_host_properties is missing the filename property.
[java] Xlib: extension "RANDR" missing on display ":1.0".
[java] EMMA: collecting runtime coverage data ...
...
[java] Marker - Referenced file contains errors (file:/home/hudson/hudson_workspace/workspace/jbosstools-nightly/jbds-build/3.1.0.M1/200905271301/tests/eclipse/plugins/org.jboss.tools.seam.xml_3.0.0.GA-N200905271301/schemas/components-1.2.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
[java] Test - Duplicate component name
[java] Marker - Duplicate component name: "abcComponent"
[java] Marker - Duplicate component name: "abcComponent"
[java] Marker line number - 7
[java] Test - Stateful component does not contain @Remove method
[java] Marker - Stateful component "statefulComponent" must have a method marked @Remove
[java] Marker - Stateful component "statefulComponent" must have a method marked @Remove
[java] Marker line number - 16
[java] Test - Stateful component does not contain @Destroy method
[java] Marker - Stateful component "statefulComponent" must have a method marked @Destroy
[java] Marker - Stateful component "statefulComponent" must have a method marked @Destroy
[java] Marker line number - 16
[java] Test - Stateful component has wrong scope
[java] Marker - Stateful component "statefulComponent" should not have org.jboss.seam.ScopeType.PAGE, nor org.jboss.seam.ScopeType.STATELESS
[java] Marker - Stateful component "statefulComponent" should not have org.jboss.seam.ScopeType.PAGE, nor org.jboss.seam.ScopeType.STATELESS
[java] Marker line number - 16
[java] Test - Component class name cannot be resolved to a type
[java] Marker - "org.domain.SeamWebWarTestProject.session.StateComponent" cannot be resolved to a type
[java] Marker - "org.domain.SeamWebWarTestProject.session.StateComponent" cannot be resolved to a type
[java] Marker line number - 15
[java] Test - Component class does not contain setter for property
[java] Marker - Class "StatefulComponent" of component "statefulComponent" does not have a setter or a field for the property "abc"
[java] Marker - Class "StatefulComponent" of component "statefulComponent" does not have a setter or a field for the property "abc"
[java] Marker line number - 16
[java] Test - Entity component has wrong scope
[java] Marker - Entity component "abcEntity" should not have org.jboss.seam.ScopeType.STATELESS
[java] Marker - Entity component "abcEntity" should not have org.jboss.seam.ScopeType.STATELESS
[java] Marker line number - 15
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 5 months
[JBoss JIRA] Created: (JBIDE-4361) Orm Diagram breaks when there are no project associated with a console configuration
by Max Rydahl Andersen (JIRA)
Orm Diagram breaks when there are no project associated with a console configuration
------------------------------------------------------------------------------------
Key: JBIDE-4361
URL: https://jira.jboss.org/jira/browse/JBIDE-4361
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Reporter: Max Rydahl Andersen
Assignee: Vitali Yemialyanchyk
Fix For: 3.1.0.M1
EXECUTE: Create a console configuration that does not point to a project
EXECUTE: Right click an entity in Console View and choose show mapping diagram
ASSERT: No Exceptions and diagram shown
Now you get:
java.lang.NullPointerException
at org.jboss.tools.hibernate.ui.veditor.editors.model.OrmDiagram.getStoreFolderPath(OrmDiagram.java:107)
at org.jboss.tools.hibernate.ui.veditor.editors.model.OrmDiagram.getStoreFilePath(OrmDiagram.java:111)
at org.jboss.tools.hibernate.ui.veditor.editors.model.OrmDiagram.load(OrmDiagram.java:717)
at org.jboss.tools.hibernate.ui.veditor.editors.model.OrmDiagram.<init>(OrmDiagram.java:102)
at org.jboss.tools.hibernate.ui.veditor.editors.VisualEditor.setInput(VisualEditor.java:158)
at org.eclipse.gef.ui.parts.GraphicalEditor.init(GraphicalEditor.java:318)
Because the diagram assumes there is a project associated with the launch configuration. This is a wrong assumption
plus it potentially mixes up settings for multiple console configurations. If something needs to be saved it should be done
in context of the launchconfiguration location/name.
i.e. a workspace preference keyed by launch config name or by saving settings where the launch configuration is stored.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 5 months
[JBoss JIRA] Created: (JBIDE-4358) java.lang.NullPointerException is occured when remame Seam Component after renaming seam-ejb project
by Anton Klimkovich (JIRA)
java.lang.NullPointerException is occured when remame Seam Component after renaming seam-ejb project
----------------------------------------------------------------------------------------------------
Key: JBIDE-4358
URL: https://jira.jboss.org/jira/browse/JBIDE-4358
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.1.0.M1
Reporter: Anton Klimkovich
Assignee: Alexey Kazakov
EXECUTE: Create seam Ear web project
EXECUTE: seam-ejb project -> Refacor -> Rename -> input new name
EXECUTE: Open Authenticator.java
EXECUTE: Select from context menu Seam-> Rename Seam Component and press Finish button
FAILURE: java.lang.NullPointerException
at org.jboss.tools.common.el.core.resolver.TypeInfoCollector.createMemberInfo(TypeInfoCollector.java:1218)
at org.jboss.tools.common.el.core.resolver.TypeInfoCollector.createMemberInfo(TypeInfoCollector.java:1225)
at org.jboss.tools.seam.internal.core.el.SeamExpressionResolver.getMemberInfoByVariable(SeamExpressionResolver.java:287)
at org.jboss.tools.seam.internal.core.el.SeamELCompletionEngine.resolveELOperand(SeamELCompletionEngine.java:468)
at org.jboss.tools.seam.internal.core.el.SeamELCompletionEngine.resolveELOperand(SeamELCompletionEngine.java:242)
at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateElOperand(SeamELValidator.java:375)
at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateEl(SeamELValidator.java:361)
at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateString(SeamELValidator.java:352)
at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateNodeContent(SeamELValidator.java:319)
at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateChildNodes(SeamELValidator.java:300)
at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateChildNodes(SeamELValidator.java:304)
at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateDom(SeamELValidator.java:273)
at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateFile(SeamELValidator.java:232)
at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validate(SeamELValidator.java:144)
at org.jboss.tools.seam.internal.core.validation.SeamValidatorManager.validate(SeamValidatorManager.java:78)
at org.jboss.tools.seam.internal.core.validation.SeamValidatorManager.validateInJob(SeamValidatorManager.java:63)
at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 5 months
[JBoss JIRA] Created: (JBIDE-4262) NPE is thrown when user tries to rename Seam Component which is declared in components.xml
by Alexey Kazakov (JIRA)
NPE is thrown when user tries to rename Seam Component which is declared in components.xml
------------------------------------------------------------------------------------------
Key: JBIDE-4262
URL: https://jira.jboss.org/jira/browse/JBIDE-4262
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.1.0.M1
Reporter: Alexey Kazakov
Assignee: Daniel Azarov
Fix For: 3.1.0.M1
1. Create Seam Project (New Seam Project Wizard)
2. Open components.xml. Add <component class="org.domain.<project_name>.session.Authenticator" name="authenticator"/>
3. Open Authenticator.java. Remove @Name("authenticator")
4. Right click->Seam->Rename Component
5. Enter new name, press finish.
6. There is en error in Eclipse log:
java.lang.NullPointerException
at org.jboss.tools.seam.ui.wizard.RenameComponentWizard.<init>(RenameComponentWizard.java:54)
at org.jboss.tools.seam.ui.refactoring.SeamComponentRenameHandler.invokeRenameWizard(SeamComponentRenameHandler.java:73)
at org.jboss.tools.seam.ui.refactoring.SeamComponentRenameHandler.execute(SeamComponentRenameHandler.java:64)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:291)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:743)
at org.eclipse.ui.menus.CommandContributionItem.access$10(CommandContributionItem.java:729)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:719)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2393)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2357)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2209)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:499)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:492)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:556)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:511)
at org.eclipse.equinox.launcher.Main.run(Main.java:1284)
at org.eclipse.equinox.launcher.Main.main(Main.java:1260)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 5 months