#30 Query.compile() throws NullPointerException

closed-fixed
Core (19)
5
2004-01-18
2004-01-13
No

Detail:
If no CandidateClass ist set and compile() ist called a
NullPointerException occurs because
parsedImports.importPackage(candidateClass);
ist called with null.

Workaround:
always use Query.setClass();

Solution:
The Spec says in the case that no candidate class ist
set the Extents classtype should be used.

Discussion

  • Mike Martin

    Mike Martin - 2004-01-18

    Logged In: YES
    user_id=582193

    Fixed checked into CVS.

    Mike

     
  • Mike Martin

    Mike Martin - 2004-01-18
    • labels: --> Core
    • assigned_to: nobody --> jackknifebarber
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks