Taverna 2

Activity palette sometimes does not show all the loaded activities (i.e. there are some missing activities)

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 0.3.5, 2.0b1
  • Fix Version/s: 2.0.0
  • Component/s: None
  • Labels:
    None

Description

Activity palette sometimes does not show all the loaded activities (i.e. there are some missing activities which can appear once the view over the activities has been changed). It seems the activities get loaded but are just not shown in the tree.

Issue Links

Activity

Hide
Stian Soiland-Reyes added a comment - 2008-11-14 10:53

Might be related to the LinkageError bug TAV-480

Can also happen when adding a new service, where nothing seems to happen until you add it a second time, ending up with duplicates.

Might be updated in the backend but not in UI, David has experienced that when flipping second partition to "url" then suddenly the newly added service appeared.

Show
Stian Soiland-Reyes added a comment - 2008-11-14 10:53 Might be related to the LinkageError bug TAV-480 Can also happen when adding a new service, where nothing seems to happen until you add it a second time, ending up with duplicates. Might be updated in the backend but not in UI, David has experienced that when flipping second partition to "url" then suddenly the newly added service appeared.
Hide
Stian Soiland-Reyes added a comment - 2008-11-26 15:03

Tom found the LinkageError as well in his new ArtifactInnerClassLoader in t2infrastrutcture/platform/core - and found a workaround:

@Override
	protected Class<?> findClass(String className)
			throws ClassNotFoundException {
		try {
			if (findLoadedClass(className) != null) {
				return findLoadedClass(className);
			}

We should try adding tis to findclass() in ArtifactLocalClassLoader in RAven.

Show
Stian Soiland-Reyes added a comment - 2008-11-26 15:03 Tom found the LinkageError as well in his new ArtifactInnerClassLoader in t2infrastrutcture/platform/core - and found a workaround:
@Override
	protected Class<?> findClass(String className)
			throws ClassNotFoundException {
		try {
			if (findLoadedClass(className) != null) {
				return findLoadedClass(className);
			}
We should try adding tis to findclass() in ArtifactLocalClassLoader in RAven.
Hide
Ian Dunlop added a comment - 2008-12-08 10:11

Changed LocalArtifactClassLoader to use the findClass method first and then its own class loader. I haven't seen any problems with the activities since!! (Note - When testing you have to ensure that the raven versions all match)

Show
Ian Dunlop added a comment - 2008-12-08 10:11 Changed LocalArtifactClassLoader to use the findClass method first and then its own class loader. I haven't seen any problems with the activities since!! (Note - When testing you have to ensure that the raven versions all match)

People

Vote (0)
Watch (0)

Dates

  • Created:
    2008-09-08 13:04
    Updated:
    2008-12-08 10:11
    Resolved:
    2008-12-08 10:11