Last modified: 2012-02-02 18:28:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31433, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29433 - SMW 1.6 (r90203), Unexpected non-MediaWiki exception encountered ... exception 'SMWDataItemException' with message 'Initialisation value '' is not a number.' in ...\SemanticMediaWiki\includes\data items\SMW_DI_Number.php:
SMW 1.6 (r90203), Unexpected non-MediaWiki exception encountered ... excepti...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-16 14:45 UTC by MWJames
Modified: 2012-02-02 18:28 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MWJames 2011-06-16 14:45:54 UTC
I'm not sure where this is coming from now but while running the job queue (SMW 1.6 (r90203)) the following error showed up.

Unexpected non-MediaWiki exception encountered, of type "SMWDataItemException"
exception 'SMWDataItemException' with message 'Initialisation value '' is not a
number.' in D:\xampp\htdocs\lab\t1170\extensions\SemanticMediaWiki\includes\data
items\SMW_DI_Number.php:25
Stack trace:
#0 D:\xampp\htdocs\lab\t1170\extensions\SemanticMediaWiki\includes\datavalues\SM
W_DV_Number.php(287): SMWDINumber->__construct(NULL)
#1 D:\xampp\htdocs\lab\t1170\extensions\SemanticMediaWiki\includes\datavalues\SM
W_DV_Number.php(111): SMWNumberValue->convertToMainUnit(NULL, '')
#2 D:\xampp\htdocs\lab\t1170\extensions\SemanticMediaWiki\includes\datavalues\SM
W_DataValue.php(156): SMWNumberValue->parseUserValue('???')
#3 D:\xampp\htdocs\lab\t1170\extensions\SemanticMediaWiki\includes\SMW_DataValue
Factory.php(125): SMWDataValue->setUserValue('???', ' ')
#4 D:\xampp\htdocs\lab\t1170\extensions\SemanticMediaWiki\includes\SMW_DataValue
Factory.php(188): SMWDataValueFactory::newTypeIdValue('_num', '???', ' ', Object
(SMWDIProperty))
#5 D:\xampp\htdocs\lab\t1170\extensions\SemanticMediaWiki\includes\SMW_ParseData
.php(111): SMWDataValueFactory::newPropertyObjectValue(Object(SMWDIProperty), '?
??', ' ')
#6 D:\xampp\htdocs\lab\t1170\extensions\SemanticMediaWiki\includes\SMW_ParserExt
ensions.php(164): SMWParseData::addProperty('Time(planned)', '???', ' ', Object(
Parser), true)
#7 D:\xampp\htdocs\lab\t1170\extensions\SemanticMediaWiki\includes\SMW_ParserExt
ensions.php(109): SMWParserExtensions::parsePropertiesCallback(Array)
#8 [internal function]: SMWParserExtensions::simpleParsePropertiesCallback(Array
)
Comment 1 Chad H. 2011-06-16 14:53:16 UTC
That would be because the SMWDataItemException extends Exception, rather than MWException.
Comment 2 MWJames 2012-02-02 18:28:38 UTC
Have not seen it on SMW 1.7 therefore we close this one.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links