mmisw / orr-portal

ORR Frontend component
Apache License 2.0
8 stars 5 forks source link

SWEET upload failed on older system #65

Closed graybeal closed 8 years ago

graybeal commented 8 years ago

Hi Folks, As I sit and watch the lightning talks @ESIP Summer meeting this morning I thought I would try and load SWEET v2.3 into the Testbed Ontology Portal. Unfortunately, once I populate everything within the input forms I get the following Invocation Target Exception indicating that some exception is being caught but not necessarily exposed. I have no idea how to fix it but would like to do so. Any ideas? I’ve pasted the stack trace below and also uploaded a paste at - https://paste.apache.org/gk0b Thanks

 com.google.gwt.user.client.rpc.InvocationException: <!DOCTYPE html>
<html ng-app="orrportal">
<head><base href="/ont/">
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  <title ng-bind="(rvm.rUri ? (rvm.rUri + (rvm.rVersion ? ' version=' +rvm.rVersion : '') + ' - ') : '') +
  (cfg.branding.title ? cfg.branding.title : 'MMI Ontology Registry and Repository') + ' (portal 3.0.2-beta)'"
  ></title>
  <link rel="shortcut icon" href="img/favicon.ico">

  <link rel="stylesheet" href="vendor/bootstrap-css-only/css/bootstrap.css">
  <link rel="stylesheet" href="vendor/bootstrap-css-only/css/bootstrap-theme.css">
  <link rel="stylesheet" href="vendor/font-awesome/css/font-awesome.css">
  <link rel="stylesheet" href="vendor/angular-ui-grid/ui-grid.css">
  <link rel="stylesheet" href="vendor/ui-select/dist/select.css">
  <link rel="stylesheet" href="vendor/select2/select2.css">
  <link rel="stylesheet" href="vendor/angular-xeditable/dist/css/xeditable.css">
  <link rel='stylesheet' href='css/orrportal.css'>

  <!--[if lt IE 9]>
  <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
  <![endif]-->

  <script src="vendor/angular/angular.js"></script>
  <script src='vendor/angular-cookie/angular-cookie.js'></script>
  <script src="vendor/angular-ui-bootstrap/dist/ui-bootstrap-tpls.js"></script>
  <script src="vendor/angular-sanitize/angular-sanitize.js"></script>
  <script src="vendor/angular-ui-router/release/angular-ui-router.js"></script>
  <script src="vendor/angular-clipboard/angular-clipboard.js"></script>
  <script src="vendor/lodash/dist/lodash.js"></script>
  <script src="vendor/moment/moment.js"></script>
  <script src='vendor/angular-ui-grid/ui-grid.js'></script>
  <script src='vendor/ng-file-upload/dist/ng-file-upload.js'></script>
  <script src='vendor/ui-select/dist/select.js'></script>
  <script src='vendor/angular-xeditable/dist/js/xeditable.js'></script>
  <script src='vendor/comma-separated-values/csv.min.js'></script>

  <script src="//cdn.firebase.com/js/client/2.2.4/firebase.js"></script>
  <script src="//cdn.firebase.com/libs/angularfire/1.1.1/angularfire.min.js"></script>

  <script src='js/config.js'></script>
  <script src='js/local.config.js'></script>
  <script src='js/bUtil.js'></script>
  <script src='js/util.js'></script>
  <script src='js/app.js'></script>
  <script src='js/main/directives.js'></script>
  <script src='js/main/filters.js'></script>
  <script src='js/main/services.js'></script>
  <script src='js/main/main.js'></script>
  <script src='js/main/queryUtil.js'></script>
  <script src='js/facet/facetModel.js'></script>
  <script src='js/facet/facets.js'></script>
  <script src='js/ontgrid/ontgrid.js'></script>
  <script src='js/org/org.js'></script>
  <script src='js/org/org-create.js'></script>
  <script src='js/vocabulary/vocabulary.js'></script>
  <script src='js/uri/uri.js'></script>
  <script src='js/ont/metaUtil.js'></script>
  <script src='js/ont/ont.js'></script>
  <script src='js/ont/ont-contents.js'></script>
  <script src='js/ont/ont-meta.js'></script>
  <script src='js/ont/ont-meta-section.js'></script>
  <script src='js/ont/ont-data.js'></script>
  <script src='js/ont/v2r/v2r.js'></script>
  <script src='js/ont/v2r/v2r-csv.js'></script>
  <script src='js/ont/m2r/m2rUtil.js'></script>
  <script src='js/ont/m2r/m2r.js'></script>
  <script src='js/ont/rj/rj-viewer.js'></script>
  <script src='js/ont/multivalueedit.js'></script>
  <script src='js/term/term.js'></script>
  <script src='js/user/user.js'></script>
  <script src='js/st/st.js'></script>
  <script src='js/kw/kw.js'></script>
  <script src='js/fireauth/controllers.js'></script>
  <script src='js/upload/upload.js'></script>
  <script src='js/util/items-viewer.js'></script>
  <script src='js/util/util.js'></script>
  <script src='js/util/clipboardCopy.js'></script>
  <script src='js/util/view-as-options.js'></script>
  <script src='js/admin/users.js'></script>
  <script src='js/admin/orgs.js'></script>
</head>

<body ng-controller="UtilCtrl">

<div ng-if="debug && !rvm.rUri" class="debug">
  <pre>
    <!-- Here's some values to keep an eye on in the sample in order to understand $state and $stateParams -->
    $state = {{$state.current.name}}
    $stateParams = {{$stateParams}}
    $state full url = {{ $state.$current.url.source }}
    <!-- Note: $state.$current is not a public api -->
  </pre>
</div>

<orrportal-header></orrportal-header>

<div ng-if="rvm.rUri">
  <orr-uri></orr-uri>
</div>
<div ng-if="!rvm.rUri">
  <div ui-view></div>
</div>

<pre ng-if="debug" ng-bind="rvm | json"></pre>
</body>
</html>
graybeal commented 8 years ago

oops, this problem was probably seen on the older system, not COR. He said he'd try again on the new system.

carueda commented 8 years ago

Thanks John.

Yeah, seems like a browser cache issue because of the mix of com.google.gwt.user.client.rpc.InvocationException, that is, a GWT exception but GWT is not used in the new system, and contents from the new system .. strange, but not worth diving into ..