Error using JsplitPane in JInternalFrame...help...
Hi,
If I am adding JSplitPane to JInternalFrame, I am getting the following run time error:
Any suggestions.. appreciated.
Thanks....
java.lang.NullPointerException: peer
at sun.awt.windows.WCanvasPeer.create(Native Method)
at sun.awt.windows.WComponentPeer.<init>(WComponentPeer.java:366)
at sun.awt.windows.WCanvasPeer.<init>(WCanvasPeer.java:26)
at sun.awt.windows.WToolkit.createCanvas(WToolkit.java:283)
at java.awt.Canvas.addNotify(Canvas.java:76)
at java.awt.Container.addNotify(Container.java:1579)
at javax.swing.JComponent.addNotify(JComponent.java:4015)
at java.awt.Container.addNotify(Container.java:1579)
at javax.swing.JComponent.addNotify(JComponent.java:4015)
at java.awt.Container.addNotify(Container.java:1579)
at javax.swing.JComponent.addNotify(JComponent.java:4015)
at java.awt.Container.addNotify(Container.java:1579)
at javax.swing.JComponent.addNotify(JComponent.java:4015)
at javax.swing.JRootPane.addNotify(JRootPane.java:483)
at java.awt.Container.addNotify(Container.java:1579)
at javax.swing.JComponent.addNotify(JComponent.java:4015)
at java.awt.Container.addImpl(Container.java:374)
at javax.swing.JLayeredPane.addImpl(JLayeredPane.java:201)
at java.awt.Container.add(Container.java:284)
at javax.swing.JLayeredPane.setLayer(JLayeredPane.java:343)
at javax.swing.JLayeredPane.setPosition(JLayeredPane.java:424)
at javax.swing.JLayeredPane.moveToFront(JLayeredPane.java:395)
at javax.swing.JInternalFrame.moveToFront(JInternalFrame.java:1024)
at javax.swing.JInternalFrame.toFront(JInternalFrame.java:1499)
at javax.swing.JInternalFrame.show(JInternalFrame.java:1457)
at java.awt.Component.show(Component.java:946)
at java.awt.Component.setVisible(Component.java:903)
at javax.swing.JComponent.setVisible(JComponent.java:1885)
at Client.Init(Client.java:835)
at Client.<init>(Client.java:659)
at Client.main(Client.java:974)
Hi, please post some code, if this do not help you.
At line 835 in the class Client, Method init ( Client.Init(Client.java:835) ) the varibale peer is null.
Have you forgotten to intialize peer before Init is called??
Greetings
Michael
Similar Messages
-
Error using xdofx inside xdoxslt - Help!
Hi All
I am trying to assign a value to a variable that applies a UPPER () and not recognize it.
What would be the correct syntax?
*<?xdoxslt:set_variable($_XDOCTX, 'var', UPPER(ssCivil)?>*
ConfFile: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdoconfig.xml
Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
Run XDO Start
Template: D:\Proyectos\Macro\Verison 3\BM Reporte ABM Cliente_v2.rtf
RTFProcessor setLocale: es-es
FOProcessor setData: D:\Proyectos\Macro\Verison 3\BIP BM Account Report IO 3.xml
FOProcessor setLocale: es-es
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at RTF2PDF.runRTFto(RTF2PDF.java:629)
at RTF2PDF.runXDO(RTF2PDF.java:454)
at RTF2PDF.main(RTF2PDF.java:289)
Caused by: oracle.xdo.parser.v2.XPathException: Function 'UPPER' not found.
at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
... 14 more
Best regards
Ignacio VegaIt should work well, if you use
<?xdoxslt:set_variable($_XDOCTX, 'var', xdoxslt:convert_case(ssCivil,’UPPER’))?> -
Error using Datalist Custom tag HELP!
Where can I obtain information for the following error: (IDE is JDeveloper): I have been researching this for 3 weeks without success.
ERROR: Attribute "source" of tag "DataList" cannot be set with a constant, an expression must be specified.
CODE WITH PROBLEM
<!--- *** BEGIN DB CONNECTION --->
<sql:openConnection driver="com.microsoft.jdbc.sqlserver.SQLServerDriver" url="jdbc:microsoft:sqlserver://SPLSERVER:1433" user="MY_WEB_USERS" password="PASSWORD" id="conn"/>
<sql:setQuery id="conn" query="select * from schemes order by name" res="colorSchemes"/>
</sql:setQuery>
<sql:ifError id="conn">
<table align="center" width="60%" border="0">
<tr> <td>
<br><br> A Connection to the DataBase could not be made!
</td>
</tr>
<tr> <td>
<br><br> Error Generated: <sql:getError id="conn" />
</td>
</tr>
</table>
</sql:ifError>
<sql:ifFound res="colorSchemes">
<% String Found="OK"; %>
</sql:ifFound res="colorSchemes">
<!--- *** END DB CONNECTION --->
<!--- *** BEGIN TABLE LISTING --->
<list:DataList source="<%=\"colorSchemes\"%>" type="com.cj.datalist.dbtag">
<!--- *** DATALIST HEADER SECTION --->
<list:headerTemplate>
<TABLE CLASS="TableDouble" border="0" align="center"width="50%">
<TR>
<TD BACKGROUND="STYLES/<%= session.getAttribute("MyBkg") %>" ALIGN="center" colspan="5">
<FONT ALIGN="center" CLASS="<%= session.getAttribute("MyFon") %>16">
<sql:getCount res="colorSchemes"/> Available Color Schemes!</FONT>
</TD>
</TR>
<TR>
<TD ALIGN="center" WIDTH="25%" STYLE="border-bottom:solid;border-bottom-width : thin;"
BACKGROUND="STYLES/<%= session.getAttribute("MyBkg") %>">
<FONT CLASS="<%= session.getAttribute("MyFon") %>12">Scheme Name</FONT>
</TD>
<TD ALIGN="center" WIDTH="8%" STYLE="border-bottom:solid;border-bottom-width : thin;"
BACKGROUND="STYLES/<%= session.getAttribute("MyBkg") %>">
<FONT CLASS="<%= session.getAttribute("MyFon") %>12">Dark</FONT>
</TD>
<TD ALIGN="center" WIDTH="8%" STYLE="border-bottom:solid;border-bottom-width : thin;"
BACKGROUND="STYLES/<%= session.getAttribute("MyBkg") %>">
<FONT CLASS="<%= session.getAttribute("MyFon") %>12">Light</FONT>
</TD>
<TD ALIGN="center" WIDTH="8%" colspan="2" STYLE="border-bottom:solid;border-bottom-width : thin;"
BACKGROUND="STYLES/<%= session.getAttribute("MyBkg") %>">
<FONT CLASS="<%= session.getAttribute("MyFon") %>12">Select </FONT>
</TD>
</TR>
<FORM ACTION="colors.jsp" METHOD="post" NAME="changecolor">
</list:headerTemplate>
<!--- *** DATALIST ITEM SECTION --->
<list:itemTemplate>
<TR>
<TD CLASS="NoEedge" STYLE="border-bottom:solid;border-bottom-width : thin;">
<FONT CLASS="F10">
<%=CURRENT_OBJECT.getColumn(2)%>
</FONT>
</TD>
<TD CLASS="LeftEdge" STYLE="border-bottom:solid;border-bottom-width : thin;"
bgcolor="<%=CURRENT_OBJECT.getColumn(4)%>">
<FONT class="F10"> </FONT>
</TD>
<TD CLASS="LeftEdge" STYLE="border-bottom:solid;border-bottom-width : thin;"
bgcolor="<%=CURRENT_OBJECT.getColumn(5)%>">
<FONT class="F10"> </FONT>
</TD>
<TD CLASS="LeftEdge" STYLE="border-bottom:solid;border-bottom-width : thin;">
<input TYPE="Button" NAME="DarkButton" VALUE="Dark" ONCLICK="SetBkg('Dark');">
</TD>
<TD CLASS="LeftEdge" STYLE="border-bottom:solid;border-bottom-width : thin;">
<input TYPE="Button" NAME="Light" VALUE="Light" ONCLICK="SetBkg('Light');">
</TD>
<input TYPE="Hidden" NAME="ccsfile" VALUE="<%=CURRENT_OBJECT.getColumn(3)%>">
<input TYPE="Hidden" NAME="dark_d" VALUE="<%=CURRENT_OBJECT.getColumn(6)%>">
<input TYPE="Hidden" NAME="dark_l" VALUE="<%=CURRENT_OBJECT.getColumn(7)%>">
<input TYPE="Hidden" NAME="DarkValue" VALUE="">
<input TYPE="Hidden" NAME="LightValue" VALUE="">
<input TYPE="Hidden" NAME="update" VALUE="1">
</TR>
</list:itemTemplate>
</FORM>
<!--- *** DATALIST FOOTER SECTION --->
<list:footerTemplate>
</TABLE>
</list:footerTemplate>
</list:DataList>I had the same problem. In your .tld change tagclass to tag-class and bodycontent to body-content and that should do the trick. The names slightly changed for JSP spec 1.2.
-
Hi, i'm new using numbers, and when I try to open a excel file don't let me do it, instead appears a box whit a error and close app, any help?
What does the error say?
A couple of thoughts: the file is corrupted or is password-protected. Corruption is more likely to cause Numbers to crash & Numbers cannot open password-protected Excel files. Try using one of the free Office clones & see what happens. -
i am using windows 8 and i cant sign in icloud because i have a server error popping up can anyone help?
In the course of your troubleshooting to date, have you worked through the following document?
Apple software on Windows: May see performance issues and blank iTunes Store -
I´m trying to open an excel file in numbers not being successful. The error msg is unexpectedly error using plugin SFCompatibility can you help me? Already changed the extension of the excel document to xlsx an now gives an unknown import error.
In Excel have you tried saving directly to xls (not xlsx) and opening the xls in Numbers?
If you have a complicated workbook in Excel that uses lots of Excel's advanced features, Numbers may not be able to handle the import. It does pretty well on basic things, though.
If you're just trying to get data into Numbers, then often copy-paste from Excel is easier than trying to open xls files.
SG -
Error "Extend the destination address using the location input help"
Hi experts,
I got warning while creating travel expense from existing travel request.
the warning appear like this "Extend the destination address using the location input help"
I don't want user to enter detail of address trip destination.
how to avoid this?
thanks
Edited by: nzworld on Apr 29, 2011 5:42 AMHi,
If you are using ESS and you get the warning message when you enter details for a particular expense type. Please follow the config and hide the location details. Then you will not get this error message.
SAP Customizing Implementation Guide > Financial Accounting (New) > Travel Management > Travel Expenses > Dialog and Travel Expenses Control > Dialog Control > Field Control for Additional Receipt Information.
Enter your trip provision variant, select the expense type for which you dont want to enter the location details and then select details. Search for the variable location, select hide radio button and save.
Please let me know if you have further clarifications.
Regards,
Raj -
Hi. I forgot my passcode and now I am unable to unlock my ipod. I tried restoring it using itunes in recovery mode as well as dfu mode but it says unable to restore,unknown error occured (3004). Please help me out. My ipod is locked for one hour now.
Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
1. iOS- Forgotten passcode or device disabled after entering wrong passcode
2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
3. Restoring iPod touch after forgotten passcode
4. What to Do If You've Forgotten Your iPhone's Passcode
5. iOS- Understanding passcodes
6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
Forgotten Restrictions Passcode Help
You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
Also, see iTunes- Restoring iOS software. -
I backed up to my PC and attempted restore but I keep getting an error message that "iTunes could not restore the iPhone because not enough free space is available." I have a 32GB iPhone; only 13GB used!!! HELP! iCloud backup/restore did not work either! How can I resolve this problem to restore from back up.
If you're not a developer then you really should not have upgraded.
I'm unsure how you can fix this as you have already done a back-up on iOS 7 and apple don't support firmware downgrades. -
windows thinks my itouch is a camera and itunes says this ipod can't be used because the software isn't installed - reinstall itunes. i've done that and continue to get the same error. can someone please help?
(apologies for barging in, lllass.)
Let's try a standalone Apple Mobile Device Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of why it's not installing under normal conditions.
Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
http://www.apple.com/itunes/download/
Download and install the free trial version of WinRAR:
http://www.rarlab.com/download.htm
Right-click the iTunesSetup.exe (or iTunes64setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
Go into the folder and doubleclick the AppleMobileDeviceSupport.msi (or AppleMobileDeviceSupport64.msi) to do a standalone AMDS install.
(If it offers you the choice to remove or repair, choose "Remove", and if the uninstall goes through successfully, see if you can reinstall by doubleclicking the AppleMobileDeviceSupport.msi again.)
Does it install (or uninstall and then reinstall) properly for you? If so, does your device connect without that message now? -
Why I can't update my ios to ios6? It always display that..Error in updating..I am using ipad3. Please help me update my ios. Looking forward for your kind support and cooperation. Thank you.
Why I can't update my ios to ios6? It always display that..Error in updating..I am using ipad3. Please help me update my ios. Looking forward for your kind support and cooperation. Thank you.
-
ESS Leave error: Use Input Help to select an Approver
Hi,
We are using ERP2005, ESS.
In the leave application, few employees are getting error "Use the input help to select an approver".
For all these employees following observation were made,
1. their Manager was recently changed.
2. this is the first leave request they are raising after the change of manager
3. DB Table HRESSAPPROVER has the name of the old manager as approver.
Please pour in your inputs.
Thanks
KrishnaThe warning or error message you see only occurs
when the Leave request application is unable to determine the
Next agent (Approver), In the standard you have defined
Line manager the system should pick this without,But I am not
sure what modification you are using.
Are you using the customised workflow?
In PTARQ >> Determine Approver, does the system
gets the right approver for this pernr?
in the customizing for the definition of the processes per rule group
you set the selection for the next processor to "Manual Entry" or
Line manager? Please can you verify this.
Check if the organisational assigmenet is done for the employee.
Another way is to use the BAdI Control Processing Processes for Time
Management Web Applications (PT_GEN_REQ) and implement the methode
IF_EX_PT_GEN_REQ~FIND_RESP_AND_DEFAULT_NEXT_PRC.
Method FIND_RESP_AND_DEFAULT_NEXT_PRC of badi
PT_GET_REQ might be utilised here.
Please have a look at the method
CL_PT_REQ_SEARCH_NEXT_P~SEARCH_NEXT_PROCESSOR.
If you are implementing the badi then make sure you copy all the methods
and implement the one, as mentioned. -
RoboHelp 9/10 Java Error Trying to Compile AIR Help Skin
I'm trying to save a custom skin for a RoboHelp 9 project on a Windows 7 64-bit PC using AIR Browser Based Help. When I try to save the skin, or compile it into a SWF, I get the following error:
Error loading: C:\Program Files\Java\jdk1.7.0_09\jre\bin\jvm.dll
The dll is located at that path. I tried running RoboHelp as Administrator. I tried editing a new skin with a new clean project and also with a downloaded trial of RoboHelp 10, and I got the same results. Has anyone seen this, or can anyone think of a fix?Hello hypericon_0090001,
Have you found any fix for this, as I am having the same problem. -
HT5642 Unable to download app this time error while downloading app please help!!!
when i download some app from apps store i get the following error
"Unable to download app this time error while downloading app" please help!!!
i ve tried these Things but
didnt workout yet
1) i tried hard reset
2)i tried logout/login Itune & appstore
3)Connected to pc and rest setting Network and Full Rest
all of no use... i dont want to update my softwre from IOS 6.0
Plx help!1Hey Prahaladvatsan,
Thanks for the question. If I understand correctly, there is a blank app icon on the home screen. It looks like you have already done some troubleshooting. I would recommend that you read these articles, they may be helpful in troubleshooting your issue.
Restart or reset your iPhone, iPad, or iPod touch - Apple Support
Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
Thanks for using Apple Support Communities.
Have a good one,
Mario -
Received HTTP response code 500 : Internal Server Error using connection Fi
Hi everybody,
I have configured a file-webservice-file without BPM scenario...as explained by Bhavesh in the following thread:
File - RFC - File without a BPM - Possible from SP 19.
I have used a soap adapter (for webservice) instead of rfc .My input file sends the date as request message and gets the sales order details from the webservice and then creates a file at my sender side.
I monitored the channels in the Runtime work bench and the error is in the sender ftp channel.The other 2 channel status is "not used" in RWB.
1 sender ftp channel
1 receiver soap channel
1 receiver ftp channel.
2009-12-16 15:02:00 Information Send binary file "b.xml" from ftp server "10.58.201.122:/", size 194 bytes with QoS EO
2009-12-16 15:02:00 Information MP: entering1
2009-12-16 15:02:00 Information MP: processing local module localejbs/AF_Modules/RequestResponseBean
2009-12-16 15:02:00 Information RRB: entering RequestResponseBean
2009-12-16 15:02:00 Information RRB: suspending the transaction
2009-12-16 15:02:00 Information RRB: passing through ...
2009-12-16 15:02:00 Information RRB: leaving RequestResponseBean
2009-12-16 15:02:00 Information MP: processing local module localejbs/CallSapAdapter
2009-12-16 15:02:00 Information The application tries to send an XI message synchronously using connection File_http://sap.com/xi/XI/System.
2009-12-16 15:02:00 Information Trying to put the message into the call queue.
2009-12-16 15:02:00 Information Message successfully put into the queue.
2009-12-16 15:02:00 Information The message was successfully retrieved from the call queue.
2009-12-16 15:02:00 Information The message status was set to DLNG.
2009-12-16 15:02:02 Error The message was successfully transmitted to endpoint com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Internal Server Error using connection File_http://sap.com/xi/XI/System.
2009-12-16 15:02:02 Error The message status was set to FAIL.
Please help.
thanks a lot
RamyaHi Suraj,
You are right.The webservice is not invoked.I see the same error in the sender channel and the receiver soap channel status is "never used".
2009-12-16 15:52:25 Information Send binary file "b.xml" from ftp server "10.58.201.122:/", size 194 bytes with QoS BE
2009-12-16 15:52:25 Information MP: entering1
2009-12-16 15:52:25 Information MP: processing local module localejbs/CallSapAdapter
2009-12-16 15:52:25 Information The application tries to send an XI message synchronously using connection File_http://sap.com/xi/XI/System.
2009-12-16 15:52:25 Information Trying to put the message into the call queue.
2009-12-16 15:52:25 Information Message successfully put into the queue.
2009-12-16 15:52:25 Information The message was successfully retrieved from the call queue.
2009-12-16 15:52:25 Information The message status was set to DLNG.
2009-12-16 15:52:27 Error The message was successfully transmitted to endpoint com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Internal Server Error using connection File_http://sap.com/xi/XI/System.
2009-12-16 15:52:27 Error The message status was set to FAIL.
what can I do about this?
thanks,
Ramya
Maybe you are looking for
-
Hi all, I want to connect webservice to R/3 .Here am getting input from Webservice like "empno" , so that If I choose SOAP to RFC synchronus ,then how would I get the input which is coming from webservice. Whether I want to use NWDS to perfo
-
Confirmed: 7.3.1 Firmware Tightens Disk Sharing Via Internet
My AEBS has a USB hard drive connected to it and shared out with password protection. With the 7.2.1 AEBS firmware, I could connect to this hard drive over the Internet by doing Go > Connect to Server > afp://ip.ip.ip.ip and clicking Connect. I'd the
-
Hello All, I am new to this forum and BPEL. I am a peoplesoft Technical Devloper. I like to know what is BPEL and how to use BPEL from peoplesoft perspecitve. Deos BPEL needs seperate license inorder to use in PeopleSoft. Please let me know. Thanks
-
Installed the CC updates yesterday. Downloaded pics from my Canon 70D in Camera Raw. Since the updates Bridge no longer recognizes them; advises me to get the latest update, which I have. Both Photoshop CC's recognize the pics, just not Bridge (thank
-
How do I correct % complete to show whole numbers, not two decimal places
I just installed version P6 6.2 on my laptop and restored a schedule. The percent complete is showing two decimal places for activities less than 100%. What I would like is to have whole percentages, e.i. 84%, not 83.76%. How do I correct this? I tho