You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "Renat Zubairov (JIRA)" <hi...@jakarta.apache.org> on 2005/05/20 09:03:52 UTC

[jira] Created: (HIVEMIND-125) Minor nullpointer check

Minor nullpointer check
-----------------------

         Key: HIVEMIND-125
         URL: http://issues.apache.org/jira/browse/HIVEMIND-125
     Project: HiveMind
        Type: Improvement
  Components: framework  
    Versions: 1.0    
 Environment: Trying to initialize registry without XML descriptor in place. Windows 2000. JRE 5.0
    Reporter: Renat Zubairov
    Priority: Minor


There is a nullpointer when trying to report bug, because bug isn't in XML file (there no XML file found) location of the bug can not be determined.

May 20, 2005 8:53:52 AM org.apache.hivemind.impl.DefaultErrorHandler error
SEVERE: Error: null
java.lang.NullPointerException
	at org.apache.hivemind.parse.AbstractParser.getLocation(AbstractParser.java:158)
	at org.apache.hivemind.parse.DescriptorParser.parse(DescriptorParser.java:1420)
	at org.apache.hivemind.impl.RegistryBuilder.processModule(RegistryBuilder.java:216)
	at ru.bmstu.iu5.secure.test.HibernateMappingTestcase.getRegistry(HibernateMappingTestcase.java:36)
	at ru.bmstu.iu5.secure.test.HibernateMappingTestcase.testGettingRegistry(HibernateMappingTestcase.java:43)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:436)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:311)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Closed: (HIVEMIND-125) Minor nullpointer check

Posted by "Knut Wannheden (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-125?page=all ]
     
Knut Wannheden closed HIVEMIND-125:
-----------------------------------

     Resolution: Duplicate
    Fix Version: 1.1

This issue duplicates HIVEMIND-81 which was fixed in 1.1-alpha-2. Please give it a try with HiveMind 1.1-beta-1.

> Minor nullpointer check
> -----------------------
>
>          Key: HIVEMIND-125
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-125
>      Project: HiveMind
>         Type: Improvement
>   Components: framework
>     Versions: 1.0
>  Environment: Trying to initialize registry without XML descriptor in place. Windows 2000. JRE 5.0
>     Reporter: Renat Zubairov
>     Priority: Minor
>      Fix For: 1.1

>
> There is a nullpointer when trying to report bug, because bug isn't in XML file (there no XML file found) location of the bug can not be determined.
> May 20, 2005 8:53:52 AM org.apache.hivemind.impl.DefaultErrorHandler error
> SEVERE: Error: null
> java.lang.NullPointerException
> 	at org.apache.hivemind.parse.AbstractParser.getLocation(AbstractParser.java:158)
> 	at org.apache.hivemind.parse.DescriptorParser.parse(DescriptorParser.java:1420)
> 	at org.apache.hivemind.impl.RegistryBuilder.processModule(RegistryBuilder.java:216)
> 	at ru.bmstu.iu5.secure.test.HibernateMappingTestcase.getRegistry(HibernateMappingTestcase.java:36)
> 	at ru.bmstu.iu5.secure.test.HibernateMappingTestcase.testGettingRegistry(HibernateMappingTestcase.java:43)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:436)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:311)
> 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org