You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@taverna.apache.org by Upeksha Iwanthi <up...@gmail.com> on 2017/06/29 15:14:29 UTC

TAVERNA-550

Hello,

I'm 3rd year computer engineering student of university of Peradeniya.

I would like to contribute to work on the bug, TAVERNA-550(The text in
beanshell script check error dialogs should be selectable).
Please, make it in progress state.

Actually, still I have no idea how to start work on this. I'm glad if you
can give some help to start the work.

Thank you.

Re: TAVERNA-550

Posted by Thilina Manamgoda <ma...@gmail.com>.
Hi,

This failure is caused by taverna-app-configuration-impl module where
"taverna.app.startup" system property is not initialized at runtime. This
is the implementation
<https://github.com/apache/incubator-taverna-osgi/blob/master/taverna-app-configuration-impl/src/main/java/org/apache/taverna/configuration/app/impl/ApplicationConfigurationImpl.java#L58>.
I cannot find where is this system property is being initialized ?

regards,
Thilina

On Tue, Jul 11, 2017 at 8:45 PM, Ian Dunlop <ia...@gmail.com> wrote:

> Hello,
>
> I tried building the tavern-workbench on Windows 10 and Linux and got a
> different set of failures from you. This was with a fresh clone of
> https://github.com/apache/incubator-taverna-workbench.
>
> Using:
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> 2017-04-03T20:39:06+01:00)
> Maven home: C:\Program Files\apache-maven-3.5.0\bin\..
> Java version: 1.8.0_131, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_131\jre
> Default locale: en_GB, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>
> "mvn clean install" stack trace:
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running
> org.apache.taverna.workbench.ui.impl.configuration.colour.
> ColourManagerTest
> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.074 sec
> <<< FAILURE! - in
> org.apache.taverna.workbench.ui.impl.configuration.colour.
> ColourManagerTest
> saveAsWrongArrayType(org.apache.taverna.workbench.ui.
> impl.configuration.colour.ColourManagerTest)
> Time elapsed: 0.038 sec  <<< ERROR!
> java.lang.NullPointerException
>         at
> org.apache.taverna.workbench.ui.impl.configuration.colour.
> ColourManagerTest.setup(ColourManagerTest.java:45)
> testConfigurableness(org.apache.taverna.workbench.ui.
> impl.configuration.colour.ColourManagerTest)
> Time elapsed: 0 sec  <<< ERROR!
> java.lang.NullPointerException
>         at
> org.apache.taverna.workbench.ui.impl.configuration.colour.
> ColourManagerTest.setup(ColourManagerTest.java:45)
> testGetPreferredColourEqualsWhite(org.apache.taverna.workbench.ui.impl.
> configuration.colour.ColourManagerTest)
> Time elapsed: 0 sec  <<< ERROR!
> java.lang.NullPointerException
>         at
> org.apache.taverna.workbench.ui.impl.configuration.colour.
> ColourManagerTest.setup(ColourManagerTest.java:45)
> Running
> org.apache.taverna.workbench.ui.impl.configuration.
> ConfigurationManagerTest
> Tests run: 3, Failures: 0, Errors: 2, Skipped: 1, Time elapsed: 0.001 sec
> <<< FAILURE! - in
> org.apache.taverna.workbench.ui.impl.configuration.
> ConfigurationManagerTest
> saveColoursForDummyColourable(org.apache.taverna.workbench.
> ui.impl.configuration.ConfigurationManagerTest)
> Time elapsed: 0 sec  <<< ERROR!
> java.lang.NullPointerException
>         at
> org.apache.taverna.workbench.ui.impl.configuration.
> ConfigurationManagerTest.setup(ConfigurationManagerTest.java:43)
> createConfigManager(org.apache.taverna.workbench.ui.impl.configuration.
> ConfigurationManagerTest)
> Time elapsed: 0 sec  <<< ERROR!
> java.lang.NullPointerException
>         at
> org.apache.taverna.workbench.ui.impl.configuration.
> ConfigurationManagerTest.setup(ConfigurationManagerTest.java:43)
>
> Results :
> Tests in error:
>   ConfigurationManagerTest.setup:43 ╗ NullPointer
>   ConfigurationManagerTest.setup:43 ╗ NullPointer
>   ColourManagerTest.setup:45 ╗ NullPointer
>   ColourManagerTest.setup:45 ╗ NullPointer
>   ColourManagerTest.setup:45 ╗ NullPointer
> Tests run: 6, Failures: 0, Errors: 5, Skipped: 1
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Taverna Workbench ........................... SUCCESS [
> 0.969 s]
> [INFO] Apache Taverna Activity icon manager API ........... SUCCESS [
> 7.361 s]
> [INFO] Apache Taverna Workbench API ....................... SUCCESS [
> 1.257 s]
> [INFO] Apache Taverna Edits API ........................... SUCCESS [
> 10.675 s]
> [INFO] Apache Taverna BeanInfo extensions ................. SUCCESS [
> 0.757 s]
> [INFO] Apache Taverna Activity Palette API ................ SUCCESS [
> 12.074 s]
> [INFO] Apache Taverna Configuration Management UI API ..... SUCCESS [
> 0.783 s]
> [INFO] Apache Taverna User interface (Swing) utilities .... SUCCESS [
> 1.595 s]
> [INFO] Apache Taverna File opening API .................... SUCCESS [
> 2.089 s]
> [INFO] Apache Taverna Help System ......................... SUCCESS [
> 15.279 s]
> [INFO] Apache Taverna Contextual Views API ................ SUCCESS [
> 28.257 s]
> [INFO] Apache Taverna Selection API ....................... SUCCESS [
> 1.765 s]
> [INFO] Apache Taverna Menu generation API ................. SUCCESS [
> 2.481 s]
> [INFO] Apache Taverna Design UI ........................... SUCCESS [
> 2.589 s]
> [INFO] Apache Taverna Workflow View ....................... SUCCESS [
> 2.840 s]
> [INFO] Apache Taverna IO utility classes .................. SUCCESS [
> 0.663 s]
> [INFO] Apache Batik OSGi .................................. SUCCESS [01:14
> min]
> [INFO] Apache Taverna Graph Model ......................... SUCCESS [
> 19.067 s]
> [INFO] Apache Taverna Graph View .......................... SUCCESS [
> 3.191 s]
> [INFO] Apache Taverna Activity tools ...................... SUCCESS [
> 1.750 s]
> [INFO] Apache Taverna Edits implementation ................ SUCCESS [
> 2.903 s]
> [INFO] Apache Taverna File opening implementation ......... SUCCESS [
> 31.991 s]
> [INFO] Apache Taverna Dataflow Activity UI ................ SUCCESS [
> 3.972 s]
> [INFO] Apache Taverna StringConstant Activity UI .......... SUCCESS [
> 3.561 s]
> [INFO] Apache Taverna Contextual Views Impl ............... SUCCESS [
> 18.278 s]
> [INFO] Apache Taverna Unrecognized Activity UI ............ SUCCESS [
> 2.527 s]
> [INFO] Apache Taverna Activity Palette Impl ............... SUCCESS [
> 21.014 s]
> [INFO] Apache Taverna UI builder .......................... SUCCESS [
> 1.100 s]
> [INFO] Apache Taverna Activity Palette UI Component ....... SUCCESS [
> 3.054 s]
> [INFO] Apache Taverna Configuration Management UI Impl .... FAILURE [
> 1.318 s]
>
> Cheers,
>
> Ian
>
> On 9 July 2017 at 17:02, Upeksha Iwanthi <up...@gmail.com> wrote:
>
> > Hello Alan,
> >
> > I took some screen shots when I got errors while build the TAVERNA
> > workbench. I uploded them on Google Drive and links are bellow.
> >
> > https://drive.google.com/file/d/0B_xQD3NigqdwLW5JTTN3NUhOYjQ/
> > view?usp=sharing
> >
> > https://drive.google.com/file/d/0B_xQD3NigqdwMlhlbEJpZHhyd2c/
> > view?usp=sharing
> >
> > regards,
> > Upeksha.
> >
>

