Project

General

Profile

bug #6373

bug #6374: Uses no longer shown in palmweb portal broken

LIE during request to /portal/descriptionElement/byTaxon

Added by Andreas Kohlbecker almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib-remote
Target version:
Start date:
01/23/2017
Due date:
% Done:

50%

Severity:
critical
Found in Version:
Tags:

Description

Caused by: net.sf.json.JSONException: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: eu.etaxonomy.cdm.model.media.Media.title, could not initialize proxy - no Session
    at net.sf.json.JSONObject._fromBean(JSONObject.java:692)
    at net.sf.json.JSONObject.fromObject(JSONObject.java:172)
    at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274)
    at net.sf.json.JSONArray._processValue(JSONArray.java:2513)
    at net.sf.json.JSONArray.processValue(JSONArray.java:2538)
    at net.sf.json.JSONArray.addValue(JSONArray.java:2525)
    at net.sf.json.JSONArray._fromCollection(JSONArray.java:1056)
    at net.sf.json.JSONArray.fromObject(JSONArray.java:123)
    at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:240)
    at net.sf.json.JSONObject._processValue(JSONObject.java:2655)
    at net.sf.json.JSONObject.processValue(JSONObject.java:2721)
    at net.sf.json.JSONObject.element(JSONObject.java:1786)
    at eu.etaxonomy.cdm.remote.json.processor.bean.AbstractBeanProcessor.processBean(AbstractBeanProcessor.java:151)
    at net.sf.json.JSONObject._fromBean(JSONObject.java:676)
    at net.sf.json.JSONObject.fromObject(JSONObject.java:172)
    at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274)
    at net.sf.json.JSONArray._processValue(JSONArray.java:2513)
    at net.sf.json.JSONArray.processValue(JSONArray.java:2538)
    at net.sf.json.JSONArray.addValue(JSONArray.java:2525)
    at net.sf.json.JSONArray._fromCollection(JSONArray.java:1056)
    at net.sf.json.JSONArray.fromObject(JSONArray.java:123)
    at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:240)
    at net.sf.json.JSONObject._processValue(JSONObject.java:2655)
    at net.sf.json.JSONObject.processValue(JSONObject.java:2721)
    at net.sf.json.JSONObject.setInternal(JSONObject.java:2736)
    at net.sf.json.JSONObject.setValue(JSONObject.java:1424)
    at net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:765)
    at net.sf.json.JSONObject._fromBean(JSONObject.java:699)
    at net.sf.json.JSONObject.fromObject(JSONObject.java:172)
    at eu.etaxonomy.cdm.remote.view.JsonView.render(JsonView.java:135)
    at eu.etaxonomy.cdm.remote.view.JsonView.render(JsonView.java:199)
    at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1243)
    at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1027)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:971)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969)
    ... 61 more

httpie test command

http http://api.cybertaxonomy.org/palmae/portal/descriptionElement/byTaxon\?taxon=1d91bd71-7109-4916-872f-a82b710a9cdf "features=d3c4cbb6-0025-4322-886b-cd0156753a25%2C89d3b005-9876-4923-89d9-60eb75b9583b%2C8200e050-d5fd-4cac-8a76-4b47afb13809%2C99b2842f-9aa7-42fa-bd5f-7285311e0101%2C5deff505-1a32-4817-9a74-50e6936fd630%2C910307f1-dc3c-452c-a6dd-af5ac7cd365c%2Ce5374d39-b210-47c7-bec1-bee05b5f1cb6%2Ca7786d3e-7c58-4141-8416-346d4c80c4a2%2Cd43d8501-ceab-4caa-9e51-e87138528fac%2Cf0f94c5c-a5ae-47d2-9c46-8a9c704973d3%2C86d40635-2a63-4ad6-be75-9faa4a6a57fb%2C489bf358-b78a-45e2-a691-f9f3f10446ce%2Cf59e747d-0b4f-4bf7-b69a-cbd50bc78595%2C555a46bc-211a-476f-a022-c472970d6f8b%2C7c0c7571-a864-47c1-891d-01f59000dae1%2Cfc810911-51f0-4a46-ab97-6562fe263ae5%2C4518fc20-2492-47de-b345-777d2b83c9cf%2Cdd653d48-355c-4aec-a4e7-724f6eb29f8d%2C1e87d9c3-0844-4a03-9686-773e2ccb3ab6%2Ce75255ca-8ff4-4905-baad-f842927fe1d3%2Ca677f827-22b9-4205-bb37-11cb48dd9106%2C6e9de1d5-05f0-40d5-8786-2fe30d0d894d%2Cbd9aca17-cd0e-4418-a3a1-1a4b80dbc162%2C%2Ce28965b2-a367-48c5-b954-8afc8ac2c69b%2Caa923827-d333-4cf5-9a5f-438ae0a4746b%2C002d05f2-fd72-49f1-ba4d-196cf09240b5%2C9fdc4663-4d56-47d0-90b5-c0bf251bafbb%2C1e5ac518-3f6d-4a5c-ad9b-fc81a077e9f4%2Cb5780b45-6439-4f3c-9818-d89d26d36eb2%2C6f677e98-d8d5-4bc5-80bf-affdb7e3945a%2C84193b2c-327f-4cce-90ef-c8da18fd5bb5%2C6acb0348-c070-4512-a37c-67bcac016279%2C94213b2c-e67a-4d37-25ef-e8d316edfba1%2C9087cdcd-8b08-4082-a1de-34c9ba9fb493%2C8125a59d-b4d5-4485-89ea-67306297b599%2C89423317-b00a-46de-a34f-fe156d93dfc0%2Cfb16929f-bc9c-456f-9d40-dec987b36438%2C86bd920d-f8c5-48b9-af1d-03f63c31de5c%2C9832e24f-b670-43b4-ac7c-20a7261a1d8c&pageNumber=0&pageSize=500"

Associated revisions

Revision be36c37f (diff)
Added by Andreas Kohlbecker almost 2 years ago

fix #6373 fixing MediaAutoInitializer

History

#1 Updated by Andreas Kohlbecker almost 2 years ago

  • Description updated (diff)

#2 Updated by Andreas Kohlbecker almost 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#3 Updated by Andreas Kohlbecker almost 2 years ago

  • Target version changed from Unassigned CDM tickets to Release 4.5

#4 Updated by Andreas Kohlbecker almost 2 years ago

  • Parent task set to #6374

#5 Updated by Andreas Kohlbecker almost 2 years ago

  • Status changed from Resolved to Closed

works!

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)