Link to home
Create AccountLog in
Avatar of johnritzer
johnritzerFlag for United States of America

asked on

Null reference exception error

I have a program that when i access the question bank its ok but when i click on the explanation it shows an explanation but it errors out when i try to click on the next question with "nullreferenceexception" Here is the config file
 <?xml version="1.0" encoding="utf-8" ?>
- <TestOption xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Mode>StudyAll</Mode>
  <TotalQuestions>0</TotalQuestions>
  <IsShuffle>false</IsShuffle>
  <WithOutFig>false</WithOutFig>
  <GradeImediately>false</GradeImediately>
- <SelectChapters>
- <Chapter>
  <ID>2</ID>
  <Name>Federal Aviation Regulations</Name>
- <Questions>
  <int>5271</int>
  <int>5272</int>
  <int>5273</int>
  <int>5274</int>
  <int>5275</int>
  <int>5287</int>
  <int>5288</int>
  <int>5291</int>
  <int>5326</int>
  <int>5327</int>
  <int>5328</int>
  <int>5329</int>
  <int>5330</int>
  <int>5331</int>
  <int>5332</int>
  <int>5333</int>
  <int>5334</int>
  <int>5335</int>
  <int>5336</int>
  <int>5339</int>
  <int>5340</int>
  <int>5342</int>
  <int>5343</int>
  <int>5349</int>
  <int>5350</int>
  <int>5374</int>
  <int>5375</int>
  <int>5376</int>
  <int>5378</int>
  <int>5379</int>
  <int>5384</int>
  <int>5387</int>
  <int>1004</int>
  <int>5398</int>
  <int>1829</int>
  <int>1821</int>
  <int>1930</int>
  <int>1932</int>
  <int>5181</int>
  <int>5184</int>
  <int>5185</int>
  <int>5187</int>
  <int>5188</int>
  <int>5189</int>
  <int>5191</int>
  <int>5192</int>
  <int>5193</int>
  <int>5194</int>
  <int>5380</int>
  <int>5381</int>
  <int>5382</int>
  <int>5383</int>
  <int>5399</int>
  <int>9350</int>
  <int>10218</int>
  <int>10225</int>
  <int>10227</int>
  <int>10301</int>
  </Questions>
  </Chapter>
  </SelectChapters>
  <SuppressedMessagesList />
  <FavoriteQuestionsList />
  </TestOption>
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of johnritzer

ASKER

Im sorry i didnt realize i checked that box C++ sorry bout that :_)
the xml support