"Object reference not set to an instance of an object"-exception on mobile sharepoint page -


my situation:

when try access (custom) masterpage of sharepoint 2010 solution, i'm developing, in mobile view (using microsoft mobile device emulator /w win mobile 6.1/ie6) "object reference not set instance of object" exception without further explanation. error shown directly on page itself.

the log on server shows no error(s), , since haven't developed custom mobile sites or webparts yet , normal master-page in ie8 shows no errors literally have not slightest clue what's causing error, , see no mean how debug this...

this pretty deadlock me, , gives me serious headaches cause it's first time me work built-in sharepoint mobile-view thing , don't beyond start working.

i hope describes problem enough, otherwise i'll try provide further information. (just let me know)

i'm aware hard me in special use-case because there no error-source known yet. i'm thankful every answer , comment can point in right direction solve problem and/or source of error.

sincerely, markus schwalbe


edit: requested, here's stack trace:

bei microsoft.sharepoint.mobilecontrols.spmobilewikipage.createchildcontrolsfromxmlnode(xmlnode node, controlcollection controls)
bei microsoft.sharepoint.mobilecontrols.spmobilewikipage.createstylechildcontrol(xmlnode node, controlcollection controls)
bei microsoft.sharepoint.mobilecontrols.spmobilewikipage.createchildcontrolsfromxmlnode(xmlnode node, controlcollection controls)
bei microsoft.sharepoint.mobilecontrols.spmobilewikipage.createstylechildcontrol(xmlnode node, controlcollection controls)
bei microsoft.sharepoint.mobilecontrols.spmobilewikipage.createchildcontrolsfromxmlnode(xmlnode node, controlcollection controls)
bei microsoft.sharepoint.mobilecontrols.spmobilewikipage.createstylechildcontrol(xmlnode node, controlcollection controls)
bei microsoft.sharepoint.mobilecontrols.spmobilewikipage.createchildcontrolsfromxmlnode(xmlnode node, controlcollection controls)
bei microsoft.sharepoint.mobilecontrols.spmobilewikipage.createchildcontrolsforwiki(splistitem item) bei microsoft.sharepoint.mobilecontrols.spmobilewikipage.onload(eventargs e) bei asp._layouts_mobile_mblwiki_aspx.onload(eventargs e) in c:\program files\common files\microsoft shared\web server extensions\14\template\layouts\mobile\mblwiki.aspx:zeile 13. bei system.web.ui.control.loadrecursive() bei system.web.ui.page.processrequestmain(boolean includestagesbeforeasyncpoint, boolean includestagesafterasyncpoint)

i hope helps. btw. editing web.config show stack trace didn't worked out, managed debug mblwiki.aspx, , found out exception thrown in onload() method: (i got stack trace there)

http://img18.imageshack.us/img18/3350/errorub.jpg << it's link, because stackoverflow doesn't allows me post images directly. (my rep still low)

also note image (since it's in german): "der objektverweis wurde nicht auf eine objektinstanz festgelegt." == "object reference not set instance of object."

i got solution... kinda...

i deleted site-collection in question. , rebuilt whole thing. cut long story short, works now, thought it's same before. same websites, same content-types, design , webparts (etc.). reason error remains unknown, works , i'm half-satisfied @ least.

if learned jsut 1 thing problem, it's: "don't question things makes no sense, it's huge waste of time. try don't repeat same mistakes ever again".

i leave topic statement , hope (who ever reads this) doesn't same error.


by way: it's try reproduce error if can't pin down directly!


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -