You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2012/06/20 09:15:44 UTC

[jira] [Closed] (JENA-263) Adding resource property inside TDB transaction causes message '******* UNEXPECTED'

     [ https://issues.apache.org/jira/browse/JENA-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne closed JENA-263.
------------------------------

    
> Adding resource property inside TDB transaction causes message '******* UNEXPECTED'
> -----------------------------------------------------------------------------------
>
>                 Key: JENA-263
>                 URL: https://issues.apache.org/jira/browse/JENA-263
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: TDB
>    Affects Versions: TDB 0.9.1
>            Reporter: Ian Dickinson
>            Assignee: Andy Seaborne
>              Labels: tdb
>         Attachments: TdbTxText.java
>
>
> I created the attached test case while trying to isolate a problem I was seeing in some other code. This code doesn't repro the exception I'm seeing, but I do get the output '**************** UNEXPECTED' on stderr. Test case attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] [Closed] (JENA-263) Adding resource property inside TDB transaction causes message '******* UNEXPECTED'

Posted by Andy Seaborne <an...@apache.org>.
On 20/06/12 09:23, Ian Dickinson wrote:
> Thanks Andy. By re-ordering actions and the transactions in my code,
> I've resolved the root problem.
>
> I know you said you're hoping to remove this restriction on models and
> transactions at some point via view graphs, but in the meantime would it
> be worth adding more diagnostic info to the "** unexpected" error message?
>
> Ian

The message is in fact not related to the problem - it just happens to 
trigger an internal check and that's the first one it hits.  I guess it 
should be an exception like IllegalStateException.

NodeTableTrans needs a complete rewrite to be safe(r) for data in the 
situation of external failure (JVM crash, machine power loss).

Good news is that I have some code to do viewgraphs - but I don't want 
to start on that until their is a period of stability.  A quick 
(re)release to fix the Fuseki logged exception seems important to me.

	Andy

Re: [jira] [Closed] (JENA-263) Adding resource property inside TDB transaction causes message '******* UNEXPECTED'

Posted by Ian Dickinson <ia...@epimorphics.com>.
Thanks Andy. By re-ordering actions and the transactions in my code, 
I've resolved the root problem.

I know you said you're hoping to remove this restriction on models and 
transactions at some point via view graphs, but in the meantime would it 
be worth adding more diagnostic info to the "** unexpected" error message?

Ian