Re: TAVERNA-550

Posted by Ian Dunlop <ia...@gmail.com>.
Hello,

I tried building the tavern-workbench on Windows 10 and Linux and got a
different set of failures from you. This was with a fresh clone of
https://github.com/apache/incubator-taverna-workbench.

Using:
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
2017-04-03T20:39:06+01:00)
Maven home: C:\Program Files\apache-maven-3.5.0\bin\..
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_131\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

"mvn clean install" stack trace:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running
org.apache.taverna.workbench.ui.impl.configuration.colour.ColourManagerTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.074 sec
<<< FAILURE! - in
org.apache.taverna.workbench.ui.impl.configuration.colour.ColourManagerTest
saveAsWrongArrayType(org.apache.taverna.workbench.ui.impl.configuration.colour.ColourManagerTest)
Time elapsed: 0.038 sec  <<< ERROR!
java.lang.NullPointerException
        at
org.apache.taverna.workbench.ui.impl.configuration.colour.ColourManagerTest.setup(ColourManagerTest.java:45)
testConfigurableness(org.apache.taverna.workbench.ui.impl.configuration.colour.ColourManagerTest)
Time elapsed: 0 sec  <<< ERROR!
java.lang.NullPointerException
        at
org.apache.taverna.workbench.ui.impl.configuration.colour.ColourManagerTest.setup(ColourManagerTest.java:45)
testGetPreferredColourEqualsWhite(org.apache.taverna.workbench.ui.impl.configuration.colour.ColourManagerTest)
Time elapsed: 0 sec  <<< ERROR!
java.lang.NullPointerException
        at
org.apache.taverna.workbench.ui.impl.configuration.colour.ColourManagerTest.setup(ColourManagerTest.java:45)
Running
org.apache.taverna.workbench.ui.impl.configuration.ConfigurationManagerTest
Tests run: 3, Failures: 0, Errors: 2, Skipped: 1, Time elapsed: 0.001 sec
<<< FAILURE! - in
org.apache.taverna.workbench.ui.impl.configuration.ConfigurationManagerTest
saveColoursForDummyColourable(org.apache.taverna.workbench.ui.impl.configuration.ConfigurationManagerTest)
Time elapsed: 0 sec  <<< ERROR!
java.lang.NullPointerException
        at
org.apache.taverna.workbench.ui.impl.configuration.ConfigurationManagerTest.setup(ConfigurationManagerTest.java:43)
createConfigManager(org.apache.taverna.workbench.ui.impl.configuration.ConfigurationManagerTest)
Time elapsed: 0 sec  <<< ERROR!
java.lang.NullPointerException
        at
org.apache.taverna.workbench.ui.impl.configuration.ConfigurationManagerTest.setup(ConfigurationManagerTest.java:43)

Results :
Tests in error:
  ConfigurationManagerTest.setup:43 ╗ NullPointer
  ConfigurationManagerTest.setup:43 ╗ NullPointer
  ColourManagerTest.setup:45 ╗ NullPointer
  ColourManagerTest.setup:45 ╗ NullPointer
  ColourManagerTest.setup:45 ╗ NullPointer
Tests run: 6, Failures: 0, Errors: 5, Skipped: 1
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Taverna Workbench ........................... SUCCESS [
0.969 s]
[INFO] Apache Taverna Activity icon manager API ........... SUCCESS [
7.361 s]
[INFO] Apache Taverna Workbench API ....................... SUCCESS [
1.257 s]
[INFO] Apache Taverna Edits API ........................... SUCCESS [
10.675 s]
[INFO] Apache Taverna BeanInfo extensions ................. SUCCESS [
0.757 s]
[INFO] Apache Taverna Activity Palette API ................ SUCCESS [
12.074 s]
[INFO] Apache Taverna Configuration Management UI API ..... SUCCESS [
0.783 s]
[INFO] Apache Taverna User interface (Swing) utilities .... SUCCESS [
1.595 s]
[INFO] Apache Taverna File opening API .................... SUCCESS [
2.089 s]
[INFO] Apache Taverna Help System ......................... SUCCESS [
15.279 s]
[INFO] Apache Taverna Contextual Views API ................ SUCCESS [
28.257 s]
[INFO] Apache Taverna Selection API ....................... SUCCESS [
1.765 s]
[INFO] Apache Taverna Menu generation API ................. SUCCESS [
2.481 s]
[INFO] Apache Taverna Design UI ........................... SUCCESS [
2.589 s]
[INFO] Apache Taverna Workflow View ....................... SUCCESS [
2.840 s]
[INFO] Apache Taverna IO utility classes .................. SUCCESS [
0.663 s]
[INFO] Apache Batik OSGi .................................. SUCCESS [01:14
min]
[INFO] Apache Taverna Graph Model ......................... SUCCESS [
19.067 s]
[INFO] Apache Taverna Graph View .......................... SUCCESS [
3.191 s]
[INFO] Apache Taverna Activity tools ...................... SUCCESS [
1.750 s]
[INFO] Apache Taverna Edits implementation ................ SUCCESS [
2.903 s]
[INFO] Apache Taverna File opening implementation ......... SUCCESS [
31.991 s]
[INFO] Apache Taverna Dataflow Activity UI ................ SUCCESS [
3.972 s]
[INFO] Apache Taverna StringConstant Activity UI .......... SUCCESS [
3.561 s]
[INFO] Apache Taverna Contextual Views Impl ............... SUCCESS [
18.278 s]
[INFO] Apache Taverna Unrecognized Activity UI ............ SUCCESS [
2.527 s]
[INFO] Apache Taverna Activity Palette Impl ............... SUCCESS [
21.014 s]
[INFO] Apache Taverna UI builder .......................... SUCCESS [
1.100 s]
[INFO] Apache Taverna Activity Palette UI Component ....... SUCCESS [
3.054 s]
[INFO] Apache Taverna Configuration Management UI Impl .... FAILURE [
1.318 s]

Cheers,

Ian

On 9 July 2017 at 17:02, Upeksha Iwanthi <up...@gmail.com> wrote:

> Hello Alan,
>
> I took some screen shots when I got errors while build the TAVERNA
> workbench. I uploded them on Google Drive and links are bellow.
>
> https://drive.google.com/file/d/0B_xQD3NigqdwLW5JTTN3NUhOYjQ/
> view?usp=sharing
>
> https://drive.google.com/file/d/0B_xQD3NigqdwMlhlbEJpZHhyd2c/
> view?usp=sharing
>
> regards,
> Upeksha.
>

Re: TAVERNA-550

Posted by Upeksha Iwanthi <up...@gmail.com>.
Hello Alan,

I took some screen shots when I got errors while build the TAVERNA workbench. I uploded them on Google Drive and links are bellow.

https://drive.google.com/file/d/0B_xQD3NigqdwLW5JTTN3NUhOYjQ/view?usp=sharing

https://drive.google.com/file/d/0B_xQD3NigqdwMlhlbEJpZHhyd2c/view?usp=sharing

regards,
Upeksha.

Re: TAVERNA-550

Posted by Alan Williams <al...@googlemail.com>.
On 07-Jul-17 19:46, Upeksha Iwanthi wrote:
> Hi Thilina,

Hello Upeksha

> Thank you for your reply. I went through the documentation that you
sent me. It as helpful and I hope some help further to work on this
issue. I already get the source code of taverna-workbench but I didn't
get the source code of taverna-common-activities. I thought that
building only source code of taverna-workbench is enough. I tried yo
build the project with maven but it not build successful and gave
errors. Actually I need some help for that.

Welcome to Taverna :)

When you have errors, you need to give enough information to try to 
solve the problem(s). A good way would be to include the errors that you 
get. It is OK to post that to this list; then everyone can help.

Welcome again

> regards,
> Upeksha.

Alan



Re: TAVERNA-550

Posted by Upeksha Iwanthi <up...@gmail.com>.
Hi Thilina,

Thank you for your reply. I went through the documentation that you sent me. It as helpful and I hope some help further to work on this issue. I already get the source code of taverna-workbench but I didn't get the source code of taverna-common-activities. I thought that building only source code of taverna-workbench is enough. I tried yo build the project with maven but it not build successful and gave errors. Actually I need some help for that.

regards,
Upeksha.

Re: TAVERNA-550

Posted by Thilina Manamgoda <ma...@apache.org>.
welcome Upeksha !.

Here you can find instructions regarding contributing
https://taverna.incubator.apache.org/download/code/#contribute-to-apache-taverna

In this case you have to build taverna-common-activities
<https://github.com/apache/incubator-taverna-common-activities> and
taverna-workbench
<https://github.com/apache/incubator-taverna-workbench> modules.
Here you can find how to run the workbench in developer mode
http://dev.mygrid.org.uk/wiki/display/developer/5.+Running+Taverna+from+Eclipse.
You will find that the package names are changed and that is because this
tutorial is outdated. But still it is useful. First try to regenerate the
problem and then try to solve it. Good luck and if you need any help please
ask.

regards,
Thilina